![](/media/cache/img/default_profile.jpg.50x50_q85.jpg)
mbed2_3_b_ii
kosz.txt
- Committer:
- Robsonik16
- Date:
- 2017-05-05
- Revision:
- 0:da2fe761ec44
File content as of revision 0:da2fe761ec44:
// Blink until timeout. #include "mbed.h" Timeout timeout; DigitalOut led(LED1); int on = 1; void attimeout() { on = 0; } int main() { timeout.attach(&attimeout, 5); while(on) { led = !led; wait(0.2); } }