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.
etape0.h
00001 // actions menées 00002 // 1/ faire clignoter la led 10 fois 00003 // 2/ placer la sortie Vr à 1.227V ( 20°C ?) 00004 // 3/ informer le PC qu'on est en mode sans carte capteur 'h' 00005 // 4/ petit delai et eteindre la led 00006 // 5/ on force etape = 1 00007 00008 00009 void etape0() 00010 { 00011 for ( int i = 0 ; i < 10 ; i++) 00012 { 00013 LED = 0 ; // la sortie LED est mise à 0L 00014 wait(0.2) ; // attente de 0.2S 00015 LED = 1 ; 00016 wait(0.2) ; 00017 } 00018 00019 pc.putc('h') ; // on dit au PC "pas de carte capteur" 00020 00021 wait(0.2) ; // delai 00022 LED = 0 ; // eteindre la led 00023 00024 etape = 1 ; // changement d'étape à 1 00025 }
Generated on Mon Jul 18 2022 14:13:47 by
1.7.2