3 Simple Ways to
Share What You Make

With Instructables you can share what you make with the world — and tap into an ever-growing community of creative experts.

PhotosPhotos

Share one or more photos of a project, recipe, or whatever you've made, quickly and easily.

Step by StepStep-By-Step

Share your step-by-step photos with text instructions of what you made so others can do it too!

VideoVideo

Share your how-to video. You'll need your embed code from a video site such as YouTube.

Read a Joystick in Processing?

I am making a Bluetooth controlled spy robot. I need to be able to read the joystick to control the robot and the little analog stick to control the pan/tilt system. I am not that fluent in processing, so I don't know if there is a joystick command or do I have to use a library.Thx

10 answers
sort by: active | newest | oldest
Jan 29, 2012. 1:27 AMlemonie says:
Apart from the joystick; what are you building this with?

L
Jan 29, 2012. 6:12 AMsteveastrouk says:
Analog read function is all you need.

Steve
Feb 1, 2012. 4:28 AMsteveastrouk says:
Ah, now if you'd actually said that in the first place...

Try JavaJoystick.

Steve
Feb 1, 2012. 7:31 AMsteveastrouk says:
Not being a Processing expert, I suggest that you look at the documentation for the thing. AIUI, if its in the library path for your project, Processing can use it.

Steve
Feb 1, 2012. 10:21 AMsteveastrouk says:
That's another method - use a serial interface to Processing.

Pro

Get More Out of Instructables

Already have an Account?

close

All Steps Viewing
View all steps of an Instructable on the same page when you're a Pro Member.

Upgrade to Pro today!