Help: Arduino Joystick Shield tracing a wave

Hi @jzeng21, You are welcome, sorry no-one has replied. I’m not clear what you are trying to do, maybe others are as well and that’s why there are no replies.

The green trace on the image, that’s drawn by the computer? The white trace is the joystick trying to follow it? Someone is holding the joystick trying to follow the green line? Your posted code is not the whole thing? Just the part that does … ? You say “code to control the joystick” - but the hand controls the joystick? “code to read the joystick”?

Richard.

1 Like