BlinkLib
source/MbedBlinker.cpp
- Committer:
- Maxime Dupuis
- Date:
- 2017-02-16
- Revision:
- 4:525425b82905
- Parent:
- 2:f79b839d4047
File content as of revision 4:525425b82905:
#include "MbedBlinker.hpp" MbedBlinker::MbedBlinker(DigitalOut led) : led(led) { } void MbedBlinker::blink() { led = 1; wait(0.2); led = 0; wait(0.2); }