Swinging Obstacle
by Kennedy Joseph
Program the Servo
MakeCode Overview
We will be using the website, MakeCode.com, to program the Circuit Playground to control the servo motor.
It is a free, browsed based platform that uses block coding.
MakeCode will save your coding programs in the browser memory, so be sure to save your programs first before clearing your browser history.
Coding Tutorial
We will be coding the positional servo in your kit to swing back and forth, starting at 0 degrees and moving in an arc to 180 degrees.
Follow our step-by-step guide on how to program your servo.