display: Add a get_dimensions() method to lcd chip classes

Signed-off-by: Kevin O'Connor <kevin@koconnor.net>
This commit is contained in:
Kevin O'Connor
2018-11-21 18:42:06 -05:00
parent cbbc6801a0
commit a00d7b418f
4 changed files with 7 additions and 5 deletions

View File

@@ -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)