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@0:426e69c49cc5, 2020-05-01 (annotated)
- Committer:
- dfmolanon
- Date:
- Fri May 01 21:17:19 2020 +0000
- Revision:
- 0:426e69c49cc5
asff
Who changed what in which revision?
| User | Revision | Line number | New contents of line |
|---|---|---|---|
| dfmolanon | 0:426e69c49cc5 | 1 | #include "mbed.h" |
| dfmolanon | 0:426e69c49cc5 | 2 | |
| dfmolanon | 0:426e69c49cc5 | 3 | DigitalOut myled(LED1); |
| dfmolanon | 0:426e69c49cc5 | 4 | |
| dfmolanon | 0:426e69c49cc5 | 5 | int main() { |
| dfmolanon | 0:426e69c49cc5 | 6 | while(1) { |
| dfmolanon | 0:426e69c49cc5 | 7 | myled = 1; |
| dfmolanon | 0:426e69c49cc5 | 8 | wait(0.2); |
| dfmolanon | 0:426e69c49cc5 | 9 | myled = 0; |
| dfmolanon | 0:426e69c49cc5 | 10 | wait(0.2); |
| dfmolanon | 0:426e69c49cc5 | 11 | } |
| dfmolanon | 0:426e69c49cc5 | 12 | } |