How does attaching analog inputs to digital pins actually works?

Oh, alright I got confused with the Y-axis :wink: Many thanks!