Search found 22 matches

by russ_h
Sun Mar 01, 2020 6:58 am
Forum: General Discussion and Questions
Topic: LILYGO TTGO T-Display Incredibly Slow?
Replies: 4
Views: 435

Re: LILYGO TTGO T-Display Incredibly Slow?

The Hershey fonts are vector fonts so they are much slower to draw using the pure python driver. Bitmapped fonts are much quicker in python and even faster with the C driver. The https://github.com/russhughes/st7789_mpy repo has a firmware.bin I compiled using the MicroPython 1.12 source including t...
by russ_h
Wed Feb 05, 2020 3:04 am
Forum: Drivers for External Components
Topic: LCD display [Advise needed]
Replies: 23
Views: 10562

Re: LCD display [Advise needed]

mondalex wrote:
Tue Jan 16, 2018 6:47 pm
I want the microPython REPL prompt to show on the 128x64 glcd. How can I do that?
Check out: https://github.com/boochow/FBConsole
by russ_h
Sun Jan 26, 2020 11:25 pm
Forum: General Discussion and Questions
Topic: ESP32 with 8MB Flash
Replies: 7
Views: 548

Re: ESP32 with 8MB Flash

I think I mostly understand your reply, and have downloaded your turtlebot-8m binary. Because I already have MicroPython on my board, I don't have to erase my flash first, right? I've reflashed my MicroPython versions this way before. From your instructions on penfold I'm also starting to get an id...
by russ_h
Sun Jan 26, 2020 7:21 pm
Forum: General Discussion and Questions
Topic: ESP32 with 8MB Flash
Replies: 7
Views: 548

Re: ESP32 with 8MB Flash

As far as I know, it's set in the micropython/ports/esp32/partitions.csv file. You can change the last value of the vfs line to 0x600000. Recompile MicroPython then erase and re-flash your device. # Name, Type, SubType, Offset, Size, Flags # Note: if you change the phy_init or app partition offset, ...
by russ_h
Sat Jan 11, 2020 7:25 pm
Forum: Programs, Libraries and Tools
Topic: ST7789 IPS 240x240 SPI display
Replies: 9
Views: 4947

Re: ST7789 IPS 240x240 SPI display

I wrote some code to use devbis' driver to write text using Hershey vector fonts. It's in my GitHub Repo. There is also a video of it running the demo using the Fast C version of devbis' driver.
by russ_h
Sat Jan 11, 2020 7:09 pm
Forum: ESP32 boards
Topic: Display on TTGO T-Display
Replies: 9
Views: 1321

Re: Display on TTGO T-Display

I took Peter's suggestion and used his bytearray method and it's definitely faster. I haven't tried feezing the bytecode yet. Both methods are now in my GitHub repo. Here is a side by side video showing both methods.
by russ_h
Tue Jan 07, 2020 8:46 pm
Forum: ESP32 boards
Topic: Display on TTGO T-Display
Replies: 9
Views: 1321

Re: Display on TTGO T-Display

Frozen bytecode of a raster font would be a better solution for most displays. My original use is in a slow moving robot plotter where ease of use was more important then speed. It's not really a practical solution for displays, still it's cute enough to show off and maybe it will be of use to someo...
by russ_h
Tue Jan 07, 2020 6:04 am
Forum: ESP32 boards
Topic: Display on TTGO T-Display
Replies: 9
Views: 1321

Re: Display on TTGO T-Display

by russ_h
Sat Jan 04, 2020 6:25 am
Forum: ESP32 boards
Topic: Display on TTGO T-Display
Replies: 9
Views: 1321

Re: Display on TTGO T-Display

This driver is not framebuf based so there is more work involved. One possibility is to use Peter Hinch's https://github.com/peterhinch/micropython-font-to-py program to create fonts and use his writer routine to write text to a buffer using the font. From there you could use blit_buffer to write th...