para el ventilador

Dependencies:   QEI FastPWM

Revision:
9:95fdcdc0977e
Parent:
8:208d965a3bd2
Child:
11:5cb7ae8bd831
diff -r 208d965a3bd2 -r 95fdcdc0977e main.cpp
--- a/main.cpp	Thu Apr 23 17:05:36 2020 +0000
+++ b/main.cpp	Sun Apr 26 08:50:12 2020 +0000
@@ -13,9 +13,10 @@
     
     System_Initialize();
 
-    while(1){     
+    while(1){
+         
+         Nextion_Encoder_Interaction();     
          Stepper_Driver_State_Machine();
-         Nextion_Encoder_Interaction();
          
          if(read_pressure_sensors_flag){
              Pressure_Sensors_Read();