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:7c52d1c30eb9, 2018-10-11 (annotated)
- Committer:
- czrooney
- Date:
- Thu Oct 11 14:12:45 2018 +0000
- Revision:
- 0:7c52d1c30eb9
- Child:
- 1:0ff79bfe7bcf
Who changed what in which revision?
| User | Revision | Line number | New contents of line |
|---|---|---|---|
| czrooney | 0:7c52d1c30eb9 | 1 | #include "mbed.h" |
| czrooney | 0:7c52d1c30eb9 | 2 | |
| czrooney | 0:7c52d1c30eb9 | 3 | DigitalOut myled(LED1); |
| czrooney | 0:7c52d1c30eb9 | 4 | |
| czrooney | 0:7c52d1c30eb9 | 5 | int main() { |
| czrooney | 0:7c52d1c30eb9 | 6 | while(1) { |
| czrooney | 0:7c52d1c30eb9 | 7 | myled = 1; |
| czrooney | 0:7c52d1c30eb9 | 8 | wait(0.2); |
| czrooney | 0:7c52d1c30eb9 | 9 | myled = 0; |
| czrooney | 0:7c52d1c30eb9 | 10 | wait(0.2); |
| czrooney | 0:7c52d1c30eb9 | 11 | } |
| czrooney | 0:7c52d1c30eb9 | 12 | } |