Datasheet

MakeCode Software – Klip Motor Extension (https://github.com/KitronikLtd/pxt-kitronik-klip-motor)
Klip Motor Driver for the BBC micro:bit
www.kitronik.co.uk/5655
This block starts a specific motor (either 1 or 2) spinning in a set
direction (forward or reverse) at a set speed (0 to 100%).
This block stops a specific motor spinning (either 1 or 2).
This block sets up the ZIP LEDs attached to the Klip Motor
board as a variable, enabling them to be controlled in the
program. The number of ZIP LEDs can be changed to match
the number connected, but BBC micro:bit pin connection is
automatically assigned.
This block sets all the ZIP LEDs to be the colour
selected in the colour picker (see right), and
then makes those changes visible.
This block makes changes visible on the ZIP LEDs, such as
setting individual ZIP LED colours or rotating the LEDs.
This block turns off all the ZIP LEDs attached to the Klip
Motor board.
This block sets a rainbow pattern to be displayed across all
the ZIP LEDs attached to the Klip Motor board. It can be used
in conjunction with the rotate and show changes blocks to
make the rainbow pattern move across all the ZIP LEDs.
This block moves all the colour settings for the ZIP LEDs
along a certain number of ZIP LEDs in the string (the default
is 1). The rotate block views the string of ZIP LEDs as a
continuous loop, so the settings of the last ZIP LED will
move to the first ZIP LED and so on.
This block sets the brightness of the ZIP LEDs to one of the
four brightness options (see right). These approximate to
the following percentages: Dim = 10%, Normal = 50%,
Bright = 80%, Super Bright = 100%. (Note: The brightness
will only change for events occurring after this block is
used).
This block sets a particular ZIP LED to be the colour selected
in the colour picker. However, this will not be made visible
until the show changes block is called. (Note: The first ZIP
LED in the string connected to the Klip Motor board will be
‘ZIP LED 0’, and the numbers count up from there).
There is also a MicroPython code example available at:
https://github.com/KitronikLtd/micropython-microbit-kitronik-klip-motor