![](/media/cache/group/default_image.jpg.50x50_q85.jpg)
PROJ515-MASTER-No-PWM
Dependencies: mbed mbed-rtos ShiftReg2 TextLCD
Serial/Serial_PC.hpp@5:dbb984e01ded, 2019-05-08 (annotated)
- Committer:
- thomasmorris
- Date:
- Wed May 08 09:39:42 2019 +0000
- Revision:
- 5:dbb984e01ded
- Parent:
- 4:020f93d35f6e
Working code not PWM;
Who changed what in which revision?
User | Revision | Line number | New contents of line |
---|---|---|---|
thomasmorris | 4:020f93d35f6e | 1 | #ifndef _SERIAL_PC_HPP_ |
thomasmorris | 4:020f93d35f6e | 2 | #define _SERIAL_PC_HPP_ |
thomasmorris | 4:020f93d35f6e | 3 | |
thomasmorris | 4:020f93d35f6e | 4 | #include "mbed.h" |
thomasmorris | 4:020f93d35f6e | 5 | #include "rtos.h" |
thomasmorris | 4:020f93d35f6e | 6 | #include "Interface.hpp" |
thomasmorris | 4:020f93d35f6e | 7 | |
thomasmorris | 4:020f93d35f6e | 8 | extern int Logging; |
thomasmorris | 4:020f93d35f6e | 9 | class SERIAL_PC |
thomasmorris | 4:020f93d35f6e | 10 | { |
thomasmorris | 4:020f93d35f6e | 11 | public://Public member functions and variables |
thomasmorris | 4:020f93d35f6e | 12 | |
thomasmorris | 4:020f93d35f6e | 13 | SERIAL_PC(); |
thomasmorris | 4:020f93d35f6e | 14 | ~SERIAL_PC(); |
thomasmorris | 4:020f93d35f6e | 15 | void Init(); |
thomasmorris | 4:020f93d35f6e | 16 | int Post(); |
thomasmorris | 4:020f93d35f6e | 17 | void Main(); |
thomasmorris | 4:020f93d35f6e | 18 | //Public Functions |
thomasmorris | 4:020f93d35f6e | 19 | |
thomasmorris | 4:020f93d35f6e | 20 | |
thomasmorris | 4:020f93d35f6e | 21 | private://Private member functions and variables |
thomasmorris | 4:020f93d35f6e | 22 | char _buffer[32];//Character buffer for the serial data to be stored within |
thomasmorris | 4:020f93d35f6e | 23 | |
thomasmorris | 4:020f93d35f6e | 24 | |
thomasmorris | 4:020f93d35f6e | 25 | }; |
thomasmorris | 4:020f93d35f6e | 26 | |
thomasmorris | 4:020f93d35f6e | 27 | |
thomasmorris | 4:020f93d35f6e | 28 | #endif //_SERIAL_PC_HPP_ |