test program to power up two MAX11410 ADCs and check the inputs of ADC1. Uses MAX11410 library.

Dependencies:   MAX11410 mbed

Revision:
4:c194858fe0c6
Parent:
3:42120705a9bd
Child:
5:d7b803aa9079
--- a/main.cpp	Fri Nov 11 23:24:33 2016 +0000
+++ b/main.cpp	Fri Nov 18 20:25:57 2016 +0000
@@ -22,7 +22,7 @@
     for (int address=0; address<256; address+=2) {
         bool temp = i2c.write(address, NULL, 0); // 0 if successful, otherwise non-zero
         if (!temp && (address >> 1) != 0) { // not interested in address 0
-            printf(" - I2C device found at address 0x%02X\n", address >> 1);
+            printf(" - I2C device found at address 0x%02X (7 bit - Arduino) or 0x%02X (8 bit - mbed)\n", address >> 1, address);
             count++;
         }
     }