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:bb766c4500a4, 2012-11-13 (annotated)
- Committer:
- KEIKUROKAWA
- Date:
- Tue Nov 13 12:51:53 2012 +0000
- Revision:
- 0:bb766c4500a4
test
Who changed what in which revision?
| User | Revision | Line number | New contents of line |
|---|---|---|---|
| KEIKUROKAWA | 0:bb766c4500a4 | 1 | #include "mbed.h" |
| KEIKUROKAWA | 0:bb766c4500a4 | 2 | |
| KEIKUROKAWA | 0:bb766c4500a4 | 3 | DigitalOut myled(LED4); |
| KEIKUROKAWA | 0:bb766c4500a4 | 4 | |
| KEIKUROKAWA | 0:bb766c4500a4 | 5 | int main() { |
| KEIKUROKAWA | 0:bb766c4500a4 | 6 | while(1) { |
| KEIKUROKAWA | 0:bb766c4500a4 | 7 | myled = 1; |
| KEIKUROKAWA | 0:bb766c4500a4 | 8 | wait(0.2); |
| KEIKUROKAWA | 0:bb766c4500a4 | 9 | myled = 0; |
| KEIKUROKAWA | 0:bb766c4500a4 | 10 | wait(0.2); |
| KEIKUROKAWA | 0:bb766c4500a4 | 11 | } |
| KEIKUROKAWA | 0:bb766c4500a4 | 12 | } |