Datasheet

Kitronik have created custom blocks for the Halo HD for use with MakeCode.
To add these blocks, first go to makecode.microbit.org and start a new project.
Under the “Advanced” section click on “Extensions”. In the next window search for “Halo HD”.
Once the icon appears, click on the icon to import it into MakeCode.
In the Halo HD section there will appear three sub-categories: ZIP LEDs, Microphone and Clock. The example code
pictured will be using blocks from the ZIP LEDs and Microphone sections.
The first example will make the HaloHD to display a rotating rainbow pattern.
In the on start block, the number of ZIP LEDs is defined. Then, a rainbow spectrum is shown across all the LEDs.
In the forever loop, the LED colour is rotated by 1 and then shown on the ZIP LEDs.
There is then a pause of 100ms before rotating the LEDs. This will enable the colours to move around the LEDs.
The second example sets the music pin to the correct pin for the buzzer on the Halo HD board.
The interrupt block waits for a single clap to be detected by the MEMS microphone.
Once detected, a melody will be played (this is from the standard music blocks in MakeCode), followed by a smiley face
held for 1 second.
After the 1 second wait, the micro:bit screen is cleared ready to display for the next clap detected.
Halo HD Board for the BBC micro:bit
www.kitronik.co.uk/5672
MakeCode Blocks Editor Code
Example 1
Example 2