I am not very good at writing codes and I am trying to control a servo with a Spark fun MMA7361 accelerometer. Im really only going to use the x and y axis but any help on how to write the code and connect everything would be greatly appreciated.
The servo "knob" code example in the IDE might be a place to start.