Widgets / directory

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

FieldTypeDefaultEffect
minnumber0Lower bound of the emitted value.
maxnumber100Upper bound of the emitted value.
stepnumber1Granularity of the drag.
showValuebooleantrueRenders the current value above the thumb.
labelMintextCaption under the left endpoint.
labelMaxtextCaption under the right endpoint.
sendOnReleasebooleanfalseCoalesce writes to the release gesture.
integerOnlybooleanfalseClamp fractional values to integers.
colorcolorAccent 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.

See also

Related widgets