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:6b622c633d49, 2015-06-18 (annotated)
- Committer:
- kafkalen
- Date:
- Thu Jun 18 07:56:09 2015 +0000
- Revision:
- 1:6b622c633d49
- Parent:
- 0:56c827d88943
- Child:
- 2:62fe08b73b33
999
Who changed what in which revision?
| User | Revision | Line number | New contents of line |
|---|---|---|---|
| kafkalen | 0:56c827d88943 | 1 | #include "mbed.h" |
| kafkalen | 0:56c827d88943 | 2 | |
| kafkalen | 0:56c827d88943 | 3 | DigitalOut myled(LED1); |
| kafkalen | 0:56c827d88943 | 4 | |
| kafkalen | 1:6b622c633d49 | 5 | int main() |
| kafkalen | 1:6b622c633d49 | 6 | { |
| kafkalen | 0:56c827d88943 | 7 | while(1) { |
| kafkalen | 0:56c827d88943 | 8 | myled = 1; |
| kafkalen | 0:56c827d88943 | 9 | wait(0.2); |
| kafkalen | 0:56c827d88943 | 10 | myled = 0; |
| kafkalen | 0:56c827d88943 | 11 | wait(0.2); |
| kafkalen | 0:56c827d88943 | 12 | } |
| kafkalen | 0:56c827d88943 | 13 | } |