ParallelBus change
This commit is contained in:
parent
74eaa1b1d2
commit
fe175e7acb
1 changed files with 2 additions and 1 deletions
|
|
@ -4,13 +4,14 @@
|
|||
|
||||
import board
|
||||
import displayio
|
||||
import paralleldisplaybus
|
||||
|
||||
# Release any previously configured displays
|
||||
displayio.release_displays()
|
||||
|
||||
# Setup the display bus
|
||||
# Tested with a Metro M4 Express
|
||||
display_bus = displayio.ParallelBus(data0=board.D13,
|
||||
display_bus = paralleldisplaybus.ParallelBus(data0=board.D13,
|
||||
command=board.D6,
|
||||
chip_select=board.D7,
|
||||
write=board.D5,
|
||||
|
|
|
|||
Loading…
Reference in a new issue