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:80c5a725c91d, 2014-12-15 (annotated)
- Committer:
- eyllanesc
- Date:
- Mon Dec 15 20:24:09 2014 +0000
- Revision:
- 0:80c5a725c91d
init
Who changed what in which revision?
| User | Revision | Line number | New contents of line |
|---|---|---|---|
| eyllanesc | 0:80c5a725c91d | 1 | #include "mbed.h" |
| eyllanesc | 0:80c5a725c91d | 2 | |
| eyllanesc | 0:80c5a725c91d | 3 | DigitalOut myled(LED1); |
| eyllanesc | 0:80c5a725c91d | 4 | |
| eyllanesc | 0:80c5a725c91d | 5 | int main() { |
| eyllanesc | 0:80c5a725c91d | 6 | while(1) { |
| eyllanesc | 0:80c5a725c91d | 7 | myled = 1; |
| eyllanesc | 0:80c5a725c91d | 8 | wait(0.2); |
| eyllanesc | 0:80c5a725c91d | 9 | myled = 0; |
| eyllanesc | 0:80c5a725c91d | 10 | wait(0.2); |
| eyllanesc | 0:80c5a725c91d | 11 | } |
| eyllanesc | 0:80c5a725c91d | 12 | } |