1import pyb 2 3if not hasattr(pyb, "Accel"): 4 print("SKIP") 5 raise SystemExit 6 7accel = pyb.Accel() 8print(accel) 9accel.x() 10accel.y() 11accel.z() 12accel.tilt() 13accel.filtered_xyz() 14