The Calliope Mini has an on-board motor driver which can be used to control up to two connected motors. This example shows how to connect and code a simple motor kit and is meant to be a starting point for an own project.
All you need to get started is a robot kit with 2 motors, your calliope mini and a few male pins plus a soldering iron. You need to solder the 5 pins onto your calliope mini to connect the motors.
Next, open pxt.calliope.cc and code the little program above. We're turning on the Motor A when Button A is pressed, Motor B when Button B is pressend and both motors in case A+B are pressed. Simple, hopefully it helps you to get started with motors on your Calliope Mini!
Comments
Please log in or sign up to comment.