docs
This commit is contained in:
parent
b5afe2c08e
commit
95836d552b
@ -4,7 +4,7 @@ from gfxlcd.abstract.driver import Driver
|
|||||||
|
|
||||||
|
|
||||||
class AreaDriver(Driver):
|
class AreaDriver(Driver):
|
||||||
"""SPI communication driver"""
|
"""Null communication driver"""
|
||||||
def __init__(self, width, height):
|
def __init__(self, width, height):
|
||||||
self.height = height
|
self.height = height
|
||||||
self.width = width
|
self.width = width
|
||||||
|
@ -11,11 +11,11 @@ class NullArea(Area, Chip):
|
|||||||
self.rotation = 0
|
self.rotation = 0
|
||||||
|
|
||||||
def _converted_background_color(self):
|
def _converted_background_color(self):
|
||||||
"""color from 8-8-8 to 5-6-5"""
|
"""dummy background color"""
|
||||||
return 2
|
return 2
|
||||||
|
|
||||||
def _converted_color(self):
|
def _converted_color(self):
|
||||||
"""color from 8-8-8 to 5-6-5"""
|
"""dummy color"""
|
||||||
return 1
|
return 1
|
||||||
|
|
||||||
def init(self):
|
def init(self):
|
||||||
|
Loading…
Reference in New Issue
Block a user