Report Bugs Here

Moderator: Mmiscool

User avatar
By djalltra
#70291 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
User avatar
By djalltra
#70355 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
User avatar
By heckler
#70382 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