.
Diff: led.h
- Revision:
- 0:324f895054e0
--- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/led.h Tue Apr 06 08:24:02 2021 +0000 @@ -0,0 +1,15 @@ +#ifndef MBED_LED_H +#define MBED_LED_H +#include "mbed.h" + +//Klasa za LED koja odreduje funkcije za promjenu stanja +class LED +{ +public: + LED(PinName pin); + void stanje(int stanje); + void promjena(); +private: + DigitalOut _pin; +}; +#endif \ No newline at end of file