Andreas Linke
/
mbed_blinky-os5
mqtt client for wiznet w7500p
main.cpp@0:fb7db9dceed0, 2019-06-24 (annotated)
- Committer:
- anduel
- Date:
- Mon Jun 24 11:02:04 2019 +0000
- Revision:
- 0:fb7db9dceed0
t
Who changed what in which revision?
User | Revision | Line number | New contents of line |
---|---|---|---|
anduel | 0:fb7db9dceed0 | 1 | #include "mbed.h" |
anduel | 0:fb7db9dceed0 | 2 | |
anduel | 0:fb7db9dceed0 | 3 | DigitalOut myled(LEDR); |
anduel | 0:fb7db9dceed0 | 4 | |
anduel | 0:fb7db9dceed0 | 5 | int main() { |
anduel | 0:fb7db9dceed0 | 6 | while(1) { |
anduel | 0:fb7db9dceed0 | 7 | myled = 1; |
anduel | 0:fb7db9dceed0 | 8 | wait(0.200); |
anduel | 0:fb7db9dceed0 | 9 | myled = 0; |
anduel | 0:fb7db9dceed0 | 10 | wait(0.500); |
anduel | 0:fb7db9dceed0 | 11 | } |
anduel | 0:fb7db9dceed0 | 12 | } |