CaryCoders / Mbed 2 deprecated demo_SX1276_standalone

Dependencies:   SX1276Lib mbed

Fork of SX1276_GPS by CaryCoders

Files at this revision

API Documentation at this revision

Comitter:
vtraveller
Date:
Wed Sep 03 06:23:04 2014 +0000
Parent:
22:dd8197db4478
Child:
24:e67c825ec6d8
Commit message:
Changed RTclock constructor

Changed in this revision

RTclock.lib Show annotated file Show diff for this revision Revisions of this file
main.cpp Show annotated file Show diff for this revision Revisions of this file
--- a/RTclock.lib	Wed Sep 03 06:01:27 2014 +0000
+++ b/RTclock.lib	Wed Sep 03 06:23:04 2014 +0000
@@ -1,1 +1,1 @@
-http://mbed.org/users/vtraveller/code/RTclock/#9e7a91c34083
+http://mbed.org/users/vtraveller/code/RTclock/#1ccadbd4c1bd
--- 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();