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:ffc2292c68db, 2014-11-19 (annotated)
- Committer:
- Corinthians
- Date:
- Wed Nov 19 07:02:46 2014 +0000
- Revision:
- 1:ffc2292c68db
- Parent:
- 0:c68f197c8608
- Child:
- 2:6fbcc988ac6a
change led color;
Who changed what in which revision?
| User | Revision | Line number | New contents of line |
|---|---|---|---|
| Corinthians | 0:c68f197c8608 | 1 | #include "mbed.h" |
| Corinthians | 0:c68f197c8608 | 2 | |
| Corinthians | 0:c68f197c8608 | 3 | DigitalOut myled(LED1); |
| Corinthians | 0:c68f197c8608 | 4 | |
| Corinthians | 0:c68f197c8608 | 5 | int main() { |
| Corinthians | 0:c68f197c8608 | 6 | while(1) { |
| Corinthians | 1:ffc2292c68db | 7 | myled = 0; |
| Corinthians | 0:c68f197c8608 | 8 | //wait(0.2); |
| Corinthians | 0:c68f197c8608 | 9 | //myled = 0; |
| Corinthians | 0:c68f197c8608 | 10 | //wait(0.2); |
| Corinthians | 0:c68f197c8608 | 11 | } |
| Corinthians | 0:c68f197c8608 | 12 | } |