![](/media/cache/group/default_image.jpg.50x50_q85.jpg)
PROJ515-MASTER-No-PWM
Dependencies: mbed mbed-rtos ShiftReg2 TextLCD
Diff: Serial/Serial_Board.hpp
- Revision:
- 4:020f93d35f6e
--- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/Serial/Serial_Board.hpp Tue May 07 21:55:57 2019 +0000 @@ -0,0 +1,33 @@ +#ifndef _SERIAL_Board_HPP_ +#define _SERIAL_Board_HPP_ + +#include "mbed.h" +#include "rtos.h" + +#include "Serial_PC.hpp" + +class SERIAL_BOARD +{ + public://Public member functions and variables + + SERIAL_BOARD(); + ~SERIAL_BOARD(); + void Init(); + int Post(); + void Main(); + //Public Functions + + + private://Private member functions and variables + int _POST_Value; + int _Received_Data; + int _Output_Data; + + //Mutex Locks + Mutex _POST_Value_Mutex; + Mutex _Received_Data_Mutex; + Mutex _Output_Data_Mutex; +}; + + +#endif //_SERIAL_BOARD_HPP_ \ No newline at end of file