Approved content
The content below is provided by a partner.
Blocks that support Kitronik STOP:bit board for the micro:bit.
input.onButtonPressed(Button.A, () => {
Kitronik_STOPbit.trafficLightState(Kitronik_STOPbit.LightStates.Stop)
})
input.onButtonPressed(Button.B, () => {
Kitronik_STOPbit.trafficLightLED(Kitronik_STOPbit.LightColours.Red, Kitronik_STOPbit.DisplayLights.Off)
})
MIT
pxt-kitronik-stopbit=github:KitronikLtd/pxt-kitronik-stopbit
kitronik-stopbit=github:KitronikLtd/pxt-kitronik-stopbit#v1.0.20