![](/media/cache/img/default_profile.jpg.50x50_q85.jpg)
111
Dependencies: BufferedSerial FastPWM mbed
commandt.h
- Committer:
- sbh9428
- Date:
- 2016-04-12
- Revision:
- 0:f3108add3d98
File content as of revision 0:f3108add3d98:
/* * commandt.h * * Created on: 2016. 2. 19. * Author: sbh9428 */ #ifndef COMMANDT_H_ #define COMMANDT_H_ #include "BufferedSerial.h" #include "controlt.h" class command_t { public: void clear_data(); void parse(); void get_data(); double asci_to_bin(int *start); command_t(); command_t(BufferedSerial* _pc, control_t* _control); virtual ~command_t(); private: int count; int data[30]; int time; BufferedSerial *pc; control_t *control; }; #endif /* COMMANDT_H_ */