LED
Dependents: Semafor Karanovic_Semafor
led.h
- Committer:
- akaranovi
- Date:
- 2020-11-29
- Revision:
- 0:8b4a8e2414db
File content as of revision 0:8b4a8e2414db:
#ifndef MBED_LED_H #define MBED_LED_H #include "mbed.h" //Klasa za LED koja daje funkcije za mijenjanje stanja class LED { public: LED(PinName pin); void status(int status); void flip(); private: DigitalOut _pin; }; #endif