Quantcast
Channel: Support - Pimoroni Buccaneers
Viewing all articles
Browse latest Browse all 6933

Gfx-hat contrast problems

$
0
0

@ezio.soma wrote:

The gfx-hat sample contrast-scanner.py gives the following error when launched with ‘python’:

Traceback (most recent call last):
File “contrast-scanner.py”, line 60, in
lcd.contrast(0)
AttributeError: ‘module’ object has no attribute ‘contrast’

When launched
with ‘python3’ gives the following error:

Traceback (most recent call last):
File “contrast-scanner.py”, line 21, in
font = ImageFont.truetype(fonts.Bitocra13Full, 13)
AttributeError: module ‘gfxhat.fonts’ has no attribute ‘Bitocra13Full’

Any Idea?

Posts: 1

Participants: 1

Read full topic


Viewing all articles
Browse latest Browse all 6933

Trending Articles