Curkovic projekt TVZ2021

Dependencies:   mbed SeeedShieldBot BluetoothSerial

Committer:
chule
Date:
Thu May 05 19:10:43 2022 +0000
Revision:
0:2e91a001ef93
.

Who changed what in which revision?

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