Search found 5 matches

by moooond
Sun Aug 02, 2020 6:50 pm
Forum: ESP32 boards
Topic: TTGO T-WATCH-2020
Replies: 72
Views: 8245

Re: TTGO T-WATCH-2020

I am fluent in C and arduino is nice.. but micropython has its place for prototyping. as the documentation for the ttgo watch is rather sparse there is reverse engineering. to be able to quickly try out a different thing without going to the compile & upload cycle. also today we often want things wi...
by moooond
Mon Jul 20, 2020 3:18 pm
Forum: ESP32 boards
Topic: TTGO T-WATCH-2020
Replies: 72
Views: 8245

Re: TTGO T-WATCH-2020

i made some progress. the power managment, the touch and the display are working. i also got the bma accellerator to work though it needs some more work but at least i can read the accelleration. as for now: all the code is pure micropython with now compiled (C) code for the modules. i think this is...
by moooond
Fri Jul 10, 2020 11:39 am
Forum: General Discussion and Questions
Topic: CET time
Replies: 3
Views: 5217

Re: CET time

while the whole tzdb is around 400k the individual files for each zone are rather small. e.g. Europe/Vienna is 2k in size. if, like on an esp32, we want to download time form ntp. we could get just the zonefile where we are in and maybe a small library that parses just that.. maybe i will look into ...
by moooond
Wed Jul 08, 2020 4:39 pm
Forum: ESP32 boards
Topic: SPI ESP32
Replies: 5
Views: 700

Re: SPI ESP32

Update: I was able to use the slower ST7789 library here (https://github.com/devbis/st7789py_mpy) to literally set some pixels. Looking for some help to be able to paint texts and icons. i took that library and merged in some basic 8x5 font rendering: https://gitlab.com/mooond/t-watch2020-esp32-wit...
by moooond
Wed Jul 08, 2020 4:31 pm
Forum: ESP32 boards
Topic: TTGO T-WATCH-2020
Replies: 72
Views: 8245

Re: TTGO T-WATCH-2020

I got my lilygo t-watch-2020 a few days ago. It works with out of the box generic python and I already got the display working. The trick is: you need to initialize the AXP power controller first to be able to turn on the backlight of the display.. Here is my code so far (mostly copied from other so...