-->
Page 1 of 2

ili9341 tft not displaying after uploading

PostPosted: Mon Sep 25, 2017 9:54 am
by djalltra
hi can anyone help me i rcently bought the ili9341 tft and when i upload a sample code
the tft just display blank i noticed at time i need to press the reset button to restart the esp before the code finaly uploads and i can see what ever image i stored but say i make updates to my code and click save and run it displays me the same blank screen i have to tun on and off the nodemcu before it finally runs

Re: ili9341 tft not displaying after uploading

PostPosted: Tue Sep 26, 2017 9:45 am
by heckler
djalltra,

Could be many things... I'd suggest posting your code or others to look at.

regards
dwight

Re: here is just a simple code i used

PostPosted: Wed Sep 27, 2017 3:51 am
by djalltra
simple tft test
memclear

tft.setup(5, 4, 3) 'Setup TFT touch-screen
tft.text.color(tft.rgb(125,0,235))
tft.text.cursor(5,20)
tft.text.size(3)
tft.println("djalltra is back ")
Delay 4000

tft.bmp("/uploads/Saints_Row_3.bmp")
wait

Re: ili9341 tft not displaying after uploading

PostPosted: Wed Sep 27, 2017 9:46 pm
by heckler
djalltra,

Sorry I don't have a lot of time right now for a detailed response.

But on first glance (if that is your complete code)...
Make sure the first line is commented out with a '

why did you end with a wait??
Usually you would use the wait to allow for some sort of web page interaction, yet you do not have any interactive code in your sample.
You could just as easily use END instead of Wait

double check each statement against the documentation refrence to make sure you are using proper syntax. (commas, spaces, etc.

do a search for other examples of tft code

regards
dwight