Program a Continuous Servo
by Tyler W.
Upload Your Code
Download Your Code
Press the “Download” button in the bottom left of MakeCode.
Connect your Circuit Playground Express to your computer or Chromebook using the USB cord. Plug the smaller side of the USB cord into the silver port on your Circuit Playground.
The Circuit Playground should connect to your computer automatically and light up green.
Reset button
If this is your first time connecting your Circuit Playground, press the “reset” button in the center of the Circuit Playground to put it in boot mode.
You can press the reset button anytime you to reconnect your Circuit Playground to your computer. You will need to do this anytime you’d like to upload a new program.
Upload your program
Drag and drop your program onto your Circuit Playground. If everything goes well, the Circuit Playground will disconnect from your computer and start running your program immediately.
Troubleshooting
Here are a few tips to try if you motor isn’t working.
- Double check your wiring. When my motor isn’t moving, it is almost always because I connected the wrong wire a spot on the Circuit Playground.
- Double check your servo code. Have you uploaded the right program? You use different code to control the two types of motors. Is there something in your code that tells the motor not to move at the start? Did you use pin A1 or A2?
- Double check your servo. Is your code for a positional servo and connect a rotational servo to your Circuit Playground?