Approved content
The content below is provided by a partner.
Custom blocks for Kitronik :GAME ZIP64 for micro:bit. See website for example code.
For the ZIP LED display
// Create a variable for the 8x8 display
let display: GAME_ZIP64.ZIP64Display = null
display = GAME_ZIP64.createZIP64Display()
// set a single pixel at 3,3 to Red
display.setMatrixColor(3, 3, GAME_ZIP64.colors(ZipLedColors.Red))
display.show()
Use ||setBrightness|| to lower the brightness (it’s maxed out by default).
Use ||shift|| or ||rotate|| to shift the lights around.
To use the micro:bit music functions call ||setBuzzerPin|| to set the output to the onboard buzzer
GAME_ZIP64.setBuzzerPin()
For haptic feedback use ||runMotor||
GAME_ZIP64.runMotor(100)
MIT
kitronik-zip-64=github:KitronikLtd/pxt-kitronik-zip-64#v0.1.3