roboticfan101:
Does anything have to go in the parenthesis with the word angle in it? I have an odd feeling like there should be an angle measure there.myServo.write(angle);
'angle' is the name if an integer variable, calculated from the acceleration:
int accel = analogRead(ADXLpin);
int angle = map(accel, 0, 1023, 0, 180);
myServo.write(angle);