Go Down

Topic: I need help with a Joystick (Read 245 times) previous topic - next topic

LoonTheDog

Hi, I'm pretty new with this and I'm working with the school.
My teacher asked me to "draw" in the console with a Joystick, when it moves, a point that should appear in the console should "draw" what you move on the devise.
Someone has any idea? I searched and didn't found anything

Grumpy_Mike

Basically you can't draw in the console.
You could write another program in any language to do this on your computer. Processing is a good language to use and it is free. Just send the current position to it over the serial port and have the program join up the current position to the last one.

You could also do this with Python especially if you use a Raspberry Pi.

shooter

I think the teacher means processing, same type of environment.
or do you have a display connected to your arduino?
paul deelen
shooter@home.nl
making controls with codesys PLC and arduino

TheMemberFormerlyKnownAsAWOL

I think the teacher means Processing, same type of environment.
or do you have a display connected to your arduino?

Please don't PM technical questions - post them on the forum, then everyone benefits/suffers equally

Go Up