Updated Pull, removed unnecessary lines
@@ -11,8 +11,7 @@ switch = DigitalInOut(board.D2) # For Gemma M0, Trinket M0, Metro M0 Express, I
# switch = DigitalInOut(board.D5) # For Feather M0 Express
# switch = DigitalInOut(board.D7) # For Circuit Playground Express
switch.direction = Direction.INPUT
-switch.pull = Pull.DOWN # For Gemma M0, Trinket M0, Metro M0 Exp, ItsyBitsy M0 Exp, Feather M0 Exp
-# switch.pull = Pull.UP # For Circuit Playground Express
+switch.pull = Pull.UP
while True:
