Here’s a simple example for connecting a PhidgetInterfaceKit 8/8/8 to a computer, using Processing.
You will need to download the phidget21.jar package from the phidgets website, find it in the ‘Programming’ section in the java examples section. Once downloaded, just use Sketch>Add File… to add the file to your sketch. Connect via USB and you’re ready to go. I’ve labelled variables based on the sensors I was using, feel free to reassign and use as you will;… Read more