• sales

    +86-0755-88291180

Chapter 1 of KitiBot-Microbit: LED Matrix User Guide

Chapter 1 LED Matrix

Instruction of Graphic Programming Website


Open makecode webiste on browser, we recommend to use Chorme. The page will be like the figure below after opening. There are four areas, the top one is menu bar, the center one is Blocks area, left one is simulate demonstration area and the right one is block operation/programming area.


We first learn some basic blocks


Basic blocks are mainly used for some basic operation to control LED matrix of micro:bit.

There is a 5x5 LED matrix on front side of micro:bit, which is made by 25 red LEDs. The matrix can be used to display numbers, strings and icons.

:the program included in this block will run at first after start.

:The program included in this block will run all the time after start.

: Will display LEDs as defined, click little blocks to light on/of corresponding LEDs

: Display numbers, if the numbers larger than 10, it will rolling-display

: Rolling-display strings

: Display icon, click the little triangle for more icons.


:Clear the screen by turning off all LED

:Display arrows, click the little triangle for more arrows


Lighting LED


Let's try to light LEDs. Drag "show leds" block to the right side and put it on "on Start" block. Click leds to light them as you want. You can see that the micro:bit board on simulate demonstration area will light as you do.


Then we try to flash the program to micro:bit to see actual effect. Connect your micro:bit to PC, the micro:bit will be recognized as an U drive.


Click Download to flash program to the U drive. You can also download it to other path, and then copy the hex file to micro:bit. It is very easy to do.


Heart Beating



This demo displays a big heart icon first, and wait for 100ms, then display a small heart icon for 100ms. Put this demo to the forever block, it will keep the loop: big heart to small heart, looks like heart beating.

4. Display Strings



Analysis: Create a new progect, and drag the blocks which you don't need to left (delete). Use the String blocks to display string "hello!:. and set it display for per second.

With demos above, you can study how to use micro:bit to program. And we will describe more functions of micro:bit in next chapters and show you how to control the KitiBot.

TAG: Good low light performance ISX031C GMSL Camera H100 Image Sensor IP67 protection rating For Jetson Orin And MAX9296 GMSL camera Raspberry Pi 2inch LCD Industrial UART USB TO 8CH RS485 Isolated Converter For 35mm standard rail and stacked installation Serial UART Bus Servo ST3020 TTL 25KG.CM Magnetic-Encoder High precision and Large torque Raspberry Pi Pico 2 RP2350 1.8 inch AMOLED Development Board Display 368×448 TouchScreen Programmable Watch QSPI Electronic EYE 0.71 inch Round Double LCD Display Dual Screen For Arduino Raspberry Pi ESP32 Pico ST Raspberry Pi Pico 2 P2350-Plus Smart Car Kit PicoGo2 Autonomous Driving Learning Car ESP32 UART USB Bus Servo ST RSBL Driver board For Raspberry PI Robot ESP32 Portable Pendant Raspberry Pi 5 Camera Raspberry Pi Pico Display ESP32 Development Board C3 1.28 inch Round Rotary LCD Smart Screen 1.28inch Knob Display 240x240 LVGL for Arduino 0.85inch Screen ESP32-S3 Development Board 3.16 inch LCD display 3.16inch Screen SD slot 320x820 RGB LED ST7701 NVIDIA Jetson TX2 NX Module Computer Secondary Screen X1008 Raspberry Pi 5 PCIe to 2.5" 3.5" SATA HDD/SSD Dual Double-SATA (NOT BOOT From SATA/SSD Luckfox Pico SPI LCD Raspberry Pi 5 / 4B UPS With PD Trigger Activation Uninterruptible Power Bank Supply 9600mAh 5V/5A 25W Also For Phone/Mini Computer PC