Here's the first test release of Pduino, the Pd firmware for Arduino (http://arduino.cc) and a matching Pd object, [arduino]. This allows you get data from the digital and analog inputs, and send data to the PWM and digital outputs. It also allows you to change the digital pins from input, output, or PWM. And you can choose how many analog inputs and turn on/off digital input.
http://at.or.at/hans/pd/objects.html
Keep in mind its a test release, the only thing I am not sure about right now is digitalInput, everything else seems to work fine.
.hc
________________________________________________________________________ ____
"Information wants to be free." -Stewart Brand