Level Display widget
What it does
Horizontal fill bar for bounded quantities (battery, tank, buffer). Optional gradient + alarm threshold coloring.
Pins
- Semantics: Single virtual pin (V1..V127)
- Reads from one virtual pin, V1..V127.
- Default size: 2 x 3
Config fields
| Field | Type | Default | Effect |
|---|---|---|---|
min | number | 0 | Lower bound of the fill. |
max | number | 100 | Upper bound of the fill. |
unit | text | — | Unit shown next to the readout. |
gradient | boolean | false | Applies a gradient fill. |
alarmAbove | number | — | Colors the bar red above this value. |
color | color | — | Primary fill color. |
Typical use
firmware.ino
void loop() { int value = readBatteryPercent(); Blynk.virtualWrite(V6, value);}iOS app
Yes — iOS level widget shares the gradient + alarm semantics.