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: HCSR04new SSH1106-alan
handleTasks.h
00001 #ifndef HandleTasks_H 00002 #define HandleTasks_H 00003 00004 #include "mbed.h" 00005 #include "platform/mbed_thread.h" 00006 #include "Thread_Handle.h" 00007 #include "HCSR04.h" 00008 #include "rtc.h" 00009 #define carIn 1 00010 #define carOut 2 00011 #define carOverSpeed_in 3 00012 #define carHeadback_in 4 00013 #define carOverSpeed_out 5 00014 #define carHeadback_out 6 00015 #define wrong 88 00016 00017 #define nothing 0 00018 00019 void carState_check_in(); 00020 void carState_check_out(); 00021 int get_carStage_in(); 00022 int get_carStage_out(); 00023 void display_carState_in(); 00024 void display_carState_out(); 00025 void countCarnum(); 00026 void oled_carStateDisplay(); 00027 00028 extern int carNum; 00029 extern int carState; //car state 00030 00031 #endif
Generated on Wed Jul 27 2022 08:19:38 by
