Sending voltage with Max NSP

Hello,

I'm trying to build a system with a M0 Pro (also have a Duemilanove) that is able to send voltage (-5 to +5 with the highest resolution possible) with a MCP4725 DAC.

I am able to do it with Arduino IDE but i am asked to do it with OSC / Max NSP.

Sadly i could not find any useful information about how to do it.

Also, i am using a ADS1115 ADC to measure current and voltage from a memristor, i wired it like this but it doesn't work :

GND --[resistor]--- A0 --- [memristor]--- A1 --- [+]

Thanks for your help.

I am able to do it with Arduino IDE but i am asked to do it with OSC / Max NSP.

OSC and/or Max NSP won't be able to send a voltage to a MCP4725 DAC. They WOULD be able to send a message to the Arduino telling it that it needs to send the necessary instructions to the MCP4725 DAC.