rongyu lou / Mbed OS CarPakingSystem_V13

Dependencies:   HCSR04new SSH1106-alan

Embed: (wiki syntax)

« Back to documentation index

Show/hide line numbers handleTasks.h Source File

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