This commit is contained in:
Stephen Crane 2019-03-03 14:38:47 +00:00
parent e18c1fbfb9
commit 8431162ab3
1 changed files with 5 additions and 1 deletions

View File

@ -7,7 +7,11 @@
#include <UTFT.h>
#include "TinyFont.h"
static UTFT utft(TFT_MODEL, TFT_RS, TFT_WR, TFT_CS, TFT_RST);
#if !defined(TFT_SER)
#define TFT_SER 0
#endif
static UTFT utft(TFT_MODEL, TFT_RS, TFT_WR, TFT_CS, TFT_RST, TFT_SER);
#elif defined(USE_ESPI)
#pragma message "Configure TFT_eSPI in Makefile or User_Setup.h"