Skip to content
 
 

Repository files navigation

micro:bit XGO Robot Kit

This extension is designed to programme and drive the micro:bit XGO Robot Kit. You can get micro:bit XGO Robot Kit from the Elecfreaks store.

Code Example

input.onButtonPressed(Button.A, function () {
    xgo.execution_action(xgo.action_enum.Sit_down)
})
input.onButtonPressed(Button.AB, function () {
    xgo.move_xgo(xgo.direction_enum.Forward, 50)
})
input.onButtonPressed(Button.B, function () {
    xgo.execution_action(xgo.action_enum.Wave)
})
xgo.init_xgo_serial(SerialPin.P1, SerialPin.P2)
xgo.execution_action(xgo.action_enum.Default_posture)
xgo.leg_lift_continue(30, 3)
basic.forever(function () {
	
})

Supported targets

for PXT/microbit

License

MIT

About

The XGO-Rider is a desktop-sized, dual-wheeled, bipedal robot based on the micro:bit platform. It uses 4.5KG.CM all-metal servos and FOC wheel hub motors for omnidirectional movement and stability. Equipped with an IMU for advanced algorithms and secondary development, it supports graphical programming.

Resources

Stars

0 stars

Watchers

0 watching

Forks

Releases

Packages

Contributors

Languages