Messa in campo 4 file - 26/06/2020 Francia

Dependencies:   mbed X_NUCLEO_IHM03A1_for

Fork of FORIGO_Modula_V7_3_VdcStep_maggio2020 by Francesco Pistone

Revision:
13:d1030d4e51a8
Parent:
12:b0fc1d313813
Child:
14:e2b5efa06c41
--- a/variables.hpp	Mon Mar 25 11:32:34 2019 +0000
+++ b/variables.hpp	Mon Mar 25 15:42:04 2019 +0000
@@ -58,6 +58,9 @@
 int pulseRised=0;                    // pulse from speed wheel occured. Define when is possible to determine speed of up down motor. 
 int pulseRised1 = 0;
 int pulseRised2 = 0;
+int dcEncoderCnt=0;
+double seedWheelDcPulse=0.0f;
+double frazioneImpulsi=0.0f;
 
 double rapportoRuote = 0.0f;
 double TBrpm = 0.0f;
@@ -117,6 +120,8 @@
 int aspettaStart=1;
 int countCicli=0;
 uint32_t fase = 0;
+double loLimitSpeed=0.2f;
+double hiLimitSpeed=0.2f;
 
 int clocca=0;
 int enableSpeed=0;