Data aquisition with arduino Due

PS - I am not a coder ( I can program max and pure data but not code) - so I was hoping to just copy and paste some code as my friends seem to have managed for most of their arduino projects- I can also use the sarcduino max patch....