Can the serial object send SPI messages?

    Oct 18 2010 | 6:15 pm
    I would like to control a digital pot using Arduino as shown here: 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.

    • Oct 19 2010 | 5:28 am
      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. How come I never heard of this sooner?
    • Jun 02 2012 | 12:31 am
      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.