Tutorials
Passing data from MAX to Arduino
Passing data from Arduino to MAX
Patches
dimmer
frequency
Homework
Build your max Patch so that it controls LED from a simple Analog sensor (e.g. cable or so). See examples (arduino sketch and max patch) for ideas