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:56b6efc187eb, 2022-08-02 (annotated)
- Committer:
- kasuhisa
- Date:
- Tue Aug 02 07:32:07 2022 +0000
- Revision:
- 0:56b6efc187eb
a
Who changed what in which revision?
| User | Revision | Line number | New contents of line |
|---|---|---|---|
| kasuhisa | 0:56b6efc187eb | 1 | #include "mbed.h" |
| kasuhisa | 0:56b6efc187eb | 2 | |
| kasuhisa | 0:56b6efc187eb | 3 | DigitalOut myled(LED1); |
| kasuhisa | 0:56b6efc187eb | 4 | |
| kasuhisa | 0:56b6efc187eb | 5 | int main() { |
| kasuhisa | 0:56b6efc187eb | 6 | while(1) { |
| kasuhisa | 0:56b6efc187eb | 7 | myled = 1; |
| kasuhisa | 0:56b6efc187eb | 8 | wait(0.2); |
| kasuhisa | 0:56b6efc187eb | 9 | myled = 0; |
| kasuhisa | 0:56b6efc187eb | 10 | wait(0.2); |
| kasuhisa | 0:56b6efc187eb | 11 | } |
| kasuhisa | 0:56b6efc187eb | 12 | } |