Important changes to repositories hosted on mbed.com
Mbed hosted mercurial repositories are deprecated and are due to be permanently deleted in July 2026.
To keep a copy of this software download the repository Zip archive or clone locally using Mercurial.
It is also possible to export all your personal repositories from the account settings page.
Dependencies: C12832_lcd ConfigFile LM75B WiflyInterface mbed-rtos mbed
Fork of Xbee_Hello_World_B by
Diff: main.cpp
- Revision:
- 2:ae1a5862504b
- Parent:
- 1:15d917484a8d
- Child:
- 3:12afbbb4b29d
--- 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");
}
