Important changes to repositories hosted on mbed.com
Mbed hosted mercurial repositories are deprecated and are due to be permanently deleted in July 2026.
To keep a copy of this software download the repository Zip archive or clone locally using Mercurial.
It is also possible to export all your personal repositories from the account settings page.
main.cpp@2:6115956b148d, 2020-12-12 (annotated)
- Committer:
- ourmio
- Date:
- Sat Dec 12 14:19:57 2020 +0000
- Revision:
- 2:6115956b148d
- Parent:
- 0:fb6bbc10ffa0
- Child:
- 3:82742cab589c
bla;
Who changed what in which revision?
User | Revision | Line number | New contents of line |
---|---|---|---|
simon | 0:fb6bbc10ffa0 | 1 | #include "mbed.h" |
simon | 0:fb6bbc10ffa0 | 2 | |
simon | 0:fb6bbc10ffa0 | 3 | DigitalOut myled(LED1); |
ourmio | 2:6115956b148d | 4 | DigitalOut myled1(LED2); |
simon | 0:fb6bbc10ffa0 | 5 | int main() { |
simon | 0:fb6bbc10ffa0 | 6 | while(1) { |
simon | 0:fb6bbc10ffa0 | 7 | myled = 1; |
ourmio | 2:6115956b148d | 8 | myled1 = 1; |
ourmio | 2:6115956b148d | 9 | wait(0.5); |
simon | 0:fb6bbc10ffa0 | 10 | myled = 0; |
ourmio | 2:6115956b148d | 11 | myled1 = 0; |
ourmio | 2:6115956b148d | 12 | wait(0.5); |
ourmio | 2:6115956b148d | 13 | |
simon | 0:fb6bbc10ffa0 | 14 | } |
simon | 0:fb6bbc10ffa0 | 15 | } |