Moet een fork maken voor een of andere reden

Dependencies:   ADS1015 mbed

Files at this revision

API Documentation at this revision

Comitter:
MockyBirdTwo
Date:
Wed May 16 11:13:10 2018 +0000
Parent:
10:5a0bad3fb422
Child:
12:c0a99de7c6d3
Commit message:
EEPROM test

Changed in this revision

main.cpp Show annotated file Show diff for this revision Revisions of this file
--- a/main.cpp	Wed May 16 11:06:40 2018 +0000
+++ b/main.cpp	Wed May 16 11:13:10 2018 +0000
@@ -42,6 +42,9 @@
 string EEPROM_read(){
     char EEPROM_dat[EE_len];
     i2c.read(EEPROM_adr,EEPROM_dat,EE_len);
+    for (uint8_t k = 0; k < EE_len; ++k) {
+            usb_serial.printf("EEPROMdata %d = %d\n",k, EEPROM_dat[k]);  
+        }
     return EEPROM_dat;
 }