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:87a9adc733de, 2015-02-20 (annotated)
- Committer:
- nathanhonka
- Date:
- Fri Feb 20 20:29:44 2015 +0000
- Revision:
- 0:87a9adc733de
Blinky test project, initial commit
Who changed what in which revision?
| User | Revision | Line number | New contents of line |
|---|---|---|---|
| nathanhonka | 0:87a9adc733de | 1 | #include "mbed.h" |
| nathanhonka | 0:87a9adc733de | 2 | |
| nathanhonka | 0:87a9adc733de | 3 | DigitalOut myled(LED1); |
| nathanhonka | 0:87a9adc733de | 4 | |
| nathanhonka | 0:87a9adc733de | 5 | int main() { |
| nathanhonka | 0:87a9adc733de | 6 | while(1) { |
| nathanhonka | 0:87a9adc733de | 7 | myled = 1; |
| nathanhonka | 0:87a9adc733de | 8 | wait(0.2); |
| nathanhonka | 0:87a9adc733de | 9 | myled = 0; |
| nathanhonka | 0:87a9adc733de | 10 | wait(0.2); |
| nathanhonka | 0:87a9adc733de | 11 | } |
| nathanhonka | 0:87a9adc733de | 12 | } |