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.
Dependents: IOT_sensor_nfc Xbee_Hello_world Xbee_Hello_world_A Xbee_Hello_World_B ... more
Revision 6:6455a079bdb3, committed 2012-08-31
- Comitter:
- tristanjph
- Date:
- Fri Aug 31 15:48:55 2012 +0000
- Parent:
- 5:714651141a83
- Commit message:
- Documentation update
Changed in this revision
| xbee.cpp | Show annotated file Show diff for this revision Revisions of this file |
| xbee.h | Show annotated file Show diff for this revision Revisions of this file |
--- a/xbee.cpp Fri Aug 31 15:46:34 2012 +0000
+++ b/xbee.cpp Fri Aug 31 15:48:55 2012 +0000
@@ -133,10 +133,10 @@
void xbee::Reset()
{
- DigitalOut rssi(_reset);
- rssi = 0;
+ DigitalOut rst(_reset);
+ rst = 0;
wait_ms(10);
- rssi = 1;
+ rst = 1;
wait_ms(1);
}
--- a/xbee.h Fri Aug 31 15:46:34 2012 +0000
+++ b/xbee.h Fri Aug 31 15:48:55 2012 +0000
@@ -41,7 +41,7 @@
* @return Returns 1 on success.
*/
int GetSerial(int*);
- /** Sets the encryption key to the one stored in security_key.
+ /** Sets the encryption key. This should be a 128-bit key.
* @param key Pointer to the network key to set.
* @return Returns 1 on success.
*/
Xbee Pro
Seeed XBee Shield V2.0