Need help with Arduino Uno Q and TFT028 #180180
Replies: 2 comments 3 replies
-
|
Hello! Your pin settings in the code probably won't work. TFT_eSPI needs its User_Setup.h edited, and Arduino App Lab won’t let you change it. If you want to fix it, edit the library outside App Lab or use a different library that lets you set pins in the sketch. |
Beta Was this translation helpful? Give feedback.
3 replies
-
|
Sorry, i was completely wrong! The TFT028 uses SPI only for SD-Slot. The display works only in parallel mode. |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
Body
Hi,
i tried to Display with TF028, ILI9341 and LIB TFT_eSPI on Arduino Uno Q in Arduino App Lab.
Because i don't know how to edit User_Setup.h FILE IN THE LIBRARY, i tried to define the pins and drivers in code:
#define TFT_SPI_PORT 2 // SPI 2 maximum clock rate is 27MHz
#define TFT_MOSI D11
#define TFT_MISO D12
#define TFT_SCLK D13
#define TFT_CS D17 // Chip select control pin to TFT CS
#define TFT_DC D16 // Data Command control pin to TFT DC (may be labelled RS = Register Select)
#define TFT_RST D18 // Reset pin to TFT RST (or RESET)
#define TFT_SPI_MODE 0
#define ILI9341_DRIVER
I can see Pulses on the pins TFT_SCLK and TFT_MOSI, but not on TFT_MISO.
No reaction on the display.
Has anyone a code example?
Does anyone know how to edit TFT_eSPI.h in Arduino App Lab?
Best regards
Frank
Guidelines
Beta Was this translation helpful? Give feedback.
All reactions