/* Eeprom-r.c: Reading the data you writing to EEPROM. Compiler: MSC 6.0, MSVC 1.52. Compile mode: Large Project: Eeprom-r.c ..\lib\7188el.lib Hordware: 7188E with Eeprom. 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 [30/Jan/2007] by Liam [Aug,4,2011] by Nicholas */ #include #include #include #include #include #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(); } } }