From 0d76b1b186d879e2bcf936f39d133d05c1a6a656 Mon Sep 17 00:00:00 2001 From: Piotr Tworek Date: Wed, 20 Jan 2021 22:45:10 +0100 Subject: [PATCH] st7789: Fix incorrect variable name in ST7789_SPIs. __init__ docstring. The data signal pin name is dc, not cs. Signed-off-by: Piotr Tworek --- wasp/drivers/st7789.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/wasp/drivers/st7789.py b/wasp/drivers/st7789.py index 46404f9..837e8eb 100644 --- a/wasp/drivers/st7789.py +++ b/wasp/drivers/st7789.py @@ -202,7 +202,7 @@ class ST7789_SPI(ST7789): :param int height: Height of the display :param machine.SPI spi: SPI controller :param machine.Pin cs: Pin (or signal) to use as the chip select - :param machine.Pin cs: Pin (or signal) to use to switch between data + :param machine.Pin dc: Pin (or signal) to use to switch between data and command mode. :param machine.Pin res: Pin (or signal) to, optionally, use to reset the display.