Solution to the blocking task - do not expect this to work well however!

Fork of Task330_blocking by University of Plymouth - Stages 1, 2 and 3

Revision:
6:2050203fd22b
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/demo-self-test.hpp	Wed Sep 18 10:49:18 2019 +0000
@@ -0,0 +1,17 @@
+#ifndef __DEMO_SELF_TEST__
+#define __DEMO_SELF_TEST__
+
+#include "mbed.h"
+extern void POST();
+
+//Hardware objects
+extern DigitalOut red_led;     //CountUp is in its critical section
+extern DigitalOut yellow_led;  //CountDown is in its critical section
+extern DigitalOut green_led;   //counter != 0
+extern DigitalOut onboardLED;
+
+extern DigitalIn button;
+extern DigitalIn sw1;
+extern DigitalIn sw2;
+
+#endif
\ No newline at end of file