Skip to content

Commit ca66124

Browse files
committed
fix black on examples/nunchuk_simpletest.py
1 parent 97aad9e commit ca66124

File tree

1 file changed

+6
-2
lines changed

1 file changed

+6
-2
lines changed

examples/nunchuk_simpletest.py

Lines changed: 6 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -8,9 +8,13 @@
88
nc = adafruit_nunchuk.Nunchuk(board.I2C())
99

1010
while True:
11-
joystick,buttons,acceleration = nc.values
11+
joystick, buttons, acceleration = nc.values
1212
print("joystick = {},{}".format(joystick.x, joystick.y))
13-
print("accceleration ax={}, ay={}, az={}".format(acceleration.x, acceleration.y, acceleration.z))
13+
print(
14+
"accceleration ax={}, ay={}, az={}".format(
15+
acceleration.x, acceleration.y, acceleration.z
16+
)
17+
)
1418
if buttons.C:
1519
print("button C")
1620
if buttons.Z:

0 commit comments

Comments
 (0)