We closed this forum 18 June 2010. It has served us well since 2005 as the ALPHA forum did before it from 2002 to 2005. New discussions are ongoing at the new URL http://forum.processing.org. You'll need to sign up and get a new user account. We're sorry about that inconvenience, but we think it's better in the long run. The content on this forum will remain online.
IndexProgramming Questions & HelpOther Libraries › Processing and Phidgets Library
Page Index Toggle Pages: 1
Processing and Phidgets Library (Read 526 times)
Processing and Phidgets Library
Sep 13th, 2008, 3:00am
 
Hey All,
  I'm in search of a bit of help, or just someone to augment my admittedly novice processing skills.  I recently got a phidgets controller to play with some salvaged printer stepper motors, and while it comes with an interface to control the motors, the real goal was to be able to access the motors from processing.  The phidgets site has a java library to access the various calls to the motors but I'm a bit lost on accessing them.  I'm well enough versed in processing and using the existing libraries, but I've never imported a fresh library and the idea of public events, calls, and the like has me a bit out of my league.  Here is a link to the classes in the existing phidget21.jar.    

http://www.phidgets.com/documentation/web/javadoc/index.html

I've gotten the phidget.jar set up as a library and apparently imported into my sketch (at least its not throwing an error).  But now I'm a bit lost, I'm not able to access the calls, and I can't even really put up code for you to look at because I don't know where to begin.  The unadulterated java syntax is more than my simple processing brain can take.  If anyone can shed some light on the matter I would appreciate it.  I guess the main thing would be to help me understand how I would access the various methods and alter them from processing.

Sorry if this is a bit fundamental, but I've played with it long enough to realize I need some help.

Thanks,
Duncan

By the way here is the controller I got, its quite cool, but would be better if I could use it to make some kind of ridiculous processing powered draw bot

http://www.phidgets.com/products.php?product_id=1062


Page Index Toggle Pages: 1