Search found 17 matches

by jhfoo
Sat Aug 01, 2020 4:09 pm
Forum: ESP32 boards
Topic: TTGO T-WATCH-2020
Replies: 28
Views: 2354

Re: TTGO T-WATCH-2020

Micropython as a language is fine. It's the priority and support within the ESP32 hardware ecosystem; it's all going first to C/ C++. That's the truth today. I'm not going to tell you micro-p is better; it's very situational. For me it requires a lot of trial-error learning. If you're super comfy wi...
by jhfoo
Sat Aug 01, 2020 9:41 am
Forum: ESP32 boards
Topic: touch driver for ttgo watch 2020
Replies: 2
Views: 201

Re: touch driver for ttgo watch 2020

Grab the focaltouch driver from Franz Schaefers' repo at https://gitlab.com/mooond/t-watch2020-esp32-with-micropython/-/blob/master/focaltouch.py and copy it to your watch. See https://github.com/russhughes/st7789_mpy/blob/master/examples/watch_draw.py for a simple drawing program example. As usual...
by jhfoo
Sat Aug 01, 2020 3:12 am
Forum: ESP32 boards
Topic: touch driver for ttgo watch 2020
Replies: 2
Views: 201

touch driver for ttgo watch 2020

Looking for some guidance how to source/ install the FT6236 driver for the above ESP-32-based watch, that will work on micropython.

Aware of this site https://github.com/OPHoperHPO/lilygo-tt ... icropython that includes the build. The driver seems to be embedded with lvgl.
by jhfoo
Thu Jul 30, 2020 2:49 pm
Forum: ESP32 boards
Topic: TTGO T-WATCH-2020
Replies: 28
Views: 2354

Re: TTGO T-WATCH-2020

renaudrenaud wrote:
Wed Jul 29, 2020 8:24 pm
Well, well, well... Is there any simple way to change the font size? It seems to me there is only one font in one size hardcoded in a file, using https://gitlab.com/mooond/t-watch2020-e ... icropython
This may help: https://github.com/peterhinch/micropython-font-to-py
by jhfoo
Wed Jul 29, 2020 5:52 pm
Forum: ESP32 boards
Topic: Brightness control on ST7789C/ AXP202
Replies: 3
Views: 124

Re: Brightness control on ST7789C/ AXP202

The docs I read say the blacklight is driven off the axp202c LDO2 and it's voltage is configurable between 1800mv (1.8v) and 3300mv (3.3v). I have not tried this but you could try using setLDO2Voltage to change the voltage driving the backlight. axp = axp202c.PMU() axp.enablePower(axp202c.AXP202_LD...
by jhfoo
Wed Jul 29, 2020 5:50 pm
Forum: ESP32 boards
Topic: Brightness control on ST7789C/ AXP202
Replies: 3
Views: 124

Re: Brightness control on ST7789C/ AXP202

The docs I read say the blacklight is driven off the axp202c LDO2 and it's voltage is configurable between 1800mv (1.8v) and 3300mv (3.3v). I have not tried this but you could try using setLDO2Voltage to change the voltage driving the backlight. axp = axp202c.PMU() axp.enablePower(axp202c.AXP202_LD...
by jhfoo
Wed Jul 29, 2020 12:27 am
Forum: ESP32 boards
Topic: TTGO T-WATCH-2020
Replies: 28
Views: 2354

Re: TTGO T-WATCH-2020

Ha thanks guys... Downloading Thonny... Installing Thonny... Done. Rhaa, how to flash... Found! Firmware injected and now I have a Shell. Screen is black, but I'will find (maybe). Edit: ok, I am starting to play with it. First steps are difficult. But Ok, I can write something on the screen. Next s...
by jhfoo
Tue Jul 28, 2020 2:35 pm
Forum: ESP32 boards
Topic: Brightness control on ST7789C/ AXP202
Replies: 3
Views: 124

Brightness control on ST7789C/ AXP202

Have a TTgo 2020 watch (very cool) running on Russ' micropython firmware ( https://github.com/russhughes/st7789_mpy ). Trying to lighten power consumption by dimming (not blanking/ turning power off) the screen. Does anyone have ideas how to do this? There are suggestions to lower the PWM, but I don...
by jhfoo
Tue Jul 28, 2020 1:47 pm
Forum: ESP32 boards
Topic: TTGO T-WATCH-2020
Replies: 28
Views: 2354

Re: TTGO T-WATCH-2020

Well thanks, but same story. I have to manage my frustration. I've done some things with Arduino but I really love python and I really want to do something with it. Thonny (Windows app) simplifies the firmware upload: you need only select the COM port and firmware file and they do the rest. https:/...
by jhfoo
Sun Jul 12, 2020 8:37 am
Forum: ESP32 boards
Topic: TTGO T-WATCH-2020
Replies: 28
Views: 2354

Re: TTGO T-WATCH-2020

Until @mooond updates his code a working version edited by me is avail here:
https://github.com/jhfoo/t-watch-2020-micropython