Slider widget
What it does
Horizontal numeric range input with optional send-on-release. Debounces fast drags before writing to the pin.
Pins
- Semantics: Single virtual pin (V1..V127)
- Writes to one virtual pin, V1..V127.
- Default size: 4 x 1
Config fields
| Field | Type | Default | Effect |
|---|---|---|---|
min | number | 0 | Lower bound of the emitted value. |
max | number | 100 | Upper bound of the emitted value. |
step | number | 1 | Granularity of the drag. |
showValue | boolean | true | Renders the current value above the thumb. |
labelMin | text | — | Caption under the left endpoint. |
labelMax | text | — | Caption under the right endpoint. |
sendOnRelease | boolean | false | Coalesce writes to the release gesture. |
integerOnly | boolean | false | Clamp fractional values to integers. |
color | color | — | Accent for the track and thumb. |
Typical use
firmware.ino
BLYNK_WRITE(V1) { int pwm = param.asInt(); analogWrite(LED_PIN, pwm);}iOS app
Yes — iOS implementation uses the same 100 ms send debounce.