woody
New Member
Posts: 1
|
Post by woody on Mar 24, 2024 16:25:49 GMT -8
I have an Arduino Uno with Newhaven Display 4.3" EVE2 TFT and the Newhaven FT81x shield. The only way I could get anything to display on the screen is to start the sketch with GD.begin(1, 10, 5), where the 1 is calibrate, the 10 is the CS/GPU select pin, and the 5 is the SD enable pin. I cannot the screen to display anything unless I have the 10 set for the 2nd parameter. My sketches work nicely as long as I start it like that. Per the readme, I changed CS in wiring.h to 10. I also changed DEFAULT_CS to 10 in GD2.h to see if that would work. I did also change SD_PIN in GD2.h to 5 (although the readme says to change in in GD2.cpp, i believe that to be incorrect). But if I upload my sketch with GD.begin(); with no parameters, the screen is blank. I was wondering if there is something where I need to change a default somewhere else.
Also, I used the asset builder to process a few .png's that are just 30x30 icons and put the file on the SD card. If I upload a sketch with LOAD_ASSESTS(); declared, I also get a blank screen. I have no idea why. I'm not sure if these issues are the same issue or if there are completely different problems. I can't get any of the example sketches that use SD card files to work. Just get the same blank screen unless I change GD.begin() to GD.begin(1, 10, 5) and comment out LOAD_ASSESTS(). Any help would be much appreciated
|
|
|
Post by tftlcdcyg on Apr 17, 2024 19:48:29 GMT -8
I don't have the shield for UNO from New Haven, but I could try using a 3.3V compatible Arduino and do some tests with a 4.3" NHD FT813 screen and an external microSD reader. I'm modifying the library to work with an RPi Pico and It wouldn't cost me anything to do some tests in a UNO. Please share some photos of your arrangement to try to help you from a distance.
|
|