All the previous but the PID

Dependencies:   mbed QEI PID DmTftLibraryEx

Revision:
30:e45282a70a4d
Parent:
29:7ce8c5779f5e
Child:
31:913f664c6189
--- a/main.cpp	Fri Mar 04 15:31:53 2022 +0000
+++ b/main.cpp	Fri Mar 11 10:10:21 2022 +0000
@@ -8,6 +8,8 @@
 #include "QEI.h"
 #include "SWPos.h"
 
+#include "DmTftIli9341.h"
+
 #include "Timers.h"
 //#include "Menu.h"
 #include "Eeprom.h"
@@ -31,6 +33,10 @@
 Ticker  SampleTimer;                    // LA:  To Sample 1AI any ms
 float   af_PlotSamples[240];            // LA:  "Horiz" Plot Array
 
+uint16_t    aui16_PlotSamples[240];
+uint16_t    aui16_PlotClears_Lo[240];
+uint16_t    aui16_PlotClears_Hi[240];
+
 // LA:  Theory of Operation
 //      ===================
 //
@@ -219,6 +225,7 @@
 
 
         // LA:  Wedge 4 LCDRefresh
+/*
         if  (
                 (i32_Pulses !=  Pulses_Prec)
             ) {
@@ -227,6 +234,7 @@
             LCM_SetTextColor    (Scale2RGBColor  (0, 0, 31), Scale2RGBColor  (31, 31, 0));
             LCM_DrawString  (0, 0+ (TEXT_ROW_SPACING* 1), StringText);
         }
+*/
 
 //        if  (out_PosizionatoreSW.ui32_PassedActual_ms != ms_0003_prec) {
         if  (ui32_Samplems != ms_0003_prec) {
@@ -303,6 +311,8 @@
         //  3)  Plot the current Section of the Sampling Vector
         //
 
+        LCM_PlotVector();
+//        getDmTft().setPixel    (0,0,1);
     }
 }