Skip to content

KitronikLtd/pxt-kitronik-servo-lite

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

57 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Kitronik blocks for micro:bit

Blocks that support Kitronik Servo:Lite board for the micro:bit

ServoLite

  • turn around A
input.onButtonPressed(Button.A, function () {
    kitronik_servo_lite.turnRight(90)
})
  • go forward B
input.onButtonPressed(Button.B, function () {
    kitronik_servo_lite.driveForwards(10)
})
  • stop both motors when pressing A+B
input.onButtonPressed(Button.AB, function () {
    kitronik_servo_lite.stop()
})

License

MIT

Supported targets

  • for PXT/microbit (The metadata above is needed for package search.)

About

Blocks for driving Kitronik micro:bit boards

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Contributors 5