Important changes to repositories hosted on mbed.com
Mbed hosted mercurial repositories are deprecated and are due to be permanently deleted in July 2026.
To keep a copy of this software download the repository Zip archive or clone locally using Mercurial.
It is also possible to export all your personal repositories from the account settings page.
Dependencies: mbed mbed-rtos ShiftReg2 TextLCD
main.cpp
00001 #include "Setup.hpp" 00002 00003 void Control_Power_Function(){Control_Main();} 00004 void Serial_PC_Thread_Function(){SERIAL_PC_1.Main();} 00005 void Serial_Board_Thread_Function(){SERIAL_BOARD_1.Main();} 00006 int main() 00007 { 00008 //Thread starting 00009 Control_Post();//Power on self test 00010 Thread::wait(1000); 00011 Control_power_Thread.start(Control_Power_Function); 00012 Serial_PC_Thread.start(Serial_PC_Thread_Function); 00013 Serial_Board_Thread.start(Serial_Board_Thread_Function); 00014 00015 while(1) 00016 { 00017 Thread::signal_wait(1);//Sleep the main thread 00018 } 00019 }
Generated on Sun Jul 17 2022 08:28:43 by
1.7.2