File tree Expand file tree Collapse file tree 1 file changed +5
-5
lines changed Expand file tree Collapse file tree 1 file changed +5
-5
lines changed Original file line number Diff line number Diff line change 99
1010# create the spi device and pins we will need
1111spi = busio .SPI (board .SCK , MOSI = board .MOSI , MISO = board .MISO )
12- ecs = digitalio .DigitalInOut (board .D10 )
13- dc = digitalio .DigitalInOut (board .D9 )
14- srcs = digitalio .DigitalInOut (board .D7 ) # can be None to use internal memory
15- rst = digitalio .DigitalInOut (board .D11 ) # can be None to not use this pin
16- busy = digitalio .DigitalInOut (board .D12 ) # can be None to not use this pin
12+ ecs = digitalio .DigitalInOut (board .D12 )
13+ dc = digitalio .DigitalInOut (board .D11 )
14+ srcs = digitalio .DigitalInOut (board .D10 ) # can be None to use internal memory
15+ rst = digitalio .DigitalInOut (board .D9 ) # can be None to not use this pin
16+ busy = digitalio .DigitalInOut (board .D5 ) # can be None to not use this pin
1717
1818# give them all to our driver
1919print ("Creating display" )
You can’t perform that action at this time.
0 commit comments