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.h
00001 #ifndef MAIN_H 00002 #define MAIN_H 00003 00004 #include "mbed.h" 00005 #include "rtos.h" 00006 00007 #define NUM_DELAY 100 00008 #define ANN_DELAY 250 00009 #define ANN_THRESOLD 125 00010 00011 #define SWITCH_1 0 00012 #define SWITCH_2 1 00013 #define POT_1 2 00014 #define POT_2 3 00015 00016 00017 struct Event 00018 { 00019 short type; 00020 time_t time; 00021 }; 00022 00023 typedef Event Event_t; 00024 00025 void NumEvent_thread(void const *args); 00026 void AnnEvent_thread(void const *args); 00027 void Collector_thread(void const *args); 00028 00029 #endif //MAIN_H
Generated on Wed Jul 13 2022 03:00:04 by
1.7.2