Stabilus 322699 wDoublePID
Dependencies: mbed QEI PID DmTftLibraryEx
Diff: Display/DisplayDriver.cpp
- Revision:
- 36:cab8aa44ef91
- Parent:
- 35:0f6adc0b95b9
diff -r 0f6adc0b95b9 -r cab8aa44ef91 Display/DisplayDriver.cpp --- a/Display/DisplayDriver.cpp Mon Apr 11 11:52:49 2022 +0000 +++ b/Display/DisplayDriver.cpp Mon Apr 11 13:48:34 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]/ 1); - aui16_PlotPOS2VelClears_Lo[ui16_Index000] = (uint16_t) (ai32_POS2VelGraph[((ui16_Index000* ci64_TargetPOS)/ 240)- 1]/ 1); + aui16_PlotPOS2VelClears_Hi[ui16_Index000] = (uint16_t) (ai32_POS2VelGraph[(ui16_Index000* ci64_TargetPOS)/ 240]* 2); + aui16_PlotPOS2VelClears_Lo[ui16_Index000] = (uint16_t) (ai32_POS2VelGraph[((ui16_Index000* ci64_TargetPOS)/ 240)- 1]* 2); // Tft.drawVerticalLineEx (ui16_Index000, 175 - aui16_PlotPOS2VelClears_Hi[ui16_Index000], (int16_t) aui16_PlotPOS2VelClears_Hi[ui16_Index000]- aui16_PlotPOS2VelClears_Lo[ui16_Index000], ui16_Foreground); }