Blocks for driving the Kitronik I2C 16 servo expansion board
Blocks that support Kitronik I2C Servo driver board for the micro:bit
- servos are listed in an enum
Servos.Servo1 through to Servos.Servo16
- set servo output 1 to 90 degrees when button A pressed
input.onButtonPressed(Button.A, () => {
kitronik_i2c_16_servo.servoWrite(Servos.Servo1, 90);
})
MIT
- for PXT/microbit (The metadata above is needed for package search.)
pxt-kitronik-I2C-16-servo=github:KitronikLtd/pxt-kitronik-I2C-16-servo