Program micro:bit to control a servo motor.
Use input buttons A and B as event trigger.
Use servo motor to adjust the degrees of firing angle to launch a projectile.
Program under this block will only run when the button is pressed.
Control which Servo Motor's port to use and degrees of movement. Maximum to 180 degrees.
Control which Servo Motor's port to use and degrees of movement. Maximum to 270 degrees.
Moving servo motor from 0 degree to 30 degrees
Servo motor is a rotary actuator that allows precise control of angular position.
Some servo motors use position-only sensing via a potentiometer and bang-bang control of their motor. The servo motor always rotates at full speed.