diff --git a/wasp/drivers/st7789.py b/wasp/drivers/st7789.py index b7edf2e..89ebc4c 100644 --- a/wasp/drivers/st7789.py +++ b/wasp/drivers/st7789.py @@ -146,9 +146,9 @@ class ST7789_SPI(ST7789): self.cs(0) self.spi.write(bytearray([cmd])) self.cs(1) + self.dc(1) def write_data(self, buf): - self.dc(1) self.cs(0) self.spi.write(buf) self.cs(1)