[chronojump] LCD force sensor. Fixed RCA ending capture



commit 5b630b61bd7a589e65f3f050fa81473849d27126
Author: Xavier Padullés <x padulles gmail com>
Date:   Tue Nov 9 08:00:10 2021 -0300

    LCD force sensor. Fixed RCA ending capture

 arduino/ForceSensorLCD/ForceSensorLCD.ino | 8 ++++----
 1 file changed, 4 insertions(+), 4 deletions(-)
---
diff --git a/arduino/ForceSensorLCD/ForceSensorLCD.ino b/arduino/ForceSensorLCD/ForceSensorLCD.ino
index 6f9af94d3..97884f04a 100644
--- a/arduino/ForceSensorLCD/ForceSensorLCD.ino
+++ b/arduino/ForceSensorLCD/ForceSensorLCD.ino
@@ -88,7 +88,7 @@ float voltage;
 
 unsigned int lcdDelay = 25; //to be able to see the screen. Seconds are also printed in delay but 25 values 
are less than one second
 unsigned int lcdCount = 0;
-float measuredLcdDelayMax = 0; //The max in the lcdDelay period
+float measuredLcdDelayMax = 0; //The max in the lcdDelay periodca
 float measuredMax = 0; // The max since starting capture
 float measured = scale.get_units();
 
@@ -236,9 +236,9 @@ void loop()
       Serial.println(measured, 2); //scale.get_units() returns a float
 
       printOnLcd();
-      if (rcaState) {
-        end_capture();
-      }
+//      if (rcaState) {
+//        end_capture();
+//      }
     }
     if (button1State) {
       end_capture();


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]