/* Eeprom-r.c: Reads the data stored in the EEPROM. Compiler: BC++ 3.1, Turbo C ++ 1.01(3.01) (free from http://community.borland.com/museum) Compile mode: Large Project: Eeprom-r.c ..\..\lib\7188el.lib Hordware: 7188E Detail description: Following list is where the user should avoid to write to For 7188XA/B/C ==> block 7 For 7188E(Xserver) ==> block 0, 7 For 7188E-MTCP ==> block 0,1,2,3,7 For 8x1x ==> block 7 For 8x3x (Xserver) ==> block 0,7 For 8000E-MTCP ==> block 0,1,2,3,7 [05/Dec/2006] by Liam [July,13,2011] by Nicholas */ #include "..\..\lib\7188e.h" void main(void) { int i, j, addr=0, data; while(addr<256) { DelayMs(10); Print("\n\r The value writing to 1 block address %d of EEPROM is %d", addr, ReadEEP(1, addr)); addr++; if (addr%25==0) { Print("\n\rPress any key to continue..."); Getch(); } } }