Example solution of rapid polling (with C++)
Fork of Task330_polling by
Revision 2:4cf6f5cba257, committed 2019-09-18
- Comitter:
- noutram
- Date:
- Wed Sep 18 10:54:46 2019 +0000
- Parent:
- 1:e84a51c98d75
- Commit message:
- 2019
Changed in this revision
--- 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
--- a/mbed-os.lib Mon Oct 23 09:47:16 2017 +0000 +++ b/mbed-os.lib Wed Sep 18 10:54:46 2019 +0000 @@ -1,1 +1,1 @@ -https://github.com/ARMmbed/mbed-os/#6e0d01cd13e8aca7bf4d697c3699ec9225386881 +https://github.com/ARMmbed/mbed-os/#1bf6b20df9d3cd5f29f001ffc6f0d0fcbbb96118
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/mbed_app.json Wed Sep 18 10:54:46 2019 +0000
@@ -0,0 +1,3 @@
+{
+ "requires": ["bare-metal"]
+}
\ No newline at end of file
