24LCXXX I2C eeprom library
Fork of _24LCXXX by
Diff: _24LCXXX.h
- Revision:
- 1:c2bb7538cb69
- Parent:
- 0:859387a87312
- Child:
- 2:81497827f2ee
--- a/_24LCXXX.h Fri Dec 06 09:34:38 2013 +0000 +++ b/_24LCXXX.h Mon Feb 23 02:47:46 2015 +0000 @@ -43,7 +43,7 @@ /* define ------------------------------------------------------------------- */ #define I2C_ADDR_24LCXXX 0x50 -#define __24LC256__ +#define __24LC512__ #if defined(__24LC64__) #define MAXADR_24LCXXX 8192 @@ -60,6 +60,11 @@ #define PAGE_SIZE_24LCXXX 64 #endif +#if defined(__24LC512__) +#define MAXADR_24LCXXX 65536 +#define PAGE_SIZE_24LCXXX 128 +#endif + /* macro -------------------------------------------------------------------- */ /* variables ---------------------------------------------------------------- */ /* class -------------------------------------------------------------------- */