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:56c827d88943, 2015-06-18 (annotated)
- Committer:
- kafkalen
- Date:
- Thu Jun 18 00:52:12 2015 +0000
- Revision:
- 0:56c827d88943
- Child:
- 1:6b622c633d49
test
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 | 0:56c827d88943 | 5 | int main() { |
| kafkalen | 0:56c827d88943 | 6 | while(1) { |
| kafkalen | 0:56c827d88943 | 7 | myled = 1; |
| kafkalen | 0:56c827d88943 | 8 | wait(0.2); |
| kafkalen | 0:56c827d88943 | 9 | myled = 0; |
| kafkalen | 0:56c827d88943 | 10 | wait(0.2); |
| kafkalen | 0:56c827d88943 | 11 | } |
| kafkalen | 0:56c827d88943 | 12 | } |