setValue()
Set the knob's value.
rotary.setValue(newValue)
The value is in the knob's own minValue–maxValue range. The knob turns to match, and the update function is called.
Parameters
rotary.setValue(newValue)
| Parameter | Type | Default | Description |
|---|---|---|---|
newValue |
int or float |
required | The new value, between minValue and maxValue. |