Troubleshooting

DRF0669 set up and use wiki issues and questions

userHead Matt.K.. 2024-03-27 11:11:09 55 Views0 Replies

I am trying to get the DRF0669 to run the examples that are listed on the wiki shown here: https://wiki.dfrobot.com/3.5inches_480_320_TFT_LCD_Capacitive_Touchscreen_SKU_DFR0669 and have found them quite inadequate when trying to trouble shoot. I was first wondering on more notation on the wiring and how it's set up. the wiring diragram only shows an UNO but the UNO isnt able to run most of the code on that page due to its memory limitations. Is there any diagrams that use the Mega to show wiring or at least some notation of what configuration the pins should be on the controller if a different one is used?

 

In the sample code there are the lines:

#include "DFRobot_GDL.h"

/*M0*/

#if defined ARDUINO_SAM_ZERO

#define TFT_DC  7

#define TFT_CS  5

#define TFT_RST 6

/*ESP32 and ESP8266*/

#elif defined(ESP32) || defined(ESP8266)

#define TFT_DC  D2

#define TFT_CS  D6

#define TFT_RST D3

/*AVR series mainboard*/

#else

#define TFT_DC  2

#define TFT_CS  3

#define TFT_RST 4

#endif

 

How does this a line with the wiring provided since I am not connecting to those pins from the diagram provided? 

 

Ultimately I plan on using this with a Teensy controller board but there seems to be a bunch more issues with this that I overlooked with this.

 

Thanks,

Matt