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@2:910bff356cd1, 2017-05-06 (annotated)
- Committer:
- WiredHome
- Date:
- Sat May 06 20:33:39 2017 +0000
- Revision:
- 2:910bff356cd1
- Parent:
- 1:0ff1f9c3a891
- Child:
- 3:32e044abb3ef
for v3
Who changed what in which revision?
| User | Revision | Line number | New contents of line |
|---|---|---|---|
| WiredHome | 0:b39e43e0f48a | 1 | #include "mbed.h" |
| WiredHome | 0:b39e43e0f48a | 2 | |
| WiredHome | 0:b39e43e0f48a | 3 | DigitalOut myled(LED1); |
| WiredHome | 0:b39e43e0f48a | 4 | |
| WiredHome | 1:0ff1f9c3a891 | 5 | some changes for v2 |
| WiredHome | 1:0ff1f9c3a891 | 6 | |
| WiredHome | 0:b39e43e0f48a | 7 | int main() { |
| WiredHome | 0:b39e43e0f48a | 8 | while(1) { |
| WiredHome | 0:b39e43e0f48a | 9 | myled = 1; |
| WiredHome | 0:b39e43e0f48a | 10 | wait(0.2); |
| WiredHome | 0:b39e43e0f48a | 11 | myled = 0; |
| WiredHome | 0:b39e43e0f48a | 12 | wait(0.2); |
| WiredHome | 0:b39e43e0f48a | 13 | } |
| WiredHome | 0:b39e43e0f48a | 14 | } |
| WiredHome | 2:910bff356cd1 | 15 | |
| WiredHome | 2:910bff356cd1 | 16 | more changes for v3 |