Search found 88 matches
- Sun Oct 24, 2021 5:53 pm
- Forum: Raspberry Pi microcontroller boards
- Topic: Using Chinese fonts with an ST7789 display
- Replies: 3
- Views: 2322
Re: Using Chinese fonts with an ST7789 display
The write method now accepts UTF8 encoded strings. You will have to create a python font file containing the characters you are going to use with the font2bitmap.py utility. See the proverbs.py and proverbs_font.py files in the examples/T-Display folder for an example. UTF8 support is not optimized,...
- Fri Oct 22, 2021 9:04 pm
- Forum: General Discussion and Questions
- Topic: suggest best resources to learn python
- Replies: 9
- Views: 5537
Re: suggest best resources to learn python
I read the "Illustrated Guide to Python 3" book by Matt Harrison and thought it was excellent.
- Fri Oct 22, 2021 6:29 pm
- Forum: Raspberry Pi microcontroller boards
- Topic: Using Chinese fonts with an ST7789 display
- Replies: 3
- Views: 2322
Re: Using Chinese fonts with an ST7789 display
You can convert a True Type font using the font2bitmap.py utility. The display driver is not currently unicode aware so it would require some modifications to make unicode fonts work easily. I will look into adding support for unicode fonts.
- Thu Sep 30, 2021 4:21 pm
- Forum: Programs, Libraries and Tools
- Topic: A uasyncio monitor
- Replies: 9
- Views: 19516
- Sat Sep 11, 2021 8:46 pm
- Forum: ESP32 boards
- Topic: ST7735 faster library
- Replies: 10
- Views: 9334
Re: ST7735 faster library
Yes. The https://github.com/russhughes/st7789_mpy repo has been updated and tested with a 128x128 and a 128x160 st7735 display.
- Thu Sep 09, 2021 3:21 pm
- Forum: ESP32 boards
- Topic: ST7735 faster library
- Replies: 10
- Views: 9334
Re: ST7735 faster library
I should have a 128x160 display this weekend. I will see if I can add support for it and the 128x128’s as well.
- Thu Sep 09, 2021 6:33 am
- Forum: Development of MicroPython
- Topic: Debuging the micropython core
- Replies: 7
- Views: 6218
Re: Debuging the micropython core
You can printf() from c code and it will printed to the REPL console. Another thing that can help is to add a monitor target in ports/esp32/Makefile. deploy: idf.py $(IDFPY_FLAGS) -p $(PORT) -b $(BAUD) flash monitor: idf.py $(IDFPY_FLAGS) -p $(PORT) -b $(BAUD) monitor erase: idf.py $(IDFPY_FLAGS) -p...
- Wed Sep 08, 2021 11:16 pm
- Forum: General Discussion and Questions
- Topic: How to determine ST7789 pixel color
- Replies: 2
- Views: 1160
Re: How to determine ST7789 pixel color
The answer is complicated see https://github.com/Bodmer/TFT_eSPI/issues/248 for details. I'm planning on looking into this after I finish working on a LVGL compatible display driver.
- Sat Aug 28, 2021 2:17 am
- Forum: ESP32 boards
- Topic: Looking to install Micropython with LVGL support on TTGO T-Display
- Replies: 2
- Views: 2547
Re: Looking to install Micropython with LVGL support on TTGO T-Display
Give this a try if you are still looking for a LVGL driver https://github.com/russhughes/lv_st7789
- Thu Aug 19, 2021 4:25 pm
- Forum: General Discussion and Questions
- Topic: documentation generator for micropython
- Replies: 3
- Views: 1754
Re: documentation generator for micropython
You might be able to make a few changes to your code to get around this problem.
https://stackoverflow.com/questions/123 ... 0functions).
https://stackoverflow.com/questions/123 ... 0functions).