display: Add a get_dimensions() method to lcd chip classes
Signed-off-by: Kevin O'Connor <kevin@koconnor.net>
This commit is contained in:
@@ -156,3 +156,5 @@ class UC1701:
|
||||
zeros = bytearray(128)
|
||||
for page in self.vram[self.CURRENT_BUF]:
|
||||
page[:] = zeros
|
||||
def get_dimensions(self):
|
||||
return (16, 4)
|
||||
|
||||
Reference in New Issue
Block a user