.

Dependents:   Konstrukcijski_Blazevic kontrola_ulaza_IF

Committer:
MarioBlazevic
Date:
Tue Apr 06 12:07:11 2021 +0000
Revision:
0:b3bc716e5bea
Child:
1:aa26b9c6dc15

        

Who changed what in which revision?

UserRevisionLine numberNew contents of line
MarioBlazevic 0:b3bc716e5bea 1 #ifndef MBED_LEDICA_H
MarioBlazevic 0:b3bc716e5bea 2 #define MBED_LEDICA_H
MarioBlazevic 0:b3bc716e5bea 3 #include "mbed.h"
MarioBlazevic 0:b3bc716e5bea 4
MarioBlazevic 0:b3bc716e5bea 5 class Ledica{
MarioBlazevic 0:b3bc716e5bea 6 public:
MarioBlazevic 0:b3bc716e5bea 7 Ledica(PinName pin);
MarioBlazevic 0:b3bc716e5bea 8 void status(int status);
MarioBlazevic 0:b3bc716e5bea 9 void flipp();
MarioBlazevic 0:b3bc716e5bea 10 private:
MarioBlazevic 0:b3bc716e5bea 11 DigitalOut _pin;
MarioBlazevic 0:b3bc716e5bea 12 };
MarioBlazevic 0:b3bc716e5bea 13 #endif