Widgets / directory

LED widget

What it does

Compact indicator surface. 0 = off; non-zero = on (or brightness-scaled when PWM mode is on).

Pins

  • Semantics: Single virtual pin (V1..V127)
  • Reads from one virtual pin, V1..V127.
  • Default size: 2 x 2

Config fields

FieldTypeDefaultEffect
colorcolorColor when on.
offColorcolorColor when off.
pwmModebooleanfalseScales brightness with 0..255 payload.
blinkOnNonzerobooleanfalseBlinks while the pin value is non-zero.
showPinbooleantrueRenders the V-pin badge on the tile.

Typical use

firmware.ino
void loop() {  int value = digitalRead(STATUS_PIN) ? 255 : 0;  Blynk.virtualWrite(V1, value);}

iOS app

Yes — iOS LED shares the same 0/1 and PWM brightness semantics.

See also

Related widgets