how to blit a bitmap of an image with the st7789_4bit driver for the pico #12145
Replies: 2 comments
-
The |
Beta Was this translation helpful? Give feedback.
-
thank you very much for your input, reading your post it sounds very easy and straight forward, but for me it is as hard as struggling a bear. i did read the docs and tried a lot with framebuffers and smaller size images since i'm not sure the bitmap is correct...i have no method or tool to check that. |
Beta Was this translation helpful? Give feedback.
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
I use micropython 1.91 combined with nanogui and am rewriting a script that takes a long time to set up.
and then i thought, wouldn't it be nice if i had something to show while it sets up?
so i created this RGB565 2 byte bitmap from a logo with a few primary colors but am at a loss how to succesfull use the st7789_4bit driver.
and i thought i found a working example, but am unable to adapt it to my needs.
although nanogui is not really used, i do use the color_setup file to get some settings and a reference to the ST7789_4bit driver.
i tried introducing a new framebuffer in the script itself, but ended up with memory issues or lost connection.
i'm willing to make a much smaller one if 240x320 is pushing it.
can you help me solve this?
this code was something i found but meant for another display driver https://www.penguintutor.com/programming/picodisplayanimations
Beta Was this translation helpful? Give feedback.
All reactions