I've got a small circuit with a joystick and button attached. I've got a PCINT on 2 Analog pins (for the joystick) and one digital (for the button) and a dummy program that just prints the joystick values to Serial on each interrupt.
It "half works"
The button causes a PCINT every time but the Joystick only causes an interrupt when I move it in the "increase" direction.
Joystick centered and force interrupt via the button gives me 333, 327.
If I push the joy down I get an interrupt and 331, 660
If I push the joy left I get and interrupt and 607, 326
But if I push the joy up: no interrupt so I push the button to force one and I get 331, 0 (roughly expected values)
If I push the joy right: no interrupt. If I force one with the button: 0, 326 (again, what I expect)
(I also get a second interrupt when the joy goes back from down to center and left to center)
I've tried searching about reliability of PCINT on analog pins but haven't found anything useful.
Any suggestions ?