Skip to content

Commit ec7c947

Browse files
committed
add time.sleep(0.1) to acceleration.py
1 parent 30d4142 commit ec7c947

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

examples/acceleration.py

+3
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,8 @@
1+
import time
12
from adafruit_circuitplayground.express import cpx
23

34
while True:
45
x, y, z = cpx.acceleration
56
print(x, y, z)
7+
8+
time.sleep(0.1)

0 commit comments

Comments
 (0)