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:
- 20:99024caff6dc
- Parent:
- 18:f38c6e50ff1d
--- a/main.cpp Sun Mar 20 08:48:52 2022 +0000
+++ b/main.cpp Wed Apr 06 12:20:19 2022 +0000
@@ -12,6 +12,7 @@
DigitalOut LED(D9) ; // sortie logique pour la LED de la carte ( 1 allume)
//****variables ***********************************************************
+
int recpt = 0 ; // tampon d'arrivée d'un octet de la liaison série
float Vs = 0.5 ; // variable ou lire Vs de 0 à 1 pour 0 à 3.3V vrai
float Vp = 0.5 ; // variable pour lire Vp (potentiomètre)0 à 1 pour 0 à 3.3V