1
0
Fork 0

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>
This commit is contained in:
Piotr Tworek 2021-01-20 22:45:10 +01:00 committed by Daniel Thompson
parent 268f8c06e9
commit 0d76b1b186

View file

@ -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.