Adding Circuit Playground Bluefruit
This commit is contained in:
parent
77e802e722
commit
fbb43d7959
1 changed files with 7 additions and 2 deletions
|
|
@ -4,8 +4,13 @@ import storage
|
|||
|
||||
# For Gemma M0, Trinket M0, Metro M0/M4 Express, ItsyBitsy M0/M4 Express
|
||||
switch = digitalio.DigitalInOut(board.D2)
|
||||
# switch = digitalio.DigitalInOut(board.D5) # For Feather M0/M4 Express
|
||||
# switch = digitalio.DigitalInOut(board.D7) # For Circuit Playground Express
|
||||
|
||||
# For Feather M0/M4 Express
|
||||
# switch = digitalio.DigitalInOut(board.D5)
|
||||
|
||||
# For Circuit Playground Express, Circuit Playground Bluefruit
|
||||
# switch = digitalio.DigitalInOut(board.D7)
|
||||
|
||||
switch.direction = digitalio.Direction.INPUT
|
||||
switch.pull = digitalio.Pull.UP
|
||||
|
||||
|
|
|
|||
Loading…
Reference in a new issue