Curkovic projekt TVZ2021
Dependencies: mbed SeeedShieldBot BluetoothSerial
Blink.cpp
- Committer:
- chule
- Date:
- 2022-05-05
- Revision:
- 0:2e91a001ef93
File content as of revision 0:2e91a001ef93:
#include "Blink.h" #include "mbed.h" LED::LED(PinName pin) : _pin(pin) { _pin = 0; } //Metoda kako se određuje stanje LED void LED::status(int status) { _pin = status; } //Metoda koja mijenja stanje na LED void LED::flip() { _pin = !_pin; }