Digi International Inc. / Mbed 2 deprecated XBee802_dio_adc_pwm

Dependencies:   XBeeLib mbed

Files at this revision

API Documentation at this revision

Comitter:
spastor
Date:
Fri May 08 11:51:20 2015 +0200
Parent:
1:7a75ab5e7485
Child:
3:bc0f2c0a9b92
Commit message:
Automatic upload

Changed in this revision

XBeeLib.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/XBeeLib.lib	Tue May 05 18:28:30 2015 +0200
+++ b/XBeeLib.lib	Fri May 08 11:51:20 2015 +0200
@@ -1,1 +1,1 @@
-http://developer.mbed.org/teams/Digi-International-Inc/code/XBeeLib/#9d47bb6abe69
+http://developer.mbed.org/teams/Digi-International-Inc/code/XBeeLib/#fcaad0dfa051
--- a/main.cpp	Tue May 05 18:28:30 2015 +0200
+++ b/main.cpp	Fri May 08 11:51:20 2015 +0200
@@ -22,6 +22,8 @@
 // TODO Replace with the LSB of the remote module's 64-bit address (SL parameter)
 #define REMOTE_NODE_ADDR64_LSB  ((uint32_t)0x40D2B03E)
 
+#define REMOTE_NODE_ADDR64      UINT64(REMOTE_NODE_ADDR64_MSB, REMOTE_NODE_ADDR64_LSB)
+
 using namespace XBeeLib;
 
 Serial *log_serial;
@@ -42,7 +44,7 @@
     RadioStatus radioStatus = xbee.init();
     MBED_ASSERT(radioStatus == Success);
 
-    const RemoteXBee802 remoteDevice = RemoteXBee802(Addr64(REMOTE_NODE_ADDR64_MSB, REMOTE_NODE_ADDR64_LSB));
+    const RemoteXBee802 remoteDevice = RemoteXBee802(REMOTE_NODE_ADDR64);
 
     radioStatus = xbee.set_pin_config(remoteDevice, XBee802::DIO3_AD3, DigitalInput);
     MBED_ASSERT(radioStatus == Success);