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:7d2537254ebb, 2015-12-02 (annotated)
- Committer:
- mammu
- Date:
- Wed Dec 02 09:41:05 2015 +0000
- Revision:
- 1:7d2537254ebb
- Parent:
- 0:dbd560c47083
mom;
Who changed what in which revision?
| User | Revision | Line number | New contents of line |
|---|---|---|---|
| mammu | 0:dbd560c47083 | 1 | #include "mbed.h" |
| mammu | 0:dbd560c47083 | 2 | |
| mammu | 0:dbd560c47083 | 3 | DigitalOut myled(LED1); |
| mammu | 0:dbd560c47083 | 4 | |
| mammu | 0:dbd560c47083 | 5 | int main() { |
| mammu | 0:dbd560c47083 | 6 | while(1) { |
| mammu | 0:dbd560c47083 | 7 | myled = 1; |
| mammu | 1:7d2537254ebb | 8 | wait(5); |
| mammu | 0:dbd560c47083 | 9 | myled =0; |
| mammu | 1:7d2537254ebb | 10 | wait(5); |
| mammu | 0:dbd560c47083 | 11 | } |
| mammu | 0:dbd560c47083 | 12 | } |