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:
parent
268f8c06e9
commit
0d76b1b186
1 changed files with 1 additions and 1 deletions
|
@ -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.
|
||||
|
|
Loading…
Reference in a new issue