Library for using the xbee-compatible Bluetooth Bee Module on an m3pi.
Dependencies: SensoryTest
Fork of btbee by
btbee.h@1:56f437e4d9e0, 2013-05-16 (annotated)
- Committer:
- ngoldin
- Date:
- Thu May 16 12:09:30 2013 +0000
- Revision:
- 1:56f437e4d9e0
- Parent:
- 0:e7cb710c8900
- Child:
- 2:12c38a710982
fixed;
Who changed what in which revision?
User | Revision | Line number | New contents of line |
---|---|---|---|
ngoldin | 0:e7cb710c8900 | 1 | #include "mbed.h" |
ngoldin | 0:e7cb710c8900 | 2 | #include "platform.h" |
ngoldin | 0:e7cb710c8900 | 3 | |
ngoldin | 0:e7cb710c8900 | 4 | class btbee: public Serial{ |
ngoldin | 0:e7cb710c8900 | 5 | public: |
ngoldin | 0:e7cb710c8900 | 6 | btbee(PinName respin, PinName tx, PinName rx); |
ngoldin | 0:e7cb710c8900 | 7 | btbee(void); |
ngoldin | 0:e7cb710c8900 | 8 | void reset(void); |
ngoldin | 1:56f437e4d9e0 | 9 | int read_all(char*,const int, int*); |
ngoldin | 0:e7cb710c8900 | 10 | |
ngoldin | 0:e7cb710c8900 | 11 | protected: |
ngoldin | 0:e7cb710c8900 | 12 | DigitalOut reset_out; |
ngoldin | 0:e7cb710c8900 | 13 | }; |