File tree Expand file tree Collapse file tree 1 file changed +4
-4
lines changed Expand file tree Collapse file tree 1 file changed +4
-4
lines changed Original file line number Diff line number Diff line change 66background, a smaller purple rectangle, and some yellow text.
77"""
88import board
9- import busio
109import terminalio
1110import displayio
1211from adafruit_display_text import label
1918# Release any resources currently in use for the displays
2019displayio .release_displays ()
2120
22- # built-in, silkscreen labelled SPI bus
21+ # built-in, silkscreen labelled SPI bus
2322spi = board .SPI ()
2423tft_cs = board .D5
2524tft_dc = board .D6
2625tft_rst = board .D9
2726
28- # If using a Raspberry Pi Pico or Pico-w
29- # Uncomment the below code to use GP (General Purpose) pins
27+ # If using a Raspberry Pi Pico or Pico-w
28+ # Uncomment the below code to use GP (General Purpose) pins
3029# instead of D (Digital)
3130
31+ # import busio
3232# spi = busio.SPI(board.GP2, board.GP3, board.GP4)
3333# tft_cs = board.GP5
3434# tft_dc = board.GP6
You can’t perform that action at this time.
0 commit comments