Pi Supply bit:buggy Project 09 – Remote control by accelerometer
We have already showed you how to use one micro:bit to control another and also use the built-in accelerometer to control aspects of the bit:buggy. Now in this project we are going to combine the two to remote control the bit:buggy using the accelerometer.
Connect your hardware
If you haven’t done so already, connect the left servo wheel to P1 and the right servo wheel to P2.
Coding
Remote Control micro:bit
Program link – https://makecode.microbit.org/_C5mbXj7EpdUi
bit:buggy micro:bit
Program link – https://makecode.microbit.org/_abi6gXMpbP1L
Action
The bit:buggy car will move as direction of the gyroscope and its speed will as the angle of inclination of the gyroscope.