This extension was created by Simube based on the Extension motor:bit
It is designed to work with the "Motor Drive Breakout Board for Micro:Bit" from Whadda / Velleman WPI403 or VMM403
input.onButtonPressed(Button.A, function () {
motordrive.move(Motors.A, Directions.Forward, 63)
})
input.onButtonPressed(Button.B, function () {
motordrive.move(Motors.A, Directions.Forward, 0)
})
motordrive.activate()
MIT
for PXT/microbit (The metadata above is needed for package search.)