CaryCoders / Mbed 2 deprecated SX1276_GPS

Dependencies:   SX1276Lib AdaFruit_RGBLCD MCP23017 mbed

Fork of AdaFruit_RGBLCD by Justin Howard

Revision:
23:94d2f0d62247
Parent:
22:dd8197db4478
Child:
25:24654d08a99a
--- a/main.cpp	Wed Sep 03 06:01:27 2014 +0000
+++ b/main.cpp	Wed Sep 03 06:23:04 2014 +0000
@@ -19,13 +19,13 @@
     I2C cI2C(I2C_SDA, I2C_SCL);    // D3, D6
     cI2C.frequency(400000);    // I2C can handle two different frequencies - switch to high speed if asked
     
-    MCP23017 cMCP23017(cI2C, 0x40);
-    //MCP23017 cMCP23017(cI2C, 0x4E, true);
+    MCP23017 cMCP23017(cI2C, 0x20 << 1);
+    //MCP23017 cMCP23017(cI2C, 0x27 << 1, true);
     
     Adafruit_RGBLCDShield cLCD(cMCP23017);
     //Adafruit_RGBLCDShield cLCD(cMCP23017,1<<0,1<<1, 1<< 2, 1<<4, 1<<5, 1<<6, 1<<7);
     
-    RTclock cClock(cI2C, RTclock::eDS3231);
+    RTclock cClock(cI2C, 0x68 << 1, RTclock::eDS3231);
 
     // Spin up RTC
     cClock.mapTime();