APP Team
/
app2
...
main.h
- Committer:
- passelin
- Date:
- 2014-01-28
- Revision:
- 3:cd25d0efe0e1
- Child:
- 4:7d6b46b40fba
File content as of revision 3:cd25d0efe0e1:
#ifndef MAIN_H #define MAIN_H #include "mbed.h" #include "rtos.h" #define NUM_DELAY 100 #define ANN_DELAY 250 #define ANN_THRESOLD 125 #define SWITCH_1 0 #define SWITCH_2 1 #define POT_1 2 #define POT_2 3 struct Event { short type; time_t time; }; typedef Event Event_t; void NumEvent_thread(void const *args); void AnnEvent_thread(void const *args); void Collector_thread(void const *args); #endif //MAIN_H