Approved content
The content below is provided by a partner.
Blocks that support Kitronik kits and shields for the micro:bit This package is for the [Kitronik :CREATE BBC micro:bit interface for Fischertechnik] (http://www.kitronik.co.uk/5656)
input.onButtonPressed(Button.A, function () {
Kitronik_IFF.motorOn(Kitronik_IFF.Motors.Motor1, Kitronik_IFF.MotorDirection.Forward, 100)
})
input.onButtonPressed(Button.B, function () {
Kitronik_IFF.motorOff(Kitronik_IFF.Motors.Motor1)
item = Kitronik_IFF.ntc(Kitronik_IFF.PinSelection.P0)
item = Kitronik_IFF.readPhototransistor(Kitronik_IFF.PinSelection.P0)
Kitronik_IFF.led(Kitronik_IFF.PinSelection.P0, Kitronik_IFF.Illumination.On)
basic.pause(1000)
Kitronik_IFF.led(Kitronik_IFF.PinSelection.P0, Kitronik_IFF.Illumination.Off)
basic.pause(1000)
MIT
kitronik-fischertechnik=github:KitronikLtd/pxt-kitronik-fischertechnik#v1.0.3