UnicornHAT HD how to display text without scroll?


#1

Hi, I’ve been looking into the text.py example and was wondering if I can show text without scroll?

Like showing a single letter? Or maybe a two digit number?

Thanks


#2

You could create an Image (in Python) that’s (16, 16) pixels in size, and draw your single letter into that using ImageDraw in much the same way as demonstrated in text.py.

If you start with text.py and remove the stuff relating to scrolling and simplify down the drawing routines, it shouldn’t be too tricky.


#3

Thanks, I will look into.