From 6e1cb0325f7639115f01572c698d34ca13f1a266 Mon Sep 17 00:00:00 2001 From: Benjamin Tayehanpour Date: Sun, 27 Sep 2026 16:02:34 +0000 Subject: [PATCH] stuff --- LCD.py | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/LCD.py b/LCD.py index 5267133..f9b3d7a 100644 --- a/LCD.py +++ b/LCD.py @@ -50,6 +50,11 @@ class LCD: self.lcd_byte(0x28, self.LCD_CMD) # 101000 Data length, number of lines, font size self.lcd_byte(0x01, self.LCD_CMD) # 000001 Clear display + def set_char(self, address, bitmap): + address = address + 0x40 + for row in bitmap: + self.lcd_byte(row, 1) + def lcd_byte(self, bits, mode): # Send byte to data pins # bits = data