Welcome to Mini Microbit Handle repository
3.Spinbit
Spinbit Micro:bit Handle Control
In this lesson we will learn to use the Handle to remotely control the building block Ferris wheel.
1. Programming method:
Mode 1 online programming: First, we need to connect the micro:bit to the computer by USB cable. The computer will pop up a USB flash drive and click on the URL in the USB flash drive: http://microbit.org/ to enter the programming interface. Add the Yahboom package https://github.com/lzty634158/SuperBit to program.
Mode 2 offline programming: We need to open the offline programming software. After the installation is complete, enter the programming interface, click【New Project】, add Yahboom package:
https://github.com/lzty634158/SuperBit, you can program.
2. About Ferris wheel code:
Please refer to the Ferris_wheel_code file of this experiment.
Please refer to the Handle_code file of this experiment.
3. Steps:
3.1 Handle rocker control
First, we need to download the microbit-Ferris-wheel-code.hex to micro:bit of Ferris wheel, you can see that the micro:bit dot matrix shows an pattern as shown in Figure 1.1.
we need to download the microbit-Handle_rocker_control.hex to micro:bit of Handle, you can see that the micro:bit dot matrix shows an “heart” as shown in Figure 1.2.

Figure 1.1 Figure 1.2
Then, open the micro:bit handle. After the handle is connected with the micro:bit building block Ferris wheel, you can use the button to control the forward, reserve, accelerate, decelerate and switch the Color of RGB light.
Note: The speed of motor will become 0 when direction is switched.