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.
Dependencies: mbed
Fork of HelloWorld by
main.cpp@1:03c191369089, 2012-01-01 (annotated)
- Committer:
- simon
- Date:
- Sun Jan 01 20:57:57 2012 +0000
- Revision:
- 1:03c191369089
- Parent:
- 0:fb6bbc10ffa0
Updated mbed library to use newer version including LPC11U24
Who changed what in which revision?
| User | Revision | Line number | New contents of line |
|---|---|---|---|
| simon | 0:fb6bbc10ffa0 | 1 | #include "mbed.h" |
| simon | 0:fb6bbc10ffa0 | 2 | |
| simon | 0:fb6bbc10ffa0 | 3 | DigitalOut myled(LED1); |
| simon | 0:fb6bbc10ffa0 | 4 | |
| simon | 0:fb6bbc10ffa0 | 5 | int main() { |
| simon | 0:fb6bbc10ffa0 | 6 | while(1) { |
| simon | 0:fb6bbc10ffa0 | 7 | myled = 1; |
| simon | 0:fb6bbc10ffa0 | 8 | wait(0.2); |
| simon | 0:fb6bbc10ffa0 | 9 | myled = 0; |
| simon | 0:fb6bbc10ffa0 | 10 | wait(0.2); |
| simon | 0:fb6bbc10ffa0 | 11 | } |
| simon | 0:fb6bbc10ffa0 | 12 | } |
