daniel-code-pen-part

This is an old revision of the document!


pen part

basic.forever(function () {

  if (input.buttonIsPressed(Button.A)) {
      wuKong.setServoSpeed(wuKong.ServoList.S0, 20)
  } else {
      wuKong.setServoSpeed(wuKong.ServoList.S0, -100)
  }

})

  • daniel-code-pen-part.1719450186.txt.gz
  • Last modified: 2024/06/26 18:03
  • by daniel.chen