This commit is contained in:
e2002
2022-02-15 15:44:46 +03:00
parent 29b19b752c
commit 559a99f5e4
9 changed files with 50 additions and 39 deletions

View File

@@ -3,7 +3,6 @@
#include "Arduino.h"
#define TFT_ROTATE 3
#define TFT_LINEHGHT 10
#define TFT_FRAMEWDT 4

View File

@@ -8,7 +8,6 @@
#include "fonts/TinyFont6.h"
#include "fonts/DS_DIGI15pt7b.h"
#define TFT_ROTATE 0
#define TFT_LINEHGHT 8
#define TFT_FRAMEWDT 0
#define TFT_CONTRAST 55

View File

@@ -5,7 +5,6 @@
#include <Adafruit_GFX.h>
#include <Adafruit_SSD1306.h>
#define TFT_ROTATE 0
#define TFT_LINEHGHT 8
#define TFT_FRAMEWDT 0

View File

@@ -8,20 +8,6 @@
#include "../../config.h"
#include "../../network.h"
#define DTYPE INITR_BLACKTAB // 1.8' https://aliexpress.ru/item/1005002822797745.html
/* If there is a noisy line on one side of the screen, then in Adafruit_ST7735.cpp:
// Black tab, change MADCTL color filter
if ((options == INITR_BLACKTAB) || (options == INITR_MINI160x80)) {
uint8_t data = 0xC0;
sendCommand(ST77XX_MADCTL, &data, 1);
_add this_ -> _colstart = 2;
_add this_ -> _rowstart = 1;
}
*/
//#define DTYPE INITR_144GREENTAB // 1.44' https://aliexpress.ru/item/1005002822797745.html
class GFXClock {
public:
GFXClock() {};

View File

@@ -6,7 +6,6 @@
#include <Adafruit_ST7735.h>
#include "fonts/DS_DIGI28pt7b.h"
#define TFT_ROTATE 3
#define TFT_LINEHGHT 10
#define TFT_FRAMEWDT 4