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:62fe08b73b33, 2015-06-18 (annotated)
- Committer:
- kafkalen
- Date:
- Thu Jun 18 08:38:13 2015 +0000
- Revision:
- 2:62fe08b73b33
- Parent:
- 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 | 1:6b622c633d49 | 5 | int main() |
| kafkalen | 1:6b622c633d49 | 6 | { |
| kafkalen | 0:56c827d88943 | 7 | while(1) { |
| kafkalen | 0:56c827d88943 | 8 | myled = 1; |
| kafkalen | 2:62fe08b73b33 | 9 | wait(1); |
| kafkalen | 0:56c827d88943 | 10 | myled = 0; |
| kafkalen | 2:62fe08b73b33 | 11 | wait(1); |
| kafkalen | 0:56c827d88943 | 12 | } |
| kafkalen | 0:56c827d88943 | 13 | } |