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: etape1.h
- Revision:
- 19:1d637d004cb5
- Parent:
- 18:f38c6e50ff1d
--- a/etape1.h Thu Mar 03 18:02:05 2022 +0000 +++ b/etape1.h Sun Mar 20 08:48:52 2022 +0000 @@ -13,14 +13,14 @@ void etape1() { - // tester broche de l'inter ( entrée logique D2 nommée inter) + // tester broche de l'inter ( entrée logique D2 nommée inter ou K) if( inter == 1) // test inter sur carte MicroC { pc.putc('w'); } if( inter == 0) // test inter sur carte MicroC { pc.putc('v'); } // mesurer la tension analogique sur P0 - P = P0.read(); // regarde la tension sur P0 + P = P0.read(); // regarde la tension sur P0 pour savoir si 0 ou 1L if ( P > 0.51 ) pc.putc('s'); if ( P < 0.49 ) pc.putc('r');