carte esclave Petit Robot

Dependencies:   mbed Herkulex_Library_2019 actions_Gr ident_crac actions_Pr

Revision:
7:553f3f1c2c53
Parent:
0:bc74da1c502f
Child:
8:8aeb718824ea
diff -r 45f9cf44718a -r 553f3f1c2c53 Capteurs/Capteur.cpp
--- a/Capteurs/Capteur.cpp	Tue May 14 15:41:32 2019 +0000
+++ b/Capteurs/Capteur.cpp	Thu May 16 10:54:23 2019 +0000
@@ -14,11 +14,18 @@
 /////////////////////////////////////Lecture Batterie////////////////////////////
 AnalogIn Val_batterie(PC_2);
 
+
 ////////////////////////////////////////Télémètres///////////////////////////////
+//distance
 AnalogIn telemetre1(PB_0);
 AnalogIn telemetre2(PC_5);
 AnalogIn telemetre3(PC_4);
 AnalogIn telemetre4(PA_5);
+//seuil logique
+DigitalIn telemetre1_isr(PB_1);
+DigitalIn telemetre2_isr(PA_7);
+DigitalIn telemetre3_isr(PA_6);
+DigitalIn telemetre4_isr(PA_4);
 ///////////////////////////////////Capteurs  multiCouleurs////////////////////////