![](/media/cache/group/default_image.jpg.50x50_q85.jpg)
Skeleton code. LCD, Serial, Feedback, MOSFETS
Dependencies: mbed mbed-rtos ShiftReg2 TextLCD
Diff: Control/Control.hpp
- Revision:
- 4:020f93d35f6e
--- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/Control/Control.hpp Tue May 07 21:55:57 2019 +0000 @@ -0,0 +1,32 @@ +#ifndef _CONTROL_HPP_ +#define _CONTROL_HPP_ + +#include "mbed.h" +#include "rtos.h" + + +#include "Post.hpp" +#include "Interface.hpp" +#include "Post.hpp" +#include "Schedules.hpp" +#include "Feedback.hpp" +#include "Serial_PC.hpp" +#include "Serial_Board.hpp" +#include "ShiftReg.h" + +extern ShiftReg SR; //data, store, clock, output enable +extern DigitalOut myled; //Onboard LED + +//Class instances +extern INTERFACE INTERFACE_1; +extern SCHEDULES SCHEDULES_1; +extern FEEDBACK FEEDBACK_1; +extern SERIAL_PC SERIAL_PC_1; +extern SERIAL_BOARD SERIAL_BOARD_1; + + +void Control_Main(); +void Control_Shift_Regs(uint16_t Selection, int PWM); +void Control_Post(); +void Control_Sensing(); +#endif //_CONTROL_HPP_ \ No newline at end of file