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@28:f1e7e7d7959f, 2020-09-08 (annotated)
- Committer:
- xavier_majorel
- Date:
- Tue Sep 08 13:29:46 2020 +0000
- Revision:
- 28:f1e7e7d7959f
- Parent:
- 27:a0daec0cec64
- Child:
- 29:32f644b921a5
version 1 led rouge definitive
Who changed what in which revision?
User | Revision | Line number | New contents of line |
---|---|---|---|
xavier_majorel | 28:f1e7e7d7959f | 1 | #include "mbed.h" |
dan | 0:7dec7e9ac085 | 2 | |
xavier_majorel | 28:f1e7e7d7959f | 3 | DigitalOut myled(LED1);//selection led |
dan | 0:7dec7e9ac085 | 4 | |
xavier_majorel | 28:f1e7e7d7959f | 5 | int main() { |
xavier_majorel | 28:f1e7e7d7959f | 6 | while(1) {// boucle |
xavier_majorel | 28:f1e7e7d7959f | 7 | myled = 1;//led eteinte |
xavier_majorel | 28:f1e7e7d7959f | 8 | wait(0.2);//attente |
xavier_majorel | 28:f1e7e7d7959f | 9 | myled = 0;//led allumée |
xavier_majorel | 28:f1e7e7d7959f | 10 | wait(0.2);//attente |
stevep | 4:81cea7a352b0 | 11 | } |
dan | 0:7dec7e9ac085 | 12 | } |