Skip to content

HackCodeTinker/motionkit

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

27 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Calliope mini Motion Kit, update to the Kitronik blocks for micro:bit

Blocks to support the Calliope mini Motion Kit.

ServoLite

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

License

MIT

Supported targets

  • for PXT/calliope (The metadata above is needed for package search.)
pxt-motion-kit=github:joernalraun/motionkit

About

MakeCode package for the Calliope mini MotionKit.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Contributors 2

  •  
  •