Quantcast
Channel: Raspberry Pi Forums
Viewing all articles
Browse latest Browse all 1251

Python • Re: Problem with ST7735 display code.

$
0
0
The error seems to be being reported off

Code:

font2 = ImageFont.truetype(font_path, 16)
So my guess is that font_path is causing OSError: cannot open resource which means it does not point to PixelOperator.ttf

Set a debug break and see what font_path is.

Statistics: Posted by DS256 — Sun May 05, 2024 7:11 pm



Viewing all articles
Browse latest Browse all 1251

Trending Articles