Example code for use with the Kitronik Interface for Fischertechnik board ( www.kitronik.co.uk/5656 )
This package contains a function to drive motors:
kiff.motorOn(kiff, "Motor1", "forward", 100)
This package contains a function to stop drive:
kiff.motorOff(kiff, "Motor1")
This package contains a function to read NTC resistor:
display.show(kiff.ntc(kiff,"P0"))
This package contains a function to read phototransistor voltage:
display.show(kiff.phototransistor(kiff,"P0"))
This package contains a function to turn on LED:
display.show(kiff.led(kiff,"P0", "on"))
MIT
BBC micro:bit