Added the pin outs
Dependencies: mbed mbed-rtos ShiftReg TextLCD
main.cpp
- Committer:
- thomasmorris
- Date:
- 2019-05-06
- Revision:
- 7:d0159f675b30
- Parent:
- 6:347c1f441b94
File content as of revision 7:d0159f675b30:
#include "Setup.hpp" void Serial_Function(){INTERFACE_1.Serial();}//Written inside the interface class and Serial function void LCD_Function(){INTERFACE_1.LCD();}//LCD output void Onboard_Led(){}//Blink an onboard LED to signal the board is operational void Schedules_Function(){SCHEDULES_1.Schedules_output();}//Output shcedules data void Feedback_Function(){FEEDBACK_1.Test();}//Opperate feedback function int main() { POST();//Run Power on self test //Thread Start up Serial_Thread.start(Serial_Function); LCD_Thread.start(LCD_Function); LED_Thread.start(Onboard_Led); Schedules_Thread.start(Schedules_Function); Feedback_Thread.start(Feedback_Function); while(1) { Thread::signal_wait(1);//Sleep the main thread } }