Treehouse Mbed Team / Mbed 2 deprecated APS_DCM1SL

Dependencies:   mbed

Revision:
44:741ee27c8a34
Parent:
42:3ae73b61f657
Child:
46:0de65f1bd714
--- a/inc/globals.h	Sat Mar 09 21:16:38 2019 +0000
+++ b/inc/globals.h	Sat Mar 09 22:32:40 2019 +0000
@@ -91,4 +91,12 @@
 
 extern void processCommand(void);
 
+#define I2C_MASTER 0x70
+#define I2C_SLAVE1 0x71
+#define I2C_SLAVE2 0x72
+#define myI2Caddress I2C_MASTER
+
+const unsigned short i2c_addr_slave1 = I2C_SLAVE1 << 1;
+const unsigned short i2c_addr_slave2 = I2C_SLAVE2 << 1;
+
 #endif