Library for using the xbee-compatible Bluetooth Bee Module on an m3pi.
Dependencies: SensoryTest
Fork of btbee by
btbee.h
- Committer:
- ngoldin
- Date:
- 2013-05-16
- Revision:
- 2:12c38a710982
- Parent:
- 1:56f437e4d9e0
- Child:
- 3:ddeb620fb25e
File content as of revision 2:12c38a710982:
#include "mbed.h" #include "platform.h" #define FACTORY_BAUD 9600 #define DEFAULT_BAUD 115200 #define AT_BAUD 38400 class btbee: public Serial{ public: btbee(PinName respin, PinName tx, PinName rx); btbee(void); void reset(void); void at_baud(void); void factory_baud(void); void default_baud(void); int read_all(char*,const int, int*); protected: DigitalOut reset_out; };