You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: README.md
+62-8Lines changed: 62 additions & 8 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -7,24 +7,78 @@ Supported:
7
7
* TSic 506
8
8
* TSic 706
9
9
10
-
The module `tsic.py` requires Python 3 and the great library `pigpio` for GPIO access with precise timing.
10
+
Don't forget the bypass capacitor as near as possible to the sensor's power supply pins to get stable behavior.
11
11
12
-
Note: Python 2 will not work.
12
+
## Dependencies
13
13
14
-
It provides the following classes:
14
+
The package `tsic` requires Python 3 and the great library `pigpio` for GPIO access with precise timing. Note that Python 2 will not work.
15
+
16
+
## Installation
17
+
18
+
Install from Python package index [PyPI](https://pypi.org):
19
+
```
20
+
pip3 install tsic
21
+
```
22
+
23
+
## Usage
24
+
25
+
The module `tsic` provides the following classes:
15
26
*`TsicInputChannel` receive temperature measurements
16
27
*`Measurement` a temperature measurement
17
28
*`TsicType` TSic type definition with instances `TSIC206`, `TSIC306`, `TSIC506`, `TSIC716` (206 and 306 are currently equivalent)
18
-
*`ZacWireInputChannel` receive byte packets over ZACWire protocol (low-level handler for TsicInputChannel)
29
+
*`ZacWireInputChannel` receive byte packets over ZACWire protocol (low-level handler for `TsicInputChannel`)
30
+
31
+
### Command Line Test Tool
19
32
20
-
See `example.py` for API usage or start `tsic.py <gpio-bcm> [--type {206,506,716,306}] [--loop]` to read temperatures from a GPIO pin (Broadcom numbering). See `tsic.py --help` for command line usage.
33
+
Run `tsic <gpio-bcm> [--type {206,506,716,306}] [--loop]` to read temperatures from a GPIO pin (Broadcom numbering). See `tsic --help` for command line usage.
0 commit comments