Simple library for LED blinking.
Dependents: roam_v2 finalV1 finalV1 finalv2 ... more
Diff: Blinker.h
- Revision:
- 0:c9a302c4bed9
- Child:
- 1:ea5bb72717cc
diff -r 000000000000 -r c9a302c4bed9 Blinker.h --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/Blinker.h Tue Dec 16 08:57:47 2014 +0000 @@ -0,0 +1,14 @@ +#ifndef MBED_BLINKER_H_TB +#define MBED_BLINKER_H_TB + +#include "mbed.h" + +class Blinker { +private: + DigitalOut myled; +public: + Blinker(PinName pin); + void blink(int n, float t = 0.2); +}; + +#endif \ No newline at end of file