Stefan Hutter
/
Hutter_6_10_2020_v3
3. nur Zugewiesen bzw I2C erzeugt
main.cpp@2:0bd68599b98e, 2020-10-06 (annotated)
- Committer:
- Hutzi
- Date:
- Tue Oct 06 16:36:12 2020 +0000
- Revision:
- 2:0bd68599b98e
- Parent:
- 1:2a6f45577cf5
zuliu;
Who changed what in which revision?
User | Revision | Line number | New contents of line |
---|---|---|---|
Hutzi | 0:45192de7f4d2 | 1 | #include "mbed.h" |
Hutzi | 0:45192de7f4d2 | 2 | |
Hutzi | 2:0bd68599b98e | 3 | DigitalOut myled(LED1); |
Hutzi | 0:45192de7f4d2 | 4 | |
Hutzi | 0:45192de7f4d2 | 5 | int main() { |
Hutzi | 2:0bd68599b98e | 6 | while(1) { |
Hutzi | 2:0bd68599b98e | 7 | myled = 1; |
Hutzi | 2:0bd68599b98e | 8 | wait(0.2); |
Hutzi | 2:0bd68599b98e | 9 | myled = 0; |
Hutzi | 2:0bd68599b98e | 10 | wait(0.2); |
Hutzi | 2:0bd68599b98e | 11 | } |
Hutzi | 0:45192de7f4d2 | 12 | } |