Works as-is with a sparkly heart emoji.
Follow below instructions for your own image.
- Use the
utils/img2bitmap.pytool in st7789_mpy repo to convert your image to a compatible bitmap module- Paste the output of this into a new
.pyfile inside your app directory, e.g.heartimage.py.
- Paste the output of this into a new
- Import your newly created bitmap module (e.g.
from . import heartimage as heartimage) with the output inside this module - Import
tildagonoswithfrom tildagonos import tildagonos - Use
tildagonos.tft.bitmap(heartimage, 50, 50), replacing theheartimage, and the x and y values (50,50) with your desired values- Found in badge-2024-software