Minor change.
Dependents: nanoNucleo_Serial-Bluetooth_test
Fork of HC-05 by
HC05.h
- Committer:
- Kio_Liex
- Date:
- 2016-03-09
- Revision:
- 3:18a71e6ed851
- Parent:
- 1:703352bac629
File content as of revision 3:18a71e6ed851:
#ifndef _HC05_H_ #define _HC05_H_ #include "mbed.h" #define SOP 's' #define EOP 'e' class HC05 { Serial myBT; int index; char btData[20]; char btChar; bool started; bool ended; public: HC05(PinName tx, PinName rx); bool getValue(int16_t* xVal, int16_t* yVal, int16_t* cVal); }; #endif /* _HC05_H_ */