diff --git a/adafruit_rgb_display/st7735.py b/adafruit_rgb_display/st7735.py index 2ad4ddf..ca86edc 100644 --- a/adafruit_rgb_display/st7735.py +++ b/adafruit_rgb_display/st7735.py @@ -132,7 +132,7 @@ def __init__( *, x_offset=0, y_offset=0, - rotation=0 + rotation=0, ): super().__init__( spi, @@ -232,6 +232,7 @@ def init(self): if self._invert: self.write(_INVON, None) + class ST7735S(ST7735): """A simple driver for the ST7735S-based displays.""" @@ -283,7 +284,7 @@ def __init__( *, x_offset=2, y_offset=1, - rotation=0 + rotation=0, ): self._bl = bl # Turn on backlight