![](/media/cache/img/default_profile.jpg.50x50_q85.jpg)
zzz
Dependencies: C12832_lcd ConfigFile LM75B WiflyInterface2 mbed-rtos mbed
Fork of Xbee_Hello_World_B by
Diff: main.cpp
- Revision:
- 2:ae1a5862504b
- Parent:
- 1:15d917484a8d
- Child:
- 3:623e2b67ebaa
diff -r 15d917484a8d -r ae1a5862504b main.cpp --- 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"); }