From 89e83c277ee6f22ae6b37d708620579cc020108f Mon Sep 17 00:00:00 2001 From: KemoNine Date: Sat, 12 Sep 2020 20:05:58 -0400 Subject: [PATCH] Start implementation of SD Card info screen --- hardware/_controller/_controller.ino | 50 ++++++++++---- hardware/_controller/_controller.prj | Bin 6687 -> 8469 bytes hardware/_controller/_controller_GSLC.h | 83 +++++++++++++++++------- 3 files changed, 100 insertions(+), 33 deletions(-) diff --git a/hardware/_controller/_controller.ino b/hardware/_controller/_controller.ino index 652e00c..a7104bc 100644 --- a/hardware/_controller/_controller.ino +++ b/hardware/_controller/_controller.ino @@ -41,7 +41,6 @@ int batteryPercent; #define TFT_CS 9 #define TFT_DC 10 Adafruit_ILI9341 tft(TFT_CS, TFT_DC); -#include #define CHARS_HORIZONTAL 29 #define CHARS_ROWS 11 #define CHARS_TOTAL CHARS_HORIZONTAL * CHARS_ROWS @@ -89,6 +88,7 @@ gslc_tsElemRef* m_pElemRd1152 = NULL; gslc_tsElemRef* m_pElemRd96 = NULL; gslc_tsElemRef* m_pElemRdUART0 = NULL; gslc_tsElemRef* m_pElemRdUART5 = NULL; +gslc_tsElemRef* m_pElemSDInfo = NULL; gslc_tsElemRef* m_pElemStatusText = NULL; gslc_tsElemRef* m_pElemText = NULL; // @@ -103,8 +103,27 @@ static int16_t DebugOut(char ch) { if (ch == (char)'\n') Serial.println(""); els // ------------------------------------------------ // Callback Methods // ------------------------------------------------ -//