Solution to the blocking task - do not expect this to work well however!
Fork of Task330_blocking by
demo-self-test.hpp
- Committer:
- noutram
- Date:
- 2019-09-18
- Revision:
- 6:2050203fd22b
File content as of revision 6:2050203fd22b:
#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
