Example Code for micro:bit-Get Product Information
- Learning Target: Retrieve product information from Maqueen. - Effect: The product information is showed on the micro:bit LED panel. - Display in Simplified Chinese: ROB0148-CN; - Display in Traditional Chinese: ROB0148-TW; - Display in English: ROB0148-EN; - Display in Korean: ROB0148-KR; - Display in Japanese: ROB148-JP.
Hardware Preparation
- Maqueen Lite-micro:bit Educational Programming Robot Platform x 1 (ROB0148)
- micro:bit board x 1
Software Preparation
- Makecode graphical online programming platform: makecode.microbit.org
- Maqueen library: Search for "dfrobot" in makecode extension and select "maqueen".
Wiring Diagram
No additional wiring required.
Other Preparation Work
Ensure Maqueen is powered on.
Sample Code
Screenshot of the graphical program:

Makecode Program link: https://makecode.microbit.org/_fzJDgMDzceUL
Result
The product information is displayed on the micro:bit LED panel as described.
Additional Information
No additional content provided.
Was this article helpful?
