Louis Mayencourt
/
NRF_OLED
Arduboy lib for NRF and mbed
main.cpp
- Committer:
- lmayencou
- Date:
- 2016-12-27
- Revision:
- 0:2b6d7af79c9c
File content as of revision 0:2b6d7af79c9c:
#include "mbed.h" #include "core.h" DigitalOut led1(LED1); // main() runs in its own thread in the OS // (note the calls to Thread::wait below for delays) int main() { Arduboy arduboy; while (true) { led1 = !led1; Thread::wait(500); } }