Configure thr pins available on the joystick as InterruptIn and use a printf statement to print the direction in which the joystick is pushed.
Tj Maher
/
DigitalInterrupts