zzz

Dependencies:   C12832_lcd ConfigFile LM75B WiflyInterface2 mbed-rtos mbed

Fork of Xbee_Hello_World_B by Tristan Hughes

Files at this revision

API Documentation at this revision

Comitter:
kingkingyyk
Date:
Fri Sep 16 15:36:31 2016 +0000
Parent:
1:15d917484a8d
Child:
3:623e2b67ebaa
Commit message:
Removed SaveConfig

Changed in this revision

main.cpp Show annotated file Show diff for this revision Revisions of this file
xbee_lib.lib Show annotated file Show diff for this revision Revisions of this file
--- a/main.cpp	Fri Sep 16 07:34:22 2016 +0000
+++ b/main.cpp	Fri Sep 16 15:36:31 2016 +0000
@@ -32,12 +32,9 @@
     lcd.printf("Start Xbee Setup\n");
     xbee1.Reset();
     xbee1.ConfigMode();
+    xbee1.ResetConfig();
     xbee1.SetPanId(123);
-    int mac [8];
-    xbee1.GetSerial(mac);
-    xbee1.WriteSettings();
     xbee1.ExitConfigMode();
-    lcd.printf("%d %d %d %d %d %d %d %d\n",mac[0],mac[1],mac[2],mac[3],mac[4],mac[5],mac[6],mac[7]);
     lcd.printf("Done Setup!\n");
 }
 
--- a/xbee_lib.lib	Fri Sep 16 07:34:22 2016 +0000
+++ b/xbee_lib.lib	Fri Sep 16 15:36:31 2016 +0000
@@ -1,1 +1,1 @@
-http://mbed.org/users/tristanjph/code/xbee_lib/#6455a079bdb3
+http://mbed.org/users/tristanjph/code/xbee_lib/#81b7110f5877