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

@@ -164,3 +164,5 @@ class ST7920:
zeros = bytearray(32)
for gfb in self.graphics_framebuffers:
gfb[:] = zeros
def get_dimensions(self):
return (16, 4)