Joystick widget
What it does
Two-axis XY control for steering, pan/tilt and driving. Streams throttled x/y samples to one pin, or splits axes across two pins.
Pins
- Semantics: Two virtual pins (split axes)
- Single-pin mode writes 'x,y'; split mode writes X to pinX and Y to pinY.
- Default size: 3 x 3
Config fields
| Field | Type | Default | Effect |
|---|---|---|---|
autoReturn | boolean | false | Recenters the stick after release. |
pinX | text | — | Split-mode X pin override (V1..V127). |
pinY | text | — | Split-mode Y pin override (V1..V127). |
color | color | — | Accent for the stick knob. |
Typical use
firmware.ino
BLYNK_WRITE(V1) { int x = param[0].asInt(); int y = param[1].asInt(); driveAxes(x, y);}iOS app
Yes — iOS joystick shares the 50 ms throttle and split-pin option.