Important changes to repositories hosted on mbed.com
Mbed hosted mercurial repositories are deprecated and are due to be permanently deleted in July 2026.
To keep a copy of this software download the repository Zip archive or clone locally using Mercurial.
It is also possible to export all your personal repositories from the account settings page.
Dependencies: BufferedSerial FastPWM mbed
commandt.h
00001 /* 00002 * commandt.h 00003 * 00004 * Created on: 2016. 2. 19. 00005 * Author: sbh9428 00006 */ 00007 00008 #ifndef COMMANDT_H_ 00009 #define COMMANDT_H_ 00010 00011 #include "BufferedSerial.h" 00012 #include "controlt.h" 00013 00014 class command_t { 00015 public: 00016 void clear_data(); 00017 void parse(); 00018 void get_data(); 00019 double asci_to_bin(int *start); 00020 00021 command_t(); 00022 command_t(BufferedSerial* _pc, control_t* _control); 00023 virtual ~command_t(); 00024 private: 00025 int count; 00026 int data[30]; 00027 int time; 00028 00029 BufferedSerial *pc; 00030 control_t *control; 00031 }; 00032 00033 00034 #endif /* COMMANDT_H_ */ 00035 00036
Generated on Fri Jul 15 2022 04:27:40 by
1.7.2