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 APP1_customProtocole by
main.cpp@0:544fa864099a, 2016-01-06 (annotated)
- Committer:
 - yannolecool
 - Date:
 - Wed Jan 06 17:48:36 2016 +0000
 - Revision:
 - 0:544fa864099a
 - Child:
 - 1:7b43594a95f3
 
First blinky led program
Who changed what in which revision?
| User | Revision | Line number | New contents of line | 
|---|---|---|---|
| yannolecool | 0:544fa864099a | 1 | #include "mbed.h" | 
| yannolecool | 0:544fa864099a | 2 | |
| yannolecool | 0:544fa864099a | 3 | DigitalOut myled(LED1); | 
| yannolecool | 0:544fa864099a | 4 | |
| yannolecool | 0:544fa864099a | 5 | int main() { | 
| yannolecool | 0:544fa864099a | 6 | while(1) { | 
| yannolecool | 0:544fa864099a | 7 | myled = 1; | 
| yannolecool | 0:544fa864099a | 8 | wait(0.2); | 
| yannolecool | 0:544fa864099a | 9 | myled = 0; | 
| yannolecool | 0:544fa864099a | 10 | wait(0.2); | 
| yannolecool | 0:544fa864099a | 11 | } | 
| yannolecool | 0:544fa864099a | 12 | } | 
