add button color example to readme

This commit is contained in:
onyx-and-iris 2023-07-23 08:33:54 +01:00
parent 46e7ffe478
commit 2d5c611ed8

View File

@ -380,12 +380,13 @@ The following properties are available.
- `state`: boolean - `state`: boolean
- `stateonly`: boolean - `stateonly`: boolean
- `trigger`: boolean - `trigger`: boolean
- `color`: int, from 0 to 8
example: example:
```python ```python
vm.button[37].state = True vm.button[37].state = True
vm.button[55].trigger = False vm.button[4].color = 1
``` ```
### Recorder ### Recorder