Skip to content

Commit

Permalink
Correct MotionSensor's sample_date default in docstring, close #848
Browse files Browse the repository at this point in the history
  • Loading branch information
bennuttall committed Mar 26, 2020
1 parent fd4ed45 commit 2ac59d2
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion gpiozero/input_devices.py
Original file line number Diff line number Diff line change
Expand Up @@ -589,7 +589,7 @@ class MotionSensor(SmoothedInputDevice):
:param float sample_rate:
The number of values to read from the device (and append to the
internal queue) per second. Defaults to 100.
internal queue) per second. Defaults to 10.
:param float threshold:
Defaults to 0.5. When the average of all values in the internal queue
Expand Down

0 comments on commit 2ac59d2

Please sign in to comment.