Skip to content

Latest commit

 

History

History
30 lines (24 loc) · 784 Bytes

README.md

File metadata and controls

30 lines (24 loc) · 784 Bytes

micro:bit STELLA Robot Kit

This extension is designed to programme and drive the micro:bit STELLA Robot Kit. You can get micro:bit STELLA Robot Kit from Ahead.

Code Example

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

Supported targets

for PXT/microbit

License

MIT