nrf: Update the PCA10056 example to use new pin naming

This commit is contained in:
arturo182 2018-06-20 23:39:36 +02:00
parent deec17e4fe
commit 25e71a56d4
1 changed files with 4 additions and 4 deletions

View File

@ -4,10 +4,10 @@ import gamepad
import time
pad = gamepad.GamePad(
digitalio.DigitalInOut(board.PA11),
digitalio.DigitalInOut(board.PA12),
digitalio.DigitalInOut(board.PA24),
digitalio.DigitalInOut(board.PA25),
digitalio.DigitalInOut(board.P0_11),
digitalio.DigitalInOut(board.P0_12),
digitalio.DigitalInOut(board.P0_24),
digitalio.DigitalInOut(board.P0_25),
)
prev_buttons = 0