Approved content

The content below is provided by partner.

kitronikltd/pxt-kitronik-servo-lite 1.0.5 GitHub

Kitronik blocks for micro:bit

Blocks that support Kitronik Servo:Lite board for the micro:bit

ServoLite

input.onButtonPressed(Button.A, () => {
    kitronik_servo_lite.turnRight(90);
})
input.onButtonPressed(Button.B, () => {
    kitronik_servo_lite.driveForwards(10);
})
input.onButtonPressed(Button.AB, () => {
    kitronik_servo_lite.stop();
})

License

MIT

Supported targets

pxt-kitronik-servo-lite=github:KitronikLtd/pxt-kitronik-servo-lite
kitronik-servo-lite=github:kitronikltd/pxt-kitronik-servo-lite#v1.0.5