At the end of this lesson, you will be able to:
control a servo motor
review Robot:Bit extension
inside this extension is a "servo" section
watch this video, "Behind the MakeCode Hardware - Servo Motors with micro:bit"
servos are little motors that DO NOT turn continuously (usually) but move back and forth
for example moving a rudder on a toy plane or boat
plug the servo on the Robot:Bit
note the colors of the wires and the terminals, make sure they match
note the number you placed the servo wires on (ex: S1)
click on provided link to create a new GitHub repo
call the repo: TEJ2O.1 ⇢ Unit5-07
create a program that moves the servo back and forth
press "A" and it goes one way
press "B" and it goes the other way
do the same assignment, but in Python
this might help
Click the "A" or "B" button
remember you need to add the "RobotBit" extension