8#ifndef _dd_a_tft_util_h
9#define _dd_a_tft_util_h
15 AfTftDDDebugInterface(Adafruit_SPITFT& tft,
int x = 0,
int y = 0,
bool indicateSendCommand =
false): tft(tft) {
20 this->indicateSendCommand = indicateSendCommand;
24 if (indicateSendCommand) {
25 tft.fillRect(x + 2, y + 2, x + 12, y + 12, 0xFFFF);
27 tft.fillCircle(x + 7, y + 7, 5, 0xF800);
32 virtual void drawText(
const char* text,
bool isError) {
40 void showMsg(
const char* msg,
int xOff) {
49 tft.setCursor(x + xOff, y);
58 bool indicateSendCommand;
Definition: ddatftutil.h:13
virtual void logSendCommand(int state)
Definition: ddatftutil.h:23