Open nhannn87dn opened 5 months ago
Hi, you can find the MicroPython libraries for REKA:BIT at this GitHub repo. REKA:BIT is the micro:bit expansion board used on the ZOOM:BIT robot.
You may open the sample .hex file (unzip) attached in https://python.microbit.org/ for reference. ZOOMBIT-mPy-Line Following.zip
Thanks you so much !
Hi !
Can you show me ?
It depends on your desired RGB LED flashing patterns. You can take a look at the reference on how to use Buttons in the micro:bit Python Editor. Since Python doesn't have Event Triggers like what we have in MakeCode, you will have to check the button press and change RGB LED colors all inside the same while True:
loop of your program.
You can refer to Digital IO for controlling the Headlights. Change the output pin numbers to the ones connected to Headlights on your ZOOM:BIT. For Ultrasonic, you can add this MicroPython library to your project and call the functions based on the examples there.
Zoombit for Python ? Have module Zoombit for Python ?
https://python.microbit.org/