Calibrate
After your servo is properly connected (you think)
Start
Set angle to 90
servo write pin PO to angle
Forever
show angle
A Button Pressed
angle = max of 0 and angle - 5
// look for the max of block in math
servo write pin PO to angle
stop animation
// stop animation can be found under LED more...
B Button Pressed
angle = min of 180 and angle +5
servo write pin PO to angle
stop animation
Before you move on you should be able to answer
Last updated