[st7701s] Document delay feature (#4189)

This commit is contained in:
Clyde Stubbs 2024-08-30 06:27:38 +10:00 committed by GitHub
parent 4846dc4067
commit 30637b18e9
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -130,6 +130,8 @@ The ``init_sequence`` requires a list of elements, one of which may be a single
sequence (the default and currently the only sequence is 1), the remainder must be byte arrays providing additional sequence (the default and currently the only sequence is 1), the remainder must be byte arrays providing additional
init commands, each consisting of a command byte followed by zero or more data bytes. init commands, each consisting of a command byte followed by zero or more data bytes.
A delay may be specified with ``delay <N>ms``
These will be collected and sent to the display via SPI during initialisation. These will be collected and sent to the display via SPI during initialisation.
Example configurations Example configurations
@ -165,6 +167,7 @@ Seeed Sensecap Indicator
pclk_pin: 21 pclk_pin: 21
init_sequence: init_sequence:
- 1 # select canned init sequence number 1 - 1 # select canned init sequence number 1
- delay 5ms
- [ 0xE0, 0x1F ] # Set sunlight readable enhancement - [ 0xE0, 0x1F ] # Set sunlight readable enhancement
data_pins: data_pins:
red: red: