Segmented Control widget
What it does
Compact index selector for modes or presets. Writes the selected segment index to the pin.
Pins
- Semantics: Single virtual pin (V1..V127)
- Writes an integer index to one virtual pin, V1..V127.
- Default size: 4 x 1
Config fields
| Field | Type | Default | Effect |
|---|---|---|---|
options | text (csv) | A,B,C | Comma-separated segment labels. |
color | color | — | Accent for the active segment. |
Typical use
firmware.ino
BLYNK_WRITE(V1) { int idx = param.asInt(); setMode(idx);}iOS app
Yes — iOS segmented control shares labels + index payload.