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@3:14cc4e18dc51, 2018-07-20 (annotated)
- Committer:
- Sam Hogg
- Date:
- Fri Jul 20 11:12:32 2018 +0100
- Revision:
- 3:14cc4e18dc51
- Parent:
- 2:2b5433be1b6a
- Child:
- 4:02de8573ca4e
Blinky faster
Who changed what in which revision?
| User | Revision | Line number | New contents of line |
|---|---|---|---|
| SamCHogg | 0:b30a760c89e1 | 1 | #include "mbed.h" |
| SamCHogg | 0:b30a760c89e1 | 2 | |
| SamCHogg | 0:b30a760c89e1 | 3 | DigitalOut myled(LED1); |
| SamCHogg | 0:b30a760c89e1 | 4 | |
| SamCHogg | 0:b30a760c89e1 | 5 | int main() { |
| SamCHogg | 0:b30a760c89e1 | 6 | while(1) { |
| SamCHogg | 0:b30a760c89e1 | 7 | myled = 1; |
| SamCHogg | 0:b30a760c89e1 | 8 | wait(0.2); |
| SamCHogg | 0:b30a760c89e1 | 9 | myled = 0; |
| Sam Hogg |
3:14cc4e18dc51 | 10 | wait(0.2); |
| SamCHogg | 0:b30a760c89e1 | 11 | } |
| SamCHogg | 0:b30a760c89e1 | 12 | } |