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.
Diff: main.cpp
- Revision:
- 28:f1e7e7d7959f
- Parent:
- 27:a0daec0cec64
- Child:
- 29:32f644b921a5
--- a/main.cpp Tue Sep 08 13:24:03 2020 +0000 +++ b/main.cpp Tue Sep 08 13:29:46 2020 +0000 @@ -1,12 +1,12 @@ -#include "mbed.h"://inclure bibliotheque mbed +#include "mbed.h" -DigitalOut myled(LED3);// selection de la led +DigitalOut myled(LED1);//selection led -int main() {//intrégres fonction - while(1) {//debut de la boucle - myled = 1;//led eteinte - wait(0.3);//temporisation - myled = 0;//Led allume - wait(0.1);//temporisation +int main() { + while(1) {// boucle + myled = 1;//led eteinte + wait(0.2);//attente + myled = 0;//led allumée + wait(0.2);//attente } }