Der Praktikant
/
led_test2
LED test fork
Fork of led_test by
main.cpp
- Committer:
- Praktikant
- Date:
- 2016-04-08
- Revision:
- 2:e0a2da2e3ce7
- Parent:
- 1:1d60dc3c3b08
File content as of revision 2:e0a2da2e3ce7:
#include "mbed.h" DigitalOut myled(LED1); DigitalOut myled2(LED2); int main() { int i = 0; while(1) { myled = i & 1; // LED is ON myled2 = i & 2; wait(0.25); i++; } }