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:529210499c6d, 2017-03-02 (annotated)
- Committer:
- ShaolinPoutine
- Date:
- Thu Mar 02 19:38:47 2017 +0000
- Revision:
- 0:529210499c6d
- Child:
- 1:8b93b2102ac5
Creation
Who changed what in which revision?
| User | Revision | Line number | New contents of line |
|---|---|---|---|
| ShaolinPoutine | 0:529210499c6d | 1 | #include "mbed.h" |
| ShaolinPoutine | 0:529210499c6d | 2 | |
| ShaolinPoutine | 0:529210499c6d | 3 | DigitalOut myled(LED1); |
| ShaolinPoutine | 0:529210499c6d | 4 | |
| ShaolinPoutine | 0:529210499c6d | 5 | int main() { |
| ShaolinPoutine | 0:529210499c6d | 6 | while(1) { |
| ShaolinPoutine | 0:529210499c6d | 7 | myled = 1; |
| ShaolinPoutine | 0:529210499c6d | 8 | wait(0.2); |
| ShaolinPoutine | 0:529210499c6d | 9 | myled = 0; |
| ShaolinPoutine | 0:529210499c6d | 10 | wait(0.2); |
| ShaolinPoutine | 0:529210499c6d | 11 | } |
| ShaolinPoutine | 0:529210499c6d | 12 | } |