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.
main.cpp
- Committer:
- Huazhi
- Date:
- 2015-11-27
- Revision:
- 0:6477530de2c0
File content as of revision 0:6477530de2c0:
#include "GlobalVar.h" #include "AMachine.h" #include "VMachine.h" #include "VRP.h" #include "PVARP.h" int main() { /*start timer */ RtosTimer global_timer = RtosTimer(tick_timer, osTimerPeriodic, (void *)0); global_timer.start(1); initTrans(); Thread t1(AMachine, (void *)1); Thread t2(VMachine, (void *)2); Thread t3(VRP, (void *)3); Thread t4(PVARP, (void *)4); while(1); }