HAHA
Dependencies: WebSocketClient mbed
Diff: trame.cpp
- Revision:
- 2:7515831bb5f5
- Child:
- 3:350f07072089
--- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/trame.cpp Mon Feb 24 14:08:10 2014 +0000 @@ -0,0 +1,13 @@ +#include "trame.hpp" + +Trame::Trame(PinName _tx, PinName _rx) : + tx(_tx), + rx(_rx) +{ +} + +void Trame::sendATCommand(const char* command, int data) +{ + Serial xbee(tx, rx); + xbee.putc(0x10); +} \ No newline at end of file