![](/media/cache/profiles/bf201d5407a6509fa536afc4b380577e.50x50_q85.jpg)
Sample program for XBee remote API operation. This program get ADC sample data from remote XBee connected over the radio
Revision 1:3b74123e6d7a, committed 2010-12-12
- Comitter:
- todotani
- Date:
- Sun Dec 12 07:38:03 2010 +0000
- Parent:
- 0:6e92a52f1a08
- Commit message:
Changed in this revision
XBee.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 |
diff -r 6e92a52f1a08 -r 3b74123e6d7a XBee.lib --- a/XBee.lib Sun Dec 12 04:45:05 2010 +0000 +++ b/XBee.lib Sun Dec 12 07:38:03 2010 +0000 @@ -1,1 +1,1 @@ -http://mbed.org/users/okini3939/code/XBee/#547cfff7adf7 +http://mbed.org/users/okini3939/code/XBee/#c4ca662ef73e
diff -r 6e92a52f1a08 -r 3b74123e6d7a main.cpp --- a/main.cpp Sun Dec 12 04:45:05 2010 +0000 +++ b/main.cpp Sun Dec 12 07:38:03 2010 +0000 @@ -70,7 +70,7 @@ uint8_t start = 4; // Contains Digital channel? - if (FrameData[1] > 0 || FrameData[2]) { + if (FrameData[1] > 0 || FrameData[2] > 0) { // make room for digital i/o start+=2; }