1 import time 2 from adafruit_circuitplayground.express import cpx 3 4 while True: 5 x, y, z = cpx.acceleration 6 print(x, y, z) 7 8 time.sleep(0.1)