- custom_resized_.jpg (202.57 KiB) Viewed 872 times
Search found 9 matches
- Fri Oct 29, 2021 5:28 pm
- Forum: ESP32 boards
- Topic: search working well progam for xpt2046
- Replies: 11
- Views: 3477
- Fri Oct 29, 2021 4:08 pm
- Forum: ESP32 boards
- Topic: search working well progam for xpt2046
- Replies: 11
- Views: 3477
Re: search working well progam for xpt2046
Thank you Roberthh .Nice to have someone like you to help us . The fully working program for other beginners like me. Switches an LED on off via touch """ILI9341/xpt2046 demo _ESP32 defkitV1""" #connection on ESP32 #TFT-----------------Touch # MISO = 19------= 12 # MOSI =23-------= 13 # clk =18-----...
- Thu Oct 28, 2021 5:02 pm
- Forum: ESP32 boards
- Topic: search working well progam for xpt2046
- Replies: 11
- Views: 3477
Re: search working well progam for xpt2046
What am I still doing wrong? Also tested the other solutions but also error 34 import machine 35 spi = machine.SPI(1, baudrate=1000000, miso=machine.Pin(12), mosi=machine.Pin(13), sck=machine.Pin(14)) 36 ts_cs = machine.Pin(15, machine.Pin.OUT) 37 38 touch = xpt2046_syn.XPT2046(spi = spi, confidence...
- Thu Oct 28, 2021 3:48 pm
- Forum: ESP32 boards
- Topic: search working well progam for xpt2046
- Replies: 11
- Views: 3477
Re: search working well progam for xpt2046
Super thank you Roberthh ....and also for quick reply SUPER !!!
- Thu Oct 28, 2021 2:34 pm
- Forum: ESP32 boards
- Topic: search working well progam for xpt2046
- Replies: 11
- Views: 3477
Re: search working well progam for xpt2046
Thanks Roberthh for answer. Another question. Now I read the x and y in a sting print(str(stisk2)) Can I also read the x and y separately from the xpt2046_syn ?
- Sun Oct 24, 2021 9:15 pm
- Forum: ESP32 boards
- Topic: search working well progam for xpt2046
- Replies: 11
- Views: 3477
Re: search working well progam for xpt2046
because no one wouldn't answer me !! Then look self for a solution WORKING !! #The xpt2046 touch working on the ili9346 import machine import xpt2046_syn import time spi = machine.SPI(1, baudrate=10000000, miso=machine.Pin(19), mosi=machine.Pin(23), sck=machine.Pin(18)) ts_cs = machine.Pin(12, machi...
- Sun Oct 24, 2021 8:34 pm
- Forum: ESP32 boards
- Topic: search working well progam for xpt2046
- Replies: 11
- Views: 3477
Re: search working well progam for xpt2046
"""ILI9341 demo (fonts).""" from time import sleep from ili9341 import Display, color565 from machine import Pin,SPI from xglcd_font import XglcdFont from xpt2046_syn import XPT2046 spi = SPI(2, baudrate=40000000, sck=Pin(18), mosi=Pin(23),miso=Pin(19)) display = Display(spi, dc=Pin(27), cs=Pin(14),...
- Sun Oct 24, 2021 8:30 pm
- Forum: ESP32 boards
- Topic: search working well progam for xpt2046
- Replies: 11
- Views: 3477
Re: search working well progam for xpt2046
"""ILI9341 demo (fonts).""" from time import sleep from ili9341 import Display, color565 from machine import Pin,SPI from xglcd_font import XglcdFont from xpt2046_syn import XPT2046 spi = SPI(2, baudrate=40000000, sck=Pin(18), mosi=Pin(23),miso=Pin(19)) display = Display(spi, dc=Pin(27), cs=Pin(14),...
- Fri Oct 22, 2021 6:43 pm
- Forum: ESP32 boards
- Topic: search working well progam for xpt2046
- Replies: 11
- Views: 3477
search working well progam for xpt2046
Hello everyone . I am new on this forum and also micropython is new to me. I'm looking for a working program for the xpt2046 driver . Work with a ESP32 devkit1 and display ili9341 with touch xpt2046. The display is not a problem but the touch part . I have already tested some examples from Roberthh ...