Klasa za upravljanje LED diodom
Diff: Flasher.h
- Revision:
- 0:93d73c414233
--- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/Flasher.h Thu Jun 11 22:26:24 2020 +0000 @@ -0,0 +1,15 @@ +#ifndef MBED_FLASHER_H +#define MBED_FLASHER_H + +#include "mbed.h" + +class Flasher { +public: + Flasher(PinName pin); + void flash(int n); + +private: + DigitalOut _pin; +}; + +#endif \ No newline at end of file