forked from alaudet/hcsr04sensor
-
Notifications
You must be signed in to change notification settings - Fork 0
/
changelog
49 lines (33 loc) · 1.26 KB
/
changelog
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
Changelog
=========
Version 1.4.0
Allow changing the default sample_wait from 0.1 seconds to a faster
interval. This is the speed of the individual samples in sample_size.
Version 1.3.0
Add default values for unit, temperature and round_to in sensor.py
hcsr04sensor uses metric temperature by default.
Most use cases don't need to specify this and just causes extra typing
for nothing. But option is there to pass the imperial temperature if you like.
Rounding beyond 1 decimal is pointless as readings on a multi tasking OS will
not be Real Time and will have variance within 1 cm.
But if you need to you can specify round_to to be greater
than 1
See the provided example scripts for usage.
Version 1.2.0
Python 3 compatibility
Version 1.1.4
Allow changing the default sample size from 11 to a user defined value. Default
remains 11 unless otherwise specified.
Version 1.1.3
Cleanup only GPIO pins being used in sensor.py
Version 1.1.2
Improved error handling in sensor.py
Version 1.1.1
All functions in sensor.py now methods of Measurement class
Version 1.1.0
Module expanded to allow metric or imperial readings.
See examples/examples.py for usage
Version 1.0.3
Small change to example script depth.py
Version 1.0.2
-Fix bug introduced with version 0.5.11 of RPi.GPIO