Lehrer Busch
/
010_LED_an_AA
010_LED_an_AA
main.cpp@0:baa843cb6331, 2022-01-31 (annotated)
- Committer:
- itbusch
- Date:
- Mon Jan 31 06:46:54 2022 +0000
- Revision:
- 0:baa843cb6331
- Child:
- 1:57b2c800b415
010_LED_an
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 | |
itbusch | 0:baa843cb6331 | 4 | #include "mbed.h" |
itbusch | 0:baa843cb6331 | 5 | |
itbusch | 0:baa843cb6331 | 6 | //Initialisiere Ausgangspin und Variable |
itbusch | 0:baa843cb6331 | 7 | DigitalOut Boardled(LED1); |
itbusch | 0:baa843cb6331 | 8 | |
itbusch | 0:baa843cb6331 | 9 | int main() |
itbusch | 0:baa843cb6331 | 10 | { |
itbusch | 0:baa843cb6331 | 11 | while (true) |
itbusch | 0:baa843cb6331 | 12 | { |
itbusch | 0:baa843cb6331 | 13 | Boardled = 1; |
itbusch | 0:baa843cb6331 | 14 | } |
itbusch | 0:baa843cb6331 | 15 | } |