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:aaabe92e4143, 2021-10-19 (annotated)
- Committer:
- NigelW
- Date:
- Tue Oct 19 16:19:23 2021 +0000
- Revision:
- 3:aaabe92e4143
- Parent:
- 2:b1a301e3f1a6
fix it
Who changed what in which revision?
| User | Revision | Line number | New contents of line |
|---|---|---|---|
| NigelW | 3:aaabe92e4143 | 1 | #include "mbed.h" |
| mbed_official | 0:3451e643c64c | 2 | |
| mbed_official | 0:3451e643c64c | 3 | DigitalOut myled(LED1); |
| mbed_official | 0:3451e643c64c | 4 | |
| mbed_official | 0:3451e643c64c | 5 | int main() { |
| mbed_official | 0:3451e643c64c | 6 | while(1) { |
| mbed_official | 0:3451e643c64c | 7 | myled = 1; |
| mbed_official | 0:3451e643c64c | 8 | wait(0.2); |
| mbed_official | 0:3451e643c64c | 9 | myled = 0; |
| mbed_official | 0:3451e643c64c | 10 | wait(0.2); |
| mbed_official | 0:3451e643c64c | 11 | } |
| mbed_official | 0:3451e643c64c | 12 | } |