Update TFT_eSPI_RP2040.h

This commit is contained in:
Bodmer
2022-02-12 19:05:33 +00:00
committed by GitHub
parent efd7cc517c
commit 2aa4df5133

View File

@@ -107,10 +107,6 @@
#include <FS.h> #include <FS.h>
#endif #endif
#ifndef tft_Write_16N
#define tft_Write_16N tft_Write_16
#endif
//////////////////////////////////////////////////////////////////////////////////////// ////////////////////////////////////////////////////////////////////////////////////////
// Define the DC (TFT Data/Command or Register Select (RS))pin drive code // Define the DC (TFT Data/Command or Register Select (RS))pin drive code
//////////////////////////////////////////////////////////////////////////////////////// ////////////////////////////////////////////////////////////////////////////////////////
@@ -362,6 +358,11 @@
#define tft_Write_32D(C) WAIT_FOR_FIFO_FREE(2); TX_FIFO = (C); TX_FIFO = (C) #define tft_Write_32D(C) WAIT_FOR_FIFO_FREE(2); TX_FIFO = (C); TX_FIFO = (C)
#endif #endif
#ifndef tft_Write_16N
#define tft_Write_16N tft_Write_16
#endif
//////////////////////////////////////////////////////////////////////////////////////// ////////////////////////////////////////////////////////////////////////////////////////
// Macros to read from display using SPI or software SPI // Macros to read from display using SPI or software SPI
//////////////////////////////////////////////////////////////////////////////////////// ////////////////////////////////////////////////////////////////////////////////////////