Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Added GPIO for SPI for Universal Touch Screen #21025

Merged
merged 4 commits into from
Mar 25, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,7 @@ All notable changes to this project will be documented in this file.
### Added
- Zigbee support for attributes of type `uint48` used by energy monitoring (#20992)
- Support for EU863-870 LoRaWanBridge
- Added GPIO for SPI for Universal Touch Screen

### Breaking Changed

Expand Down
3 changes: 3 additions & 0 deletions lib/lib_display/UDisplay/uDisplay.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -699,6 +699,9 @@ uDisplay::uDisplay(char *lp) : Renderer(800, 600) {
Serial.printf("CLK : %d\n", spi_clk);
Serial.printf("MOSI: %d\n", spi_mosi);
Serial.printf("DC : %d\n", spi_dc);
Serial.printf("TS_CS: %d\n", ut_spi_cs);
Serial.printf("TS_RST: %d\n", ut_reset);
Serial.printf("TS_IRQ: %d\n", ut_irq);
Serial.printf("BPAN: %d\n", bpanel);
Serial.printf("RES : %d\n", reset);
Serial.printf("MISO: %d\n", spi_miso);
Expand Down
7 changes: 7 additions & 0 deletions tasmota/include/tasmota_template.h
Original file line number Diff line number Diff line change
Expand Up @@ -217,6 +217,7 @@ enum UserSelectablePins {
GPIO_MAGIC_SWITCH, // MagicSwitch as in Sonoff BasicR4
GPIO_PIPSOLAR_TX, GPIO_PIPSOLAR_RX, // pipsolar inverter
GPIO_LORA_CS, GPIO_LORA_RST, GPIO_LORA_BUSY, GPIO_LORA_DI0, GPIO_LORA_DI1, GPIO_LORA_DI2, GPIO_LORA_DI3, GPIO_LORA_DI4, GPIO_LORA_DI5, // LoRa SPI
GPIO_TS_SPI_CS, GPIO_TS_RST, GPIO_TS_IRQ, // SPI for Universal Touch Screen
GPIO_SENSOR_END };

// Error as warning to rethink GPIO usage with max 2045
Expand Down Expand Up @@ -481,6 +482,7 @@ const char kSensorNames[] PROGMEM =
D_GPIO_MAGIC_SWITCH "|"
D_SENSOR_PIPSOLAR_TX "|" D_SENSOR_PIPSOLAR_RX "|"
D_GPIO_LORA_CS "|" D_GPIO_LORA_RST "|" D_GPIO_LORA_BUSY "|" D_GPIO_LORA_DI "0|" D_GPIO_LORA_DI "1|" D_GPIO_LORA_DI "2|" D_GPIO_LORA_DI "3|" D_GPIO_LORA_DI "4|" D_GPIO_LORA_DI "5|"
D_GPIO_TS_SPI_CS "|" D_GPIO_TS_RST "|" D_GPIO_TS_IRQ "|"
;

const char kSensorNamesFixed[] PROGMEM =
Expand Down Expand Up @@ -649,6 +651,11 @@ const uint16_t kGpioNiceList[] PROGMEM = {
AGPIO(GPIO_SSPI_DC), // Software SPI Data or Command

#if defined(USE_DISPLAY) || defined(USE_LVGL)
#ifdef USE_UNIVERSAL_TOUCH
AGPIO(GPIO_TS_SPI_CS), // Touch CS
AGPIO(GPIO_TS_RST), // Touch Reset
AGPIO(GPIO_TS_IRQ), // Touch IRQ
#endif // USE_UNIVERSAL_TOUCH
#ifdef USE_DISPLAY_ILI9341
AGPIO(GPIO_ILI9341_CS),
AGPIO(GPIO_ILI9341_DC),
Expand Down
4 changes: 4 additions & 0 deletions tasmota/language/af_AF.h
Original file line number Diff line number Diff line change
Expand Up @@ -712,6 +712,10 @@
#define D_SENSOR_SPI_MOSI "SPI MOSI"
#define D_SENSOR_SPI_CLK "SPI CLK"
#define D_SENSOR_SDIO_CMD "SDIO CMD"
#define D_GPIO_TS_SPI_CS "TS SPI CS"
#define D_GPIO_TS_RST "TS RST"
#define D_GPIO_TS_IRQ "TS IRQ"
#define D_SENSOR_SDIO_CMD "SDIO CMD"
#define D_SENSOR_SDIO_CLK "SDIO CLK"
#define D_SENSOR_SDIO_D0 "SDIO D0"
#define D_SENSOR_SDIO_D1 "SDIO D1"
Expand Down
4 changes: 4 additions & 0 deletions tasmota/language/bg_BG.h
Original file line number Diff line number Diff line change
Expand Up @@ -712,6 +712,10 @@
#define D_SENSOR_SPI_MOSI "SPI MOSI"
#define D_SENSOR_SPI_CLK "SPI CLK"
#define D_SENSOR_SDIO_CMD "SDIO CMD"
#define D_GPIO_TS_SPI_CS "TS SPI CS"
#define D_GPIO_TS_RST "TS RST"
#define D_GPIO_TS_IRQ "TS IRQ"
#define D_SENSOR_SDIO_CMD "SDIO CMD"
#define D_SENSOR_SDIO_CLK "SDIO CLK"
#define D_SENSOR_SDIO_D0 "SDIO D0"
#define D_SENSOR_SDIO_D1 "SDIO D1"
Expand Down
4 changes: 4 additions & 0 deletions tasmota/language/ca_AD.h
Original file line number Diff line number Diff line change
Expand Up @@ -712,6 +712,10 @@
#define D_SENSOR_SPI_MOSI "SPI MOSI"
#define D_SENSOR_SPI_CLK "SPI CLK"
#define D_SENSOR_SDIO_CMD "SDIO CMD"
#define D_GPIO_TS_SPI_CS "TS SPI CS"
#define D_GPIO_TS_RST "TS RST"
#define D_GPIO_TS_IRQ "TS IRQ"
#define D_SENSOR_SDIO_CMD "SDIO CMD"
#define D_SENSOR_SDIO_CLK "SDIO CLK"
#define D_SENSOR_SDIO_D0 "SDIO D0"
#define D_SENSOR_SDIO_D1 "SDIO D1"
Expand Down
4 changes: 4 additions & 0 deletions tasmota/language/cs_CZ.h
Original file line number Diff line number Diff line change
Expand Up @@ -712,6 +712,10 @@
#define D_SENSOR_SPI_MOSI "SPI MOSI"
#define D_SENSOR_SPI_CLK "SPI CLK"
#define D_SENSOR_SDIO_CMD "SDIO CMD"
#define D_GPIO_TS_SPI_CS "TS SPI CS"
#define D_GPIO_TS_RST "TS RST"
#define D_GPIO_TS_IRQ "TS IRQ"
#define D_SENSOR_SDIO_CMD "SDIO CMD"
#define D_SENSOR_SDIO_CLK "SDIO CLK"
#define D_SENSOR_SDIO_D0 "SDIO D0"
#define D_SENSOR_SDIO_D1 "SDIO D1"
Expand Down
4 changes: 4 additions & 0 deletions tasmota/language/de_DE.h
Original file line number Diff line number Diff line change
Expand Up @@ -712,6 +712,10 @@
#define D_SENSOR_SPI_MOSI "SPI MOSI"
#define D_SENSOR_SPI_CLK "SPI CLK"
#define D_SENSOR_SDIO_CMD "SDIO CMD"
#define D_GPIO_TS_SPI_CS "TS SPI CS"
#define D_GPIO_TS_RST "TS RST"
#define D_GPIO_TS_IRQ "TS IRQ"
#define D_SENSOR_SDIO_CMD "SDIO CMD"
#define D_SENSOR_SDIO_CLK "SDIO CLK"
#define D_SENSOR_SDIO_D0 "SDIO D0"
#define D_SENSOR_SDIO_D1 "SDIO D1"
Expand Down
4 changes: 4 additions & 0 deletions tasmota/language/el_GR.h
Original file line number Diff line number Diff line change
Expand Up @@ -712,6 +712,10 @@
#define D_SENSOR_SPI_MOSI "SPI MOSI"
#define D_SENSOR_SPI_CLK "SPI CLK"
#define D_SENSOR_SDIO_CMD "SDIO CMD"
#define D_GPIO_TS_SPI_CS "TS SPI CS"
#define D_GPIO_TS_RST "TS RST"
#define D_GPIO_TS_IRQ "TS IRQ"
#define D_SENSOR_SDIO_CMD "SDIO CMD"
#define D_SENSOR_SDIO_CLK "SDIO CLK"
#define D_SENSOR_SDIO_D0 "SDIO D0"
#define D_SENSOR_SDIO_D1 "SDIO D1"
Expand Down
4 changes: 4 additions & 0 deletions tasmota/language/en_GB.h
Original file line number Diff line number Diff line change
Expand Up @@ -712,6 +712,10 @@
#define D_SENSOR_SPI_MOSI "SPI MOSI"
#define D_SENSOR_SPI_CLK "SPI CLK"
#define D_SENSOR_SDIO_CMD "SDIO CMD"
#define D_GPIO_TS_SPI_CS "TS SPI CS"
#define D_GPIO_TS_RST "TS RST"
#define D_GPIO_TS_IRQ "TS IRQ"
#define D_SENSOR_SDIO_CMD "SDIO CMD"
#define D_SENSOR_SDIO_CLK "SDIO CLK"
#define D_SENSOR_SDIO_D0 "SDIO D0"
#define D_SENSOR_SDIO_D1 "SDIO D1"
Expand Down
4 changes: 4 additions & 0 deletions tasmota/language/es_ES.h
Original file line number Diff line number Diff line change
Expand Up @@ -712,6 +712,10 @@
#define D_SENSOR_SPI_MOSI "SPI MOSI"
#define D_SENSOR_SPI_CLK "SPI CLK"
#define D_SENSOR_SDIO_CMD "SDIO CMD"
#define D_GPIO_TS_SPI_CS "TS SPI CS"
#define D_GPIO_TS_RST "TS RST"
#define D_GPIO_TS_IRQ "TS IRQ"
#define D_SENSOR_SDIO_CMD "SDIO CMD"
#define D_SENSOR_SDIO_CLK "SDIO CLK"
#define D_SENSOR_SDIO_D0 "SDIO D0"
#define D_SENSOR_SDIO_D1 "SDIO D1"
Expand Down
4 changes: 4 additions & 0 deletions tasmota/language/fr_FR.h
Original file line number Diff line number Diff line change
Expand Up @@ -712,6 +712,10 @@
#define D_SENSOR_SPI_MOSI "SPI MOSI"
#define D_SENSOR_SPI_CLK "SPI Clk"
#define D_SENSOR_SDIO_CMD "SDIO Cmd"
#define D_GPIO_TS_SPI_CS "TS SPI CS"
#define D_GPIO_TS_RST "TS RST"
#define D_GPIO_TS_IRQ "TS IRQ"
#define D_SENSOR_SDIO_CMD "SDIO CMD"
#define D_SENSOR_SDIO_CLK "SDIO Clk"
#define D_SENSOR_SDIO_D0 "SDIO D0"
#define D_SENSOR_SDIO_D1 "SDIO D1"
Expand Down
4 changes: 4 additions & 0 deletions tasmota/language/fy_NL.h
Original file line number Diff line number Diff line change
Expand Up @@ -712,6 +712,10 @@
#define D_SENSOR_SPI_MOSI "SPI MOSI"
#define D_SENSOR_SPI_CLK "SPI CLK"
#define D_SENSOR_SDIO_CMD "SDIO CMD"
#define D_GPIO_TS_SPI_CS "TS SPI CS"
#define D_GPIO_TS_RST "TS RST"
#define D_GPIO_TS_IRQ "TS IRQ"
#define D_SENSOR_SDIO_CMD "SDIO CMD"
#define D_SENSOR_SDIO_CLK "SDIO CLK"
#define D_SENSOR_SDIO_D0 "SDIO D0"
#define D_SENSOR_SDIO_D1 "SDIO D1"
Expand Down
4 changes: 4 additions & 0 deletions tasmota/language/he_HE.h
Original file line number Diff line number Diff line change
Expand Up @@ -712,6 +712,10 @@
#define D_SENSOR_SPI_MOSI "SPI MOSI"
#define D_SENSOR_SPI_CLK "SPI CLK"
#define D_SENSOR_SDIO_CMD "SDIO CMD"
#define D_GPIO_TS_SPI_CS "TS SPI CS"
#define D_GPIO_TS_RST "TS RST"
#define D_GPIO_TS_IRQ "TS IRQ"
#define D_SENSOR_SDIO_CMD "SDIO CMD"
#define D_SENSOR_SDIO_CLK "SDIO CLK"
#define D_SENSOR_SDIO_D0 "SDIO D0"
#define D_SENSOR_SDIO_D1 "SDIO D1"
Expand Down
4 changes: 4 additions & 0 deletions tasmota/language/hu_HU.h
Original file line number Diff line number Diff line change
Expand Up @@ -712,6 +712,10 @@
#define D_SENSOR_SPI_MOSI "SPI MOSI"
#define D_SENSOR_SPI_CLK "SPI CLK"
#define D_SENSOR_SDIO_CMD "SDIO CMD"
#define D_GPIO_TS_SPI_CS "TS SPI CS"
#define D_GPIO_TS_RST "TS RST"
#define D_GPIO_TS_IRQ "TS IRQ"
#define D_SENSOR_SDIO_CMD "SDIO CMD"
#define D_SENSOR_SDIO_CLK "SDIO CLK"
#define D_SENSOR_SDIO_D0 "SDIO D0"
#define D_SENSOR_SDIO_D1 "SDIO D1"
Expand Down
4 changes: 4 additions & 0 deletions tasmota/language/it_IT.h
Original file line number Diff line number Diff line change
Expand Up @@ -712,6 +712,10 @@
#define D_SENSOR_SPI_MOSI "SPI - MOSI"
#define D_SENSOR_SPI_CLK "SPI - CLK"
#define D_SENSOR_SDIO_CMD "SDIO - CMD"
#define D_GPIO_TS_SPI_CS "TS SPI CS"
#define D_GPIO_TS_RST "TS RST"
#define D_GPIO_TS_IRQ "TS IRQ"
#define D_SENSOR_SDIO_CMD "SDIO CMD"
#define D_SENSOR_SDIO_CLK "SDIO - CLK"
#define D_SENSOR_SDIO_D0 "SDIO - D0"
#define D_SENSOR_SDIO_D1 "SDIO - D1"
Expand Down
4 changes: 4 additions & 0 deletions tasmota/language/ko_KO.h
Original file line number Diff line number Diff line change
Expand Up @@ -712,6 +712,10 @@
#define D_SENSOR_SPI_MOSI "SPI MOSI"
#define D_SENSOR_SPI_CLK "SPI CLK"
#define D_SENSOR_SDIO_CMD "SDIO CMD"
#define D_GPIO_TS_SPI_CS "TS SPI CS"
#define D_GPIO_TS_RST "TS RST"
#define D_GPIO_TS_IRQ "TS IRQ"
#define D_SENSOR_SDIO_CMD "SDIO CMD"
#define D_SENSOR_SDIO_CLK "SDIO CLK"
#define D_SENSOR_SDIO_D0 "SDIO D0"
#define D_SENSOR_SDIO_D1 "SDIO D1"
Expand Down
4 changes: 4 additions & 0 deletions tasmota/language/nl_NL.h
Original file line number Diff line number Diff line change
Expand Up @@ -712,6 +712,10 @@
#define D_SENSOR_SPI_MOSI "SPI MOSI"
#define D_SENSOR_SPI_CLK "SPI CLK"
#define D_SENSOR_SDIO_CMD "SDIO CMD"
#define D_GPIO_TS_SPI_CS "TS SPI CS"
#define D_GPIO_TS_RST "TS RST"
#define D_GPIO_TS_IRQ "TS IRQ"
#define D_SENSOR_SDIO_CMD "SDIO CMD"
#define D_SENSOR_SDIO_CLK "SDIO CLK"
#define D_SENSOR_SDIO_D0 "SDIO D0"
#define D_SENSOR_SDIO_D1 "SDIO D1"
Expand Down
4 changes: 4 additions & 0 deletions tasmota/language/pl_PL.h
Original file line number Diff line number Diff line change
Expand Up @@ -712,6 +712,10 @@
#define D_SENSOR_SPI_MOSI "SPI MOSI"
#define D_SENSOR_SPI_CLK "SPI CLK"
#define D_SENSOR_SDIO_CMD "SDIO CMD"
#define D_GPIO_TS_SPI_CS "TS SPI CS"
#define D_GPIO_TS_RST "TS RST"
#define D_GPIO_TS_IRQ "TS IRQ"
#define D_SENSOR_SDIO_CMD "SDIO CMD"
#define D_SENSOR_SDIO_CLK "SDIO CLK"
#define D_SENSOR_SDIO_D0 "SDIO D0"
#define D_SENSOR_SDIO_D1 "SDIO D1"
Expand Down
4 changes: 4 additions & 0 deletions tasmota/language/pt_BR.h
Original file line number Diff line number Diff line change
Expand Up @@ -712,6 +712,10 @@
#define D_SENSOR_SPI_MOSI "SPI MOSI"
#define D_SENSOR_SPI_CLK "SPI CLK"
#define D_SENSOR_SDIO_CMD "SDIO CMD"
#define D_GPIO_TS_SPI_CS "TS SPI CS"
#define D_GPIO_TS_RST "TS RST"
#define D_GPIO_TS_IRQ "TS IRQ"
#define D_SENSOR_SDIO_CMD "SDIO CMD"
#define D_SENSOR_SDIO_CLK "SDIO CLK"
#define D_SENSOR_SDIO_D0 "SDIO D0"
#define D_SENSOR_SDIO_D1 "SDIO D1"
Expand Down
4 changes: 4 additions & 0 deletions tasmota/language/pt_PT.h
Original file line number Diff line number Diff line change
Expand Up @@ -712,6 +712,10 @@
#define D_SENSOR_SPI_MOSI "SPI MOSI"
#define D_SENSOR_SPI_CLK "SPI CLK"
#define D_SENSOR_SDIO_CMD "SDIO CMD"
#define D_GPIO_TS_SPI_CS "TS SPI CS"
#define D_GPIO_TS_RST "TS RST"
#define D_GPIO_TS_IRQ "TS IRQ"
#define D_SENSOR_SDIO_CMD "SDIO CMD"
#define D_SENSOR_SDIO_CLK "SDIO CLK"
#define D_SENSOR_SDIO_D0 "SDIO D0"
#define D_SENSOR_SDIO_D1 "SDIO D1"
Expand Down
4 changes: 4 additions & 0 deletions tasmota/language/ro_RO.h
Original file line number Diff line number Diff line change
Expand Up @@ -712,6 +712,10 @@
#define D_SENSOR_SPI_MOSI "SPI MOSI"
#define D_SENSOR_SPI_CLK "SPI CLK"
#define D_SENSOR_SDIO_CMD "SDIO CMD"
#define D_GPIO_TS_SPI_CS "TS SPI CS"
#define D_GPIO_TS_RST "TS RST"
#define D_GPIO_TS_IRQ "TS IRQ"
#define D_SENSOR_SDIO_CMD "SDIO CMD"
#define D_SENSOR_SDIO_CLK "SDIO CLK"
#define D_SENSOR_SDIO_D0 "SDIO D0"
#define D_SENSOR_SDIO_D1 "SDIO D1"
Expand Down
4 changes: 4 additions & 0 deletions tasmota/language/ru_RU.h
Original file line number Diff line number Diff line change
Expand Up @@ -713,6 +713,10 @@
#define D_SENSOR_SPI_MOSI "SPI MOSI"
#define D_SENSOR_SPI_CLK "SPI CLK"
#define D_SENSOR_SDIO_CMD "SDIO CMD"
#define D_GPIO_TS_SPI_CS "TS SPI CS"
#define D_GPIO_TS_RST "TS RST"
#define D_GPIO_TS_IRQ "TS IRQ"
#define D_SENSOR_SDIO_CMD "SDIO CMD"
#define D_SENSOR_SDIO_CLK "SDIO CLK"
#define D_SENSOR_SDIO_D0 "SDIO D0"
#define D_SENSOR_SDIO_D1 "SDIO D1"
Expand Down
4 changes: 4 additions & 0 deletions tasmota/language/sk_SK.h
Original file line number Diff line number Diff line change
Expand Up @@ -712,6 +712,10 @@
#define D_SENSOR_SPI_MOSI "SPI MOSI"
#define D_SENSOR_SPI_CLK "SPI CLK"
#define D_SENSOR_SDIO_CMD "SDIO CMD"
#define D_GPIO_TS_SPI_CS "TS SPI CS"
#define D_GPIO_TS_RST "TS RST"
#define D_GPIO_TS_IRQ "TS IRQ"
#define D_SENSOR_SDIO_CMD "SDIO CMD"
#define D_SENSOR_SDIO_CLK "SDIO CLK"
#define D_SENSOR_SDIO_D0 "SDIO D0"
#define D_SENSOR_SDIO_D1 "SDIO D1"
Expand Down
4 changes: 4 additions & 0 deletions tasmota/language/sv_SE.h
Original file line number Diff line number Diff line change
Expand Up @@ -712,6 +712,10 @@
#define D_SENSOR_SPI_MOSI "SPI MOSI"
#define D_SENSOR_SPI_CLK "SPI CLK"
#define D_SENSOR_SDIO_CMD "SDIO CMD"
#define D_GPIO_TS_SPI_CS "TS SPI CS"
#define D_GPIO_TS_RST "TS RST"
#define D_GPIO_TS_IRQ "TS IRQ"
#define D_SENSOR_SDIO_CMD "SDIO CMD"
#define D_SENSOR_SDIO_CLK "SDIO CLK"
#define D_SENSOR_SDIO_D0 "SDIO D0"
#define D_SENSOR_SDIO_D1 "SDIO D1"
Expand Down
4 changes: 4 additions & 0 deletions tasmota/language/tr_TR.h
Original file line number Diff line number Diff line change
Expand Up @@ -712,6 +712,10 @@
#define D_SENSOR_SPI_MOSI "SPI MOSI"
#define D_SENSOR_SPI_CLK "SPI CLK"
#define D_SENSOR_SDIO_CMD "SDIO CMD"
#define D_GPIO_TS_SPI_CS "TS SPI CS"
#define D_GPIO_TS_RST "TS RST"
#define D_GPIO_TS_IRQ "TS IRQ"
#define D_SENSOR_SDIO_CMD "SDIO CMD"
#define D_SENSOR_SDIO_CLK "SDIO CLK"
#define D_SENSOR_SDIO_D0 "SDIO D0"
#define D_SENSOR_SDIO_D1 "SDIO D1"
Expand Down
4 changes: 4 additions & 0 deletions tasmota/language/uk_UA.h
Original file line number Diff line number Diff line change
Expand Up @@ -712,6 +712,10 @@
#define D_SENSOR_SPI_MOSI "SPI MOSI"
#define D_SENSOR_SPI_CLK "SPI CLK"
#define D_SENSOR_SDIO_CMD "SDIO CMD"
#define D_GPIO_TS_SPI_CS "TS SPI CS"
#define D_GPIO_TS_RST "TS RST"
#define D_GPIO_TS_IRQ "TS IRQ"
#define D_SENSOR_SDIO_CMD "SDIO CMD"
#define D_SENSOR_SDIO_CLK "SDIO CLK"
#define D_SENSOR_SDIO_D0 "SDIO D0"
#define D_SENSOR_SDIO_D1 "SDIO D1"
Expand Down
4 changes: 4 additions & 0 deletions tasmota/language/vi_VN.h
Original file line number Diff line number Diff line change
Expand Up @@ -712,6 +712,10 @@
#define D_SENSOR_SPI_MOSI "SPI MOSI"
#define D_SENSOR_SPI_CLK "SPI CLK"
#define D_SENSOR_SDIO_CMD "SDIO CMD"
#define D_GPIO_TS_SPI_CS "TS SPI CS"
#define D_GPIO_TS_RST "TS RST"
#define D_GPIO_TS_IRQ "TS IRQ"
#define D_SENSOR_SDIO_CMD "SDIO CMD"
#define D_SENSOR_SDIO_CLK "SDIO CLK"
#define D_SENSOR_SDIO_D0 "SDIO D0"
#define D_SENSOR_SDIO_D1 "SDIO D1"
Expand Down
4 changes: 4 additions & 0 deletions tasmota/language/zh_CN.h
Original file line number Diff line number Diff line change
Expand Up @@ -712,6 +712,10 @@
#define D_SENSOR_SPI_MOSI "SPI MOSI"
#define D_SENSOR_SPI_CLK "SPI CLK"
#define D_SENSOR_SDIO_CMD "SDIO CMD"
#define D_GPIO_TS_SPI_CS "TS SPI CS"
#define D_GPIO_TS_RST "TS RST"
#define D_GPIO_TS_IRQ "TS IRQ"
#define D_SENSOR_SDIO_CMD "SDIO CMD"
#define D_SENSOR_SDIO_CLK "SDIO CLK"
#define D_SENSOR_SDIO_D0 "SDIO D0"
#define D_SENSOR_SDIO_D1 "SDIO D1"
Expand Down
4 changes: 4 additions & 0 deletions tasmota/language/zh_TW.h
Original file line number Diff line number Diff line change
Expand Up @@ -712,6 +712,10 @@
#define D_SENSOR_SPI_MOSI "SPI MOSI"
#define D_SENSOR_SPI_CLK "SPI CLK"
#define D_SENSOR_SDIO_CMD "SDIO CMD"
#define D_GPIO_TS_SPI_CS "TS SPI CS"
#define D_GPIO_TS_RST "TS RST"
#define D_GPIO_TS_IRQ "TS IRQ"
#define D_SENSOR_SDIO_CMD "SDIO CMD"
#define D_SENSOR_SDIO_CLK "SDIO CLK"
#define D_SENSOR_SDIO_D0 "SDIO D0"
#define D_SENSOR_SDIO_D1 "SDIO D1"
Expand Down
1 change: 0 additions & 1 deletion tasmota/tasmota_xdrv_driver/xdrv_54_lvgl.ino
Original file line number Diff line number Diff line change
Expand Up @@ -360,7 +360,6 @@ void lvgl_touchscreen_read(lv_indev_t *indev_drv, lv_indev_data_t *data) {
// keep data for TS calibration
lv_ts_calibration.state = data->state;
if (data->state == LV_INDEV_STATE_PRESSED) { // if not pressed, the data may be invalid
AddLog(LOG_LEVEL_DEBUG_MORE, "LVG: TS: %i, %i", data->point.x, data->point.y);
lv_ts_calibration.x = data->point.x;
lv_ts_calibration.y = data->point.y;
lv_ts_calibration.raw_x = Touch_Status(-1);
Expand Down
4 changes: 2 additions & 2 deletions tasmota/tasmota_xdrv_driver/xdrv_55_touch.ino
Original file line number Diff line number Diff line change
Expand Up @@ -247,7 +247,7 @@ void utouch_Touch_Init() {
char *name;
utouch_found = renderer->utouch_Init(&name);
if (utouch_found) {
AddLog(LOG_LEVEL_INFO, PSTR("UT: %s"), name);
AddLog(LOG_LEVEL_INFO, PSTR("UT : %s"), name);
}
}
}
Expand Down Expand Up @@ -469,7 +469,7 @@ void Touch_Check(void(*rotconvert)(int16_t *x, int16_t *y)) {
#endif // USE_TOUCH_BUTTONS

rotconvert(&TSGlobal.touch_xp, &TSGlobal.touch_yp);
AddLog(LOG_LEVEL_DEBUG_MORE, "TS : TSGlobal.touched x=%i y=%i gest=0x%02x (raw x=%i y=%i)", TSGlobal.touch_xp, TSGlobal.touch_yp, TSGlobal.gesture, TSGlobal.raw_touch_xp, TSGlobal.raw_touch_yp);
AddLog(LOG_LEVEL_DEBUG_MORE, "TS : touched x=%i y=%i gest=0x%02x (raw x=%i y=%i)", TSGlobal.touch_xp, TSGlobal.touch_yp, TSGlobal.gesture, TSGlobal.raw_touch_xp, TSGlobal.raw_touch_yp);

#ifdef USE_TOUCH_BUTTONS
CheckTouchButtons(TSGlobal.touched, TSGlobal.touch_xp, TSGlobal.touch_yp);
Expand Down
Loading