Place to put your Basic demos and examples

Moderator: Mmiscool

User avatar
By Charly013
#53644 Hi, has anyone connect sucesfull a TFT to a ESP8266 and can post me the Basic code ?
( i searce now 2 Day for the fail on my DIY modul.... and now i am crazy :oops: )
mny tnx!
User avatar
By joeygbsn
#53814 Just got one of these the other day and have gotten it working. Attached is a diagram I made for hooking it up to a nodemcu board. The screen is not the same in the diagram, and has no touch, but the pinout is the same. And here is some test code pieced together from the docs:
Code: Select allmemclear
tft.setup(16, 4, 3)
button Demo, [demo]

[demo]
tft.text.color(tft.rgb(255,255,0))
tft.text.cursor(0,50)
tft.text.size(2)
tft.print("This is ")
tft.println("print ")
tft.println("second line")
tft.println("third line")
delay 200
tft.fill(0)
wait
You do not have the required permissions to view the files attached to this post.
User avatar
By Charly013
#53830 Hello & tnx for Replay / Example,

i try your Program (after change Setup for my connection tft.setup(18, 15, 1) )
but its not work on my ESP03 ;(
i dont know why, i will connect the Display tomorrow on my
nodemcu and i will report again

best regards
Charly