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@1:363f52776e64, 2016-08-01 (annotated)
- Committer:
- mbed_demo
- Date:
- Mon Aug 01 22:01:26 2016 -0700
- Revision:
- 1:363f52776e64
- Parent:
- 0:50d20ebfba71
changed light color to green, speed at 0.5 seconds
Who changed what in which revision?
| User | Revision | Line number | New contents of line |
|---|---|---|---|
| mbed_demo | 0:50d20ebfba71 | 1 | #include "mbed.h" |
| mbed_demo | 0:50d20ebfba71 | 2 | |
| mbed_demo | 1:363f52776e64 | 3 | DigitalOut myled(LED2); |
| mbed_demo | 0:50d20ebfba71 | 4 | |
| mbed_demo | 0:50d20ebfba71 | 5 | int main() { |
| mbed_demo | 0:50d20ebfba71 | 6 | while(1) { |
| mbed_demo | 0:50d20ebfba71 | 7 | myled = !myled; |
| mbed_demo | 1:363f52776e64 | 8 | wait(0.5); |
| mbed_demo | 0:50d20ebfba71 | 9 | } |
| mbed_demo | 0:50d20ebfba71 | 10 | } |