TPbot Combat 3
Purpose
To build a combat TPBot.
Materials Requested
Bricks Pack
Assembly Steps
Hardware Connections
Connect the 360° servo to servo 1 port on the TPBot.
Software
Program
Click "Advanced" in the makecode drawer to see more choices.
For programming the TPBot, we need to add the extensions. Click "Extensions" at the bottom of the drawer and search with tpbot
in the box, then download it.
Samples program
While on start
, set to show an icon and drive the car to move forward at the speed of 50%.
Program
Reference link: https://makecode.microbit.org/_egqdaXL02ey6
You may download it directly here:
Conclusion
The cart drives forward and the fork in the headpart push the other carts away.