standalone sx1276 demo program

Dependencies:   SX1276Lib mbed

Fork of SX1276_GPS by CaryCoders

Revision:
19:72c02acb601d
Parent:
17:731a47339cb8
Child:
20:93c70a1869ee
diff -r fae7e61ea160 -r 72c02acb601d main.cpp
--- a/main.cpp	Thu Aug 14 12:02:38 2014 +0000
+++ b/main.cpp	Thu Aug 14 12:06:47 2014 +0000
@@ -18,21 +18,20 @@
     MCP23017 cMCP23017 = MCP23017(I2C_SDA, I2C_SCL, 0x40, true);
     Adafruit_RGBLCDShield cLCD(cMCP23017);
     
-    RTclock cPrecisionClock(I2C_SDA, I2C_SCL);
-    RTclock cClock(D3, D6);
+    RTclock cClock(I2C_SDA, I2C_SCL);
+    //RTclock cClock(D3, D6);
 
     // Spin up RTC
-    cPrecisionClock.mapTime();
+    cClock.mapTime();
         
     // Set up display modules    
     Module * aModules[] =
     {
         new TitleModule(cLCD),
-        new TimeModule(cLCD,cPrecisionClock),
         new TimeModule(cLCD,cClock),
-        new DateModule(cLCD,cPrecisionClock),
+        new DateModule(cLCD,cClock),
         new TempModule(cLCD),
-        new SyncModule(cLCD,cPrecisionClock,cClock),
+        new SyncModule(cLCD,cClock),
     };
 
     // Set up the menu manager