[chronojump/michrolab] Height of the bars coherent with axes



commit 3f1302286f35c59db17cefebf6f3b0613ff4f1b6
Author: Xavier Padullés <testing chronojump org>
Date:   Wed Jun 8 18:44:14 2022 +0200

    Height of the bars coherent with axes

 arduino/michrolab/michrolab.ino | 12 ++++++++++++
 1 file changed, 12 insertions(+)
---
diff --git a/arduino/michrolab/michrolab.ino b/arduino/michrolab/michrolab.ino
index 9e162940f..472d6378e 100644
--- a/arduino/michrolab/michrolab.ino
+++ b/arduino/michrolab/michrolab.ino
@@ -352,6 +352,7 @@ void setup() {
   totalPersons = getTotalPerson();
   readPersonsFile();
 
+
   for (int i = 0; i < 10; i++) {
     currentMenu[i].title = mainMenu[i].title;
     currentMenu[i].description = mainMenu[i].description;
@@ -359,6 +360,17 @@ void setup() {
   }
 
   tft.fillScreen(BLACK);
+  
+//Testing barPlot
+//  redrawAxes(tft, 30, 200, 290, 200, 290, 200, 0, 200, 20, "", "", "", WHITE, GREY, WHITE, WHITE, BLACK, 
RED, true);
+//  for (int i = 0; i< 100; i++)
+//  {
+//    barPlot(30, 200, 290, 200, 200, 5, i, 0.5, RED);
+//    delay(100);
+//    barPlot(30, 200, 290, 200, 200, 5, i, 0.5, BLACK);
+//    redrawAxes(tft, 30, 200, 290, 200, 290, 200, 0, 200, 20, "", "", "", WHITE, GREY, WHITE, WHITE, BLACK, 
RED, false);
+//  }
+  
   drawMenuBackground();
   showMenuEntry(currentMenuIndex);
 }


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