Example solution of rapid polling (with C++)
Fork of Task330_polling by
Diff: main.cpp
- Revision:
- 2:4cf6f5cba257
- Parent:
- 1:e84a51c98d75
--- a/main.cpp Mon Oct 23 09:47:16 2017 +0000 +++ b/main.cpp Wed Sep 18 10:54:46 2019 +0000 @@ -5,10 +5,6 @@ #define RELEASED 0 #define PRESSED 1 -//Function prototypes -void task1(); -void task2(); - //Hardware objects DigitalOut red_led(PE_15); //CountUp is in its critical section DigitalOut yellow_led(PB_10); //CountDown is in its critical section
