Matthaeus Vorraber
/
LPC1768_class_exercice_ueberladen
Ueberladen1
main.cpp@0:01aa441bf296, 2019-11-25 (annotated)
- Committer:
- happy_alien
- Date:
- Mon Nov 25 18:14:24 2019 +0000
- Revision:
- 0:01aa441bf296
- Child:
- 1:211adb1a2b53
blinky
Who changed what in which revision?
User | Revision | Line number | New contents of line |
---|---|---|---|
happy_alien | 0:01aa441bf296 | 1 | #include "mbed.h" |
happy_alien | 0:01aa441bf296 | 2 | |
happy_alien | 0:01aa441bf296 | 3 | DigitalOut led1(LED1),led2(LED2),led3(LED3),led4(LED4); |
happy_alien | 0:01aa441bf296 | 4 | |
happy_alien | 0:01aa441bf296 | 5 | int main() { |
happy_alien | 0:01aa441bf296 | 6 | while(1) { |
happy_alien | 0:01aa441bf296 | 7 | led1=!led1; |
happy_alien | 0:01aa441bf296 | 8 | led2=!led2; |
happy_alien | 0:01aa441bf296 | 9 | led3=!led3; |
happy_alien | 0:01aa441bf296 | 10 | led4=!led4; |
happy_alien | 0:01aa441bf296 | 11 | |
happy_alien | 0:01aa441bf296 | 12 | |
happy_alien | 0:01aa441bf296 | 13 | wait_ms(500); |
happy_alien | 0:01aa441bf296 | 14 | } |
happy_alien | 0:01aa441bf296 | 15 | } |