Can the serial object send SPI messages?
I would like to control a digital pot using Arduino as shown here: http://arduino.cc/en/Tutorial/SPIDigitalPot. Of course I want to use MaxMSP instead of Processing. I've been able to flash LEDs, and get digital and analog input into Max through Maxuino/Firmata. However I think I've found a limitation with the serial object. The AD5206 uses SPI. Conceivably I could add the necessary functionality to Firmata, but how would the serial object communicate? Am I better off going with udpsend? Should I invest in an ethernet shield? Any advice is helpful.
Okay, the solution == oscP5!!! Forget going through the serial object, I can now use udpsend. Don't have to mess with anything else. oscP5 lets you intercept OSC messages in Processing programming environment. http://www.sojamo.de/libraries/oscP5/ How come I never heard of this sooner?
Hi, I'm trying to do the same thing with max/msp arduino and a digi pot. Could you go into more detail about how you got it to work? ie. what the max patch included and the arduino code.
Thanks