From b299875ae1f7e261e010c9ca67b5a90cb9f05273 Mon Sep 17 00:00:00 2001 From: Sjef Verhoeven PE5PVB Date: Tue, 15 Oct 2024 12:07:36 +0200 Subject: [PATCH] Added touch sources --- TEF6686_ESP32.ino | 1 + src/touch.cpp | 4 ++++ src/touch.h | 9 +++++++++ 3 files changed, 14 insertions(+) create mode 100644 src/touch.cpp create mode 100644 src/touch.h diff --git a/TEF6686_ESP32.ino b/TEF6686_ESP32.ino index 14eaeed..7342151 100644 --- a/TEF6686_ESP32.ino +++ b/TEF6686_ESP32.ino @@ -24,6 +24,7 @@ #include "src/gui.h" #include "src/comms.h" #include "src/rds.h" +#include "src/touch.h" #define ROTARY_PIN_A 34 #define ROTARY_PIN_B 36 diff --git a/src/touch.cpp b/src/touch.cpp new file mode 100644 index 0000000..975055d --- /dev/null +++ b/src/touch.cpp @@ -0,0 +1,4 @@ +#include "touch.h" +#include "language.h" +#include "constants.h" +#include "config.h" diff --git a/src/touch.h b/src/touch.h new file mode 100644 index 0000000..87c9d1e --- /dev/null +++ b/src/touch.h @@ -0,0 +1,9 @@ +#ifndef TOUCH_H +#define TOUCH_H + +#include +#include + +extern TFT_eSPI tft; + +#endif \ No newline at end of file