Important changes to repositories hosted on mbed.com
Mbed hosted mercurial repositories are deprecated and are due to be permanently deleted in July 2026.
To keep a copy of this software download the repository Zip archive or clone locally using Mercurial.
It is also possible to export all your personal repositories from the account settings page.
led.cpp
- Committer:
- petarcicvaric
- Date:
- 2021-12-01
- Revision:
- 0:723bf76017a4
File content as of revision 0:723bf76017a4:
#include "led.h" #include "mbed.h" LED::LED(PinName pin) : _pin(pin) { _pin = 0; } //Određivanje stanja void LED::stanje(int stanje) { _pin = stanje; } //Mjenjanje stanja void LED::promijeni() { _pin = !_pin; }