dd
Dependencies: BufferedSerial FastAnalogIn FastPWM mbed SHT75
commandt.h
- Committer:
- sbh9428
- Date:
- 2016-07-11
- Revision:
- 10:c751a0e8b7f9
- Parent:
- 1:5c42ec7f1aeb
File content as of revision 10:c751a0e8b7f9:
/* * 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(); void refreshPWM(); 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_ */