User Tools

Site Tools


processing:phidgets

Phidgets and Processing

Notes

Install the Phidgets Java library like most additional libraries in Processing (help link)

Most Phidget calls need to be enclosed in try/catch handlers, i.e.

try{
  // phidget call
  ik = new InterfaceKitPhidget();
  }
  catch(Exception e){
  // exception/error handling
  }

Close connection at the end of your sketch

void stop(){
  try{
    ik.close();
  }
  catch(Exception e){
  }
}

Examples and other demo sketches

phidgetik_general.zip Phidget Interface Kit, display analog sensor values as level bars.

processing/phidgets.txt · Last modified: 2012/06/27 03:18 by camille