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:bcd9996951bb, 2020-07-05 (annotated)
- Committer:
- showa_am
- Date:
- Sun Jul 05 02:28:26 2020 +0000
- Revision:
- 0:bcd9996951bb
test
Who changed what in which revision?
| User | Revision | Line number | New contents of line |
|---|---|---|---|
| showa_am | 0:bcd9996951bb | 1 | #include "mbed.h" |
| showa_am | 0:bcd9996951bb | 2 | |
| showa_am | 0:bcd9996951bb | 3 | DigitalOut myled(LED1); |
| showa_am | 0:bcd9996951bb | 4 | |
| showa_am | 0:bcd9996951bb | 5 | int main() { |
| showa_am | 0:bcd9996951bb | 6 | while(1) { |
| showa_am | 0:bcd9996951bb | 7 | myled = 1; |
| showa_am | 0:bcd9996951bb | 8 | wait(0.2); |
| showa_am | 0:bcd9996951bb | 9 | myled = 0; |
| showa_am | 0:bcd9996951bb | 10 | wait(0.2); |
| showa_am | 0:bcd9996951bb | 11 | } |
| showa_am | 0:bcd9996951bb | 12 | } |