diff options
-rw-r--r-- | src/app/i2cbench/main.cc | 6 |
1 files changed, 2 insertions, 4 deletions
diff --git a/src/app/i2cbench/main.cc b/src/app/i2cbench/main.cc index 5825c0b..c9c2b70 100644 --- a/src/app/i2cbench/main.cc +++ b/src/app/i2cbench/main.cc @@ -44,11 +44,9 @@ void loop(void) kout << endl; #endif #ifdef DRIVER_EEPROM24LC64 - char buf[33]; static unsigned short page = 0; - eeprom24lc64.readPage(page, buf); - buf[32] = '\0'; - kout << "Address " << page << ": " << buf << endl; + eeprom24lc64.writePage(page, "Hello, World! Und so weiter, lol"); + kout << "Address " << page << endl; page = (page + 32) % (256*32); #endif #ifdef DRIVER_MMSIMPLE |