/

Committer:
djukicic
Date:
Sun Feb 21 17:26:19 2021 +0000
Revision:
0:827af283d6f0
/

Who changed what in which revision?

UserRevisionLine numberNew contents of line
djukicic 0:827af283d6f0 1 #ifndef MBED_LED_H
djukicic 0:827af283d6f0 2 #define MBED_LED_H
djukicic 0:827af283d6f0 3 #include "mbed.h"
djukicic 0:827af283d6f0 4 //Klasa za LED koja daje funkcije za mijenjanje stanja
djukicic 0:827af283d6f0 5 class LED
djukicic 0:827af283d6f0 6 {
djukicic 0:827af283d6f0 7 public:
djukicic 0:827af283d6f0 8 LED(PinName pin);
djukicic 0:827af283d6f0 9 void status(int status);
djukicic 0:827af283d6f0 10 void flip();
djukicic 0:827af283d6f0 11 private:
djukicic 0:827af283d6f0 12 DigitalOut _pin;
djukicic 0:827af283d6f0 13 };
djukicic 0:827af283d6f0 14 #endif