Skip to content

Commit e613dcb

Browse files
authored
Update balance_ball.py
1 parent bc5f6ee commit e613dcb

1 file changed

Lines changed: 3 additions & 3 deletions

File tree

11.app/balance_ball.py

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -5,9 +5,9 @@
55
i2c = I2C(scl=Pin(22), sda=Pin(21), freq=200000)
66
sensor = MPU9250(i2c)
77
print("MPU9250 id: " + hex(sensor.whoami))
8-
from display import BpiBitNeoPixel, NeoPixelPower
9-
NeoPixelPower(True)
10-
View = BpiBitNeoPixel()
8+
from display import NeoPixel, PixelPower
9+
PixelPower(True)
10+
View = NeoPixel()
1111
X, Y, Color, Flag = 2, 2, 2, 0
1212
while True:
1313
# print('acceleration:', sensor.acceleration)

0 commit comments

Comments
 (0)