Search found 6 matches

by gurrae
Fri Feb 19, 2021 1:25 pm
Forum: Drivers for External Components
Topic: xpt2046
Replies: 25
Views: 18986

Re: xpt2046

@roberthh

I modified my program as per your instructions, and now the LOLIN 2.4" TFT display works fine with the xpt2046_syn.py, (colors, images, fonts, touch input etc.) so I am very happy.
Thank you again for your fast reply & quick fix !!
by gurrae
Thu Feb 18, 2021 12:36 pm
Forum: Drivers for External Components
Topic: xpt2046
Replies: 25
Views: 18986

Re: xpt2046

Oops, a bit embarrassing about the missing Pin.OUT -line :-) Anyway, the same problem remains. I did use the latest driver (that was timestamped about an hour ago....) The display driver only defines the mosi pin, and I assume that the XPT2046 needs the miso as well ?? How do I define this in the 20...
by gurrae
Thu Feb 18, 2021 12:20 pm
Forum: Drivers for External Components
Topic: xpt2046
Replies: 25
Views: 18986

Re: xpt2046

Hi. Thank you Roberthh for a fast reply (& quick fix !!) I tried adding the XPT2046 part to my existing software, but it complains about my extra cs argument. I understand that I have to change (lower) the baudrate in the spi declaration for the 2046, when I access it, but it seems as if I got a mix...
by gurrae
Thu Feb 18, 2021 8:48 am
Forum: Drivers for External Components
Topic: xpt2046
Replies: 25
Views: 18986

Re: xpt2046

Hi. I am using a ESP32 with a LOLIN 2.4" TFT display with XPT2046 touch-screen. Everything works fine in C++ (display & touch). Now I am trying to get the XPT2046 to work with my ESP32 & microPython. The displaypart works fine in micropython with the ili934.py module (fonts, images lines etc.) Now I...
by gurrae
Sat Jan 23, 2021 6:25 pm
Forum: Programs, Libraries and Tools
Topic: WebREPL freeze
Replies: 3
Views: 2580

Re: WebREPL freeze

I dont have any other programs running, I have erased the flash before installing the firmware, but no difference. if i do: import os os.listdir() the output is [] When I rebbot the shell says : WebREPL daemon started on ws://192.168.4.1:8266 Started webrepl in normal mode (and after that) >>> When ...
by gurrae
Sat Jan 23, 2021 2:15 pm
Forum: Programs, Libraries and Tools
Topic: WebREPL freeze
Replies: 3
Views: 2580

WebREPL freeze

I am trying to use WebRepl on my ESP32 (ESP32 Devkit v1) & ESP8266 (Wemos d1 mini) boards. I have no problem loading MicroPython firmware & running programs on the ESP32 or the 8266. The problem appears when I want to run WebRepl on the boards. I can import & run webrepl_setup, setup password and re...