Ring:bit Blocks Info
6. Ring:bit Blocks Info#
6.1. Add Packages#
The extension of the Ring:bit requires to be added if yuo want to use the Ring:bit blocks.
Following the steps below to add it.
Click “Advanced” in thte MakeCode drawer to see more choices.
Search “ringbitcar” in the dialogue box and click the circled part for downloading.
Extension sucessfully gets loaded.
6.2. Blocks Info#
Before programming, the pins must be connected correctly with the equivalent wheels in this block.
To drive the car forward or backward for a certain time in seconds.
To drive the car forward or backward to a certain distance(For reference operation only).
To turn the directions of the car to right or left at a certain angle(For reference operation only).
To drive the car forward at the full speed.
To drive the car backward at the full speed.
To turn the car to the left at the full speed.
To turn the car to the right at the full speed.
To stop the car.
To define the speed of the left wheel or the right wheel.
To detect the status of the detector with the line-tracking sensor.
To get the distance detected from the ultrasonic sound sensor.
Or to download it directly: