xbee_lib from Tristan Hughes with some changes by zac dannelly
Dependents: potSend potGet serialRangeGet
Fork of xbee_lib by
Diff: xbee.h
- Revision:
- 7:ea7028edb762
- Parent:
- 4:ede20c047d8b
--- a/xbee.h Wed Aug 29 14:34:53 2012 +0000 +++ b/xbee.h Sun Feb 15 16:37:05 2015 +0000 @@ -70,6 +70,11 @@ * @param numchar Number of characters to read. If 0, will use the size of data_buf. */ void RecieveData(char*, int); + /** Recieves data sent to the xbee. + * @param data_buf Pointer to the buffer to put recieved data into. + * @param char character to end the transmission on. + */ + void RecieveDataChar(char*, char); /** Resets the Xbee. */ void Reset();