uc1701: Add support for rst_pin

Add support for an optional uc1701 rst_pin.  Use the same reset pin
code handling with the SSD1306 code.

Signed-off-by: Kevin O'Connor <kevin@koconnor.net>
This commit is contained in:
Kevin O'Connor 2019-12-02 10:12:34 -05:00
parent 2e7f38eadd
commit 2d97e0e218
2 changed files with 29 additions and 17 deletions

View file

@ -1671,8 +1671,10 @@
# provided when using an st7920 display.
#cs_pin:
#a0_pin:
# The pins connected to an uc1701 type lcd. These parameters must be
# provided when using an uc1701 display.
#rst_pin:
# The pins connected to an uc1701 type lcd. The rst_pin is
# optional. The cs_pin and a0_pin parameters must be provided when
# using an uc1701 display.
#rs_pin:
#cs_pin:
#a0_pin: