Lehrer Busch
/
010_LED_an_AA
010_LED_an_AA
main.cpp@3:f51f672f745a, 2022-02-23 (annotated)
- Committer:
- itbusch
- Date:
- Wed Feb 23 20:35:39 2022 +0000
- Revision:
- 3:f51f672f745a
- Parent:
- 1:57b2c800b415
010_LED_an_AA
Who changed what in which revision?
User | Revision | Line number | New contents of line |
---|---|---|---|
itbusch | 0:baa843cb6331 | 1 | // 10_LED_an mbed |
itbusch | 0:baa843cb6331 | 2 | |
itbusch | 0:baa843cb6331 | 3 | #include "mbed.h" |
itbusch | 0:baa843cb6331 | 4 | |
itbusch | 0:baa843cb6331 | 5 | //Initialisiere Ausgangspin und Variable |
itbusch | 0:baa843cb6331 | 6 | DigitalOut Boardled(LED1); |
itbusch | 0:baa843cb6331 | 7 | |
itbusch | 1:57b2c800b415 | 8 | int main() //Hauptprogramm |
itbusch | 0:baa843cb6331 | 9 | { |
itbusch | 1:57b2c800b415 | 10 | while (true) //Endlosschleife |
itbusch | 0:baa843cb6331 | 11 | { |
itbusch | 3:f51f672f745a | 12 | //Ergänzen Sie //LED1 an... |
itbusch | 0:baa843cb6331 | 13 | } |
itbusch | 0:baa843cb6331 | 14 | } |