tristanjph with include guard
Fork of xbee_lib by
Diff: xbee.cpp
- Revision:
- 5:714651141a83
- Parent:
- 4:ede20c047d8b
- Child:
- 6:6455a079bdb3
--- a/xbee.cpp Wed Aug 29 14:34:53 2012 +0000 +++ b/xbee.cpp Fri Aug 31 15:46:34 2012 +0000 @@ -68,14 +68,14 @@ return 1; } -int xbee::SetKey(int* key) +int xbee::SetKey(char* key) { Serial DATA(_tx,_rx); DATA.printf("ATEE 1 \r"); DATA.scanf ("%*s"); wait_ms(1); - DATA.printf("ATKY %x \r",key); + DATA.printf("ATKY %s \r",key); DATA.scanf ("%*s"); return 1; }