diff options
| author | Piotr Tworek <tworaz@tworaz.net> | 2021-01-20 21:45:10 (GMT) |
|---|---|---|
| committer | Daniel Thompson <daniel@redfelineninja.org.uk> | 2021-02-20 08:46:59 (GMT) |
| commit | 0d76b1b186d879e2bcf936f39d133d05c1a6a656 (patch) | |
| tree | c305e40a1013e74ecfaa32c20cb95ae9e9ee0bac | |
| parent | 268f8c06e9058338fe7a56051757efb3ddc19e33 (diff) | |
st7789: Fix incorrect variable name in ST7789_SPIs. __init__ docstring.
The data signal pin name is dc, not cs.
Signed-off-by: Piotr Tworek <tworaz@tworaz.net>
| -rw-r--r-- | wasp/drivers/st7789.py | 2 |
1 files changed, 1 insertions, 1 deletions
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. |
