kopia lustrzana https://github.com/peterhinch/micropython-micro-gui
Add Tstat image.
rodzic
ccaa1d1797
commit
dd250cc40e
13
README.md
13
README.md
|
@ -1448,8 +1448,17 @@ and below the `Meter` to display the top and bottom legends.
|
||||||
|
|
||||||
## 16.1 Tstat widget
|
## 16.1 Tstat widget
|
||||||
|
|
||||||
This subclass of `Meter` is also a `passive` widget but provides for callbacks
|
```python
|
||||||
which run in response to specific changes in the object's value.
|
from gui.widgets.tstat import Tstat
|
||||||
|
```
|
||||||
|

|
||||||
|
This example has two data sensitive regions, a control region with hysteresis
|
||||||
|
and an alarm region.
|
||||||
|
|
||||||
|
The `Tstat` subclass of `Meter` is a `passive` widget with callbacks which run
|
||||||
|
in response to specific changes in the object's value. Notionally based on a
|
||||||
|
thermostat, it can implement objects with a variety of data-dependent behaviour
|
||||||
|
including alarms and controls having hysteresis.
|
||||||
|
|
||||||
The class supports one or more `Region` instances. Visually these appear as
|
The class supports one or more `Region` instances. Visually these appear as
|
||||||
colored bands on the scale. If the meter's value enters, leaves or crosses one
|
colored bands on the scale. If the meter's value enters, leaves or crosses one
|
||||||
|
|
Plik binarny nie jest wyświetlany.
Po Szerokość: | Wysokość: | Rozmiar: 23 KiB |
Ładowanie…
Reference in New Issue