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@27:a0daec0cec64, 2020-09-08 (annotated)
- Committer:
- xavier_majorel
- Date:
- Tue Sep 08 13:24:03 2020 +0000
- Revision:
- 27:a0daec0cec64
- Parent:
- 25:2bd120bb7a2b
- Child:
- 28:f1e7e7d7959f
version 2 led bleu
Who changed what in which revision?
User | Revision | Line number | New contents of line |
---|---|---|---|
xavier_majorel | 27:a0daec0cec64 | 1 | #include "mbed.h"://inclure bibliotheque mbed |
dan | 0:7dec7e9ac085 | 2 | |
xavier_majorel | 27:a0daec0cec64 | 3 | DigitalOut myled(LED3);// selection de la led |
dan | 0:7dec7e9ac085 | 4 | |
xavier_majorel | 27:a0daec0cec64 | 5 | int main() {//intrégres fonction |
xavier_majorel | 27:a0daec0cec64 | 6 | while(1) {//debut de la boucle |
xavier_majorel | 27:a0daec0cec64 | 7 | myled = 1;//led eteinte |
xavier_majorel | 27:a0daec0cec64 | 8 | wait(0.3);//temporisation |
xavier_majorel | 27:a0daec0cec64 | 9 | myled = 0;//Led allume |
xavier_majorel | 27:a0daec0cec64 | 10 | wait(0.1);//temporisation |
stevep | 4:81cea7a352b0 | 11 | } |
dan | 0:7dec7e9ac085 | 12 | } |