We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
2 parents dbe5003 + c48c171 commit fe61408Copy full SHA for fe61408
examples/trellism4_acceleration.py
@@ -0,0 +1,9 @@
1
+import time
2
+import adafruit_trellism4
3
+
4
+trellis = adafruit_trellism4.TrellisM4Express()
5
6
+while True:
7
+ x, y, z = trellis.acceleration
8
+ print(x, y, z)
9
+ time.sleep(0.1)
0 commit comments