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

MicroPython • Re: Help with a Waveshare 1.8inch LCD Display Module

$
0
0
- the glyph-method needs to be a class method inside LCD_1inch8. See https://docs.python.org/3/tutorial/classes.html
- in your code, an instance of LCD_1inch8 is created in line 226 LCD = LCD_1inch8() . So change the name 'display' to 'LCD' in lines 292 to 308
- there is a strange char '1' in line 28.

Statistics: Posted by ghp — Mon Sep 15, 2025 5:44 am



Viewing all articles
Browse latest Browse all 8082

Trending Articles