Stabilus 322699 wDoublePID

Dependencies:   mbed QEI PID DmTftLibraryEx

Revision:
35:0f6adc0b95b9
Parent:
34:0522cebfe489
Child:
36:cab8aa44ef91
--- a/Display/DisplayDriver.cpp	Mon Apr 11 09:20:40 2022 +0000
+++ b/Display/DisplayDriver.cpp	Mon Apr 11 11:52:49 2022 +0000
@@ -592,8 +592,8 @@
 
         // LA:  Then PLOT the New
         //
-        aui16_PlotPOS2VelClears_Hi[ui16_Index000] = (uint16_t) (ai32_POS2VelGraph[(ui16_Index000* ci64_TargetPOS)/ 240]/ 3);
-        aui16_PlotPOS2VelClears_Lo[ui16_Index000] = (uint16_t) (ai32_POS2VelGraph[((ui16_Index000* ci64_TargetPOS)/ 240)- 1]/ 3);
+        aui16_PlotPOS2VelClears_Hi[ui16_Index000] = (uint16_t) (ai32_POS2VelGraph[(ui16_Index000* ci64_TargetPOS)/ 240]/ 1);
+        aui16_PlotPOS2VelClears_Lo[ui16_Index000] = (uint16_t) (ai32_POS2VelGraph[((ui16_Index000* ci64_TargetPOS)/ 240)- 1]/ 1);
         //
         Tft.drawVerticalLineEx  (ui16_Index000, 175 - aui16_PlotPOS2VelClears_Hi[ui16_Index000], (int16_t) aui16_PlotPOS2VelClears_Hi[ui16_Index000]- aui16_PlotPOS2VelClears_Lo[ui16_Index000], ui16_Foreground);
     }