Minimale Veränderungen in Btbee; Die Datenübertragung funktioniert nicht hunderprozentig, v.a. wenn mehrere Bytes übertragen werden.
Fork of btbee by
btbee.h@0:e7cb710c8900, 2013-05-16 (annotated)
- Committer:
- ngoldin
- Date:
- Thu May 16 10:24:06 2013 +0000
- Revision:
- 0:e7cb710c8900
- Child:
- 1:56f437e4d9e0
first commit. ;
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 | 0:e7cb710c8900 | 9 | |
ngoldin | 0:e7cb710c8900 | 10 | protected: |
ngoldin | 0:e7cb710c8900 | 11 | DigitalOut reset_out; |
ngoldin | 0:e7cb710c8900 | 12 | }; |