tristanjph with include guard
Fork of xbee_lib by
Diff: xbee.cpp
- Revision:
- 6:6455a079bdb3
- Parent:
- 5:714651141a83
diff -r 714651141a83 -r 6455a079bdb3 xbee.cpp --- 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); }