Skip to content

PSLLSP/pxt-kitronik-stopbit

 
 

Repository files navigation

pxt-kitronik-stopbit

Kitronik blocks for micro:bit

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

STOP:bit

  • set traffic light state to Stop or other required state
input.onButtonPressed(Button.A, () => {
	Kitronik_STOPbit.trafficLightState(Kitronik_STOPbit.LightStates.Stop)
})
  • turn on and off individual colour LEDs
input.onButtonPressed(Button.B, () => {
	Kitronik_STOPbit.trafficLightLED(Kitronik_STOPbit.LightColours.Red, Kitronik_STOPbit.DisplayLights.Off)
})

License

MIT

Supported targets

  • for PXT/microbit
pxt-kitronik-stopbit=github:KitronikLtd/pxt-kitronik-stopbit

About

Custom blocks for STOP:bit for BBC micro:bit

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • TypeScript 98.7%
  • Makefile 1.3%