Skip to content

Commit a9098af

Browse files
committed
fix doc string
1 parent 8a0d794 commit a9098af

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

adafruit_clue.py

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -360,13 +360,16 @@ def were_pressed(self):
360360
def shake(self, shake_threshold=30, avg_count=10, total_delay=0.1):
361361
"""
362362
Detect when the accelerometer is shaken. Optional parameters:
363+
363364
:param shake_threshold: Increase or decrease to change shake sensitivity. This
364365
requires a minimum value of 10. 10 is the total
365366
acceleration if the board is not moving, therefore
366367
anything less than 10 will erroneously report a constant
367368
shake detected. (Default 30)
369+
368370
:param avg_count: The number of readings taken and used for the average
369371
acceleration. (Default 10)
372+
370373
:param total_delay: The total time in seconds it takes to obtain avg_count
371374
readings from acceleration. (Default 0.1)
372375
"""

0 commit comments

Comments
 (0)