I’m a french teacher and I use Rpi3 with Grove Cards with my students.
I just bought a lot of Joystick like this :
I don’t find a tutorial to configure them with scratch…
So, like a button, i do :
But I receive juste one value, the X value I think.
But I need Y value too.
On this Website, I see the python code. The two analog Pins A0 and A1 are used for that in the Grove Cards.
But how can I declare and catch this two values on Scratch ?
But the only value is analogRead…
Thanks for the help and excuse me for my bad english