mbed demo
/
Blinky_Tests
Tests for simple blinky library.
Fork of Blinky_Tests by
main.cpp
- Committer:
- mbed_demo
- Date:
- 2016-11-09
- Revision:
- 7:cb3da0486f3c
- Parent:
- 6:246fbf2e7659
File content as of revision 7:cb3da0486f3c:
#include "Blinky.h" int main(void){ Blinky blinker(LED1, 500); blinker.start(); Thread::wait(5000); blinker.stop(); printf("Times blinked: %f",blinker.times_blinked()); }