![](/media/cache/group/default_image.jpg.50x50_q85.jpg)
Added the pin outs
Dependencies: mbed mbed-rtos ShiftReg TextLCD
Diff: main.cpp
- Revision:
- 6:347c1f441b94
- Parent:
- 5:20decc99e50c
--- a/main.cpp Thu Apr 11 11:51:16 2019 +0000 +++ b/main.cpp Thu Apr 11 18:12:31 2019 +0000 @@ -1,10 +1,11 @@ #include "Setup.hpp" -DigitalOut myled(PC_13);//Needed to access definition of the led from the main + 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(){while(1){myled = !myled; Thread::wait(1000);}}//Blink an onboard LED to signal the board is operational +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 @@ -13,6 +14,7 @@ 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