void setup()
Unlike physical buttons that might toggle a single digital pin, the joystick almost always uses Virtual Pins (e.g., V1 ). This allows the app to send a "packet" of data containing both coordinates to your microcontroller. blynk joystick