0

Dependents:   Micro_music_box_2 Mic_music_box

led.h

Committer:
valentino14
Date:
2022-02-24
Revision:
0:6e09a4c848c9
Child:
1:4cd2e5fc0295

File content as of revision 0:6e09a4c848c9:

#ifndef LED_H
#define LED_H
#include "mbed.h"

//Klasa koja daje funkcije za mjenjanje stanja 

class LED
{
public:
    LED(PinName pin);               
    void state(int state);
    void change();
    
private:
    DigitalOut _pin;          //tako da može trepati na bilo kojem pinu
};


#endif