Curkovic projekt TVZ2021
Dependencies: mbed SeeedShieldBot BluetoothSerial
Diff: Blink.h
- Revision:
- 0:2e91a001ef93
diff -r 000000000000 -r 2e91a001ef93 Blink.h --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/Blink.h Thu May 05 19:10:43 2022 +0000 @@ -0,0 +1,16 @@ +#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 status(int status); + void flip(); +private: + DigitalOut _pin; +}; +#endif + \ No newline at end of file