Welcome to Tiny:bit Robot Car repository
当製品の日本語版マニュアル資料は、こちらからご取得ください。
1.Advance
Learning goal:
This lesson learns how to control car advance by Python programming.
Code:
1) Import tinybit library and others library: Image,display.
2) display.show(Image.ARROW_S):display arrow_s on dot matrix.
3) tinybit.car_run(150):Make car advance
From the hardware interface manual, we can know that the tracking sensor is directly driven by the micro:bit IIC pin.

Position of motor as shown below:
Programming and downloading:
1.You should open the Mu software, and enter the code in the edit window, , as shown below.
Note! All English and symbols should be entered in English, and the last line must be a space.
2.You can click the “Check” button to check if our code has an error. If a line appears with a cursor or an underscore, the program indicating this line is wrong.
3.Click “REPL” button,check whether the tinybit library has been downloaded. If not, please refer to the [preparation before class]---> [Python programming]
4.Click the “Flash” button to download the program to micro:bit board.
If the program is wrong or the experimental phenomenon is wrong after downloading, please confirm whether you have downloaded the Buildingbit libraryhex file we provided to the micro: bit board.
For the specific method of adding library files, please refer to 【1.Preparation before class】---【Python programming】
Experimental phenomena:
After download is complete, open the power switch, an arrow pointing forward is displayed on the dot matrix, and the Tiny:bit car will moving forward.