From c890d49a61ec723356c17f78d09c8fc7118f77f7 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Mehmet=20Gu=CC=88nce=20Akkoyun?= Date: Wed, 3 Jan 2024 14:02:53 +0300 Subject: [PATCH] Initial update --- library.json | 2 +- library.properties | 2 +- src/Console.h | 22 ++++++++-------------- 3 files changed, 10 insertions(+), 16 deletions(-) diff --git a/library.json b/library.json index d2dfad1..70ca87b 100644 --- a/library.json +++ b/library.json @@ -1,6 +1,6 @@ { "name": "Console", - "version": "1.6.10", + "version": "1.6.11", "keywords": "Console, Serial, VT100, UART, Color, Terminal", "description": "Virtual terminal sequences are control character sequences that can control cursor movement, color/font mode, and other operations when written to the output stream. Sequences may also be received on the input stream in response to an output stream query information sequence or as an encoding of user input when the appropriate mode is set. Arduino based VT100 comparable serial console library.", "authors": diff --git a/library.properties b/library.properties index 9960f3c..e1efbba 100644 --- a/library.properties +++ b/library.properties @@ -1,5 +1,5 @@ name=Console -version=1.6.10 +version=1.6.11 author=Gunce Akkoyun maintainer=Gunce Akkoyun sentence=Arduino based VT100 comparable serial console library. diff --git a/src/Console.h b/src/Console.h index b7a1617..765a57a 100644 --- a/src/Console.h +++ b/src/Console.h @@ -842,21 +842,15 @@ #endif // Print Interrupt Status Footer - Console::Text(_X + 44, _Y + 32, _Console_WHITE_, F("┬")); Console::Text(_X + 45, _Y + 32, _Console_WHITE_, F("│")); Console::Text(_X + 46, _Y + 32, _Console_WHITE_, F("┴")); - Console::Text(_X + 44, _Y + 42, _Console_WHITE_, F("┬")); Console::Text(_X + 45, _Y + 42, _Console_WHITE_, F("│")); Console::Text(_X + 46, _Y + 42, _Console_WHITE_, F("┴")); - Console::Text(_X + 44, _Y + 52, _Console_WHITE_, F("┬")); Console::Text(_X + 45, _Y + 52, _Console_WHITE_, F("│")); Console::Text(_X + 46, _Y + 52, _Console_WHITE_, F("┴")); - Console::Text(_X + 44, _Y + 62, _Console_WHITE_, F("┬")); Console::Text(_X + 45, _Y + 62, _Console_WHITE_, F("│")); Console::Text(_X + 46, _Y + 62, _Console_WHITE_, F("┴")); - Console::Text(_X + 44, _Y + 72, _Console_WHITE_, F("┬")); Console::Text(_X + 45, _Y + 72, _Console_WHITE_, F("│")); Console::Text(_X + 46, _Y + 72, _Console_WHITE_, F("┴")); - Console::Text(_X + 44, _Y + 84, _Console_WHITE_, F("┬")); Console::Text(_X + 45, _Y + 84, _Console_WHITE_, F("│")); Console::Text(_X + 46, _Y + 84, _Console_WHITE_, F("┴")); - Console::Text(_X + 44, _Y + 98, _Console_WHITE_, F("┬")); Console::Text(_X + 45, _Y + 98, _Console_WHITE_, F("│")); Console::Text(_X + 46, _Y + 98, _Console_WHITE_, F("┴")); + Console::Text(_X + 44, _Y + 70, _Console_WHITE_, F("┬")); Console::Text(_X + 45, _Y + 70, _Console_WHITE_, F("│")); Console::Text(_X + 46, _Y + 70, _Console_WHITE_, F("┴")); + Console::Text(_X + 44, _Y + 80, _Console_WHITE_, F("┬")); Console::Text(_X + 45, _Y + 80, _Console_WHITE_, F("│")); Console::Text(_X + 46, _Y + 80, _Console_WHITE_, F("┴")); + Console::Text(_X + 44, _Y + 90, _Console_WHITE_, F("┬")); Console::Text(_X + 45, _Y + 90, _Console_WHITE_, F("│")); Console::Text(_X + 46, _Y + 90, _Console_WHITE_, F("┴")); + Console::Text(_X + 44, _Y + 100, _Console_WHITE_, F("┬")); Console::Text(_X + 45, _Y + 100, _Console_WHITE_, F("│")); Console::Text(_X + 46, _Y + 100, _Console_WHITE_, F("┴")); Console::Text(_X + 44, _Y + 112, _Console_WHITE_, F("┬")); Console::Text(_X + 45, _Y + 112, _Console_WHITE_, F("│")); Console::Text(_X + 46, _Y + 112, _Console_WHITE_, F("┴")); - Console::Text(_X + 45, _Y + 34, _Console_WHITE_, F("EN1 [ ]")); - Console::Text(_X + 45, _Y + 44, _Console_WHITE_, F("EN2 [ ]")); - Console::Text(_X + 45, _Y + 54, _Console_WHITE_, F("ENV [ ]")); - Console::Text(_X + 45, _Y + 64, _Console_WHITE_, F("RTC [ ]")); - Console::Text(_X + 45, _Y + 74, _Console_WHITE_, F("RS485 [ ]")); - Console::Text(_X + 45, _Y + 86, _Console_WHITE_, F("Charger [ ]")); - Console::Text(_X + 45, _Y + 100, _Console_WHITE_, F("Battery [ ]")); + Console::Text(_X + 45, _Y + 72, _Console_WHITE_, F("EN1 [ ]")); + Console::Text(_X + 45, _Y + 82, _Console_WHITE_, F("EN2 [ ]")); + Console::Text(_X + 45, _Y + 92, _Console_WHITE_, F("ENV [ ]")); + Console::Text(_X + 45, _Y + 102, _Console_WHITE_, F("RS485 [ ]")); #endif