Approved content

The content below is provided by a partner.

KitronikLtd/pxt-kitronik-stopbit 1.0.20 GitHub

pxt-kitronik-stopbit

Kitronik blocks for micro:bit

Blocks that support Kitronik STOP:bit board for the micro:bit.

STOP: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)
})

License

MIT

Supported targets

pxt-kitronik-stopbit=github:KitronikLtd/pxt-kitronik-stopbit
kitronik-stopbit=github:KitronikLtd/pxt-kitronik-stopbit#v1.0.20