daniel-code-car-part

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Next revision
Previous revision
daniel-code-car-part [2024/06/26 18:02] – created daniel.chendaniel-code-car-part [2024/06/26 18:12] (current) daniel.chen
Line 1: Line 1:
 ====== car part  ====== ====== car part  ======
 +
 +===== These codes make my robot move in different directions or stop when I press different buttons =====
 +
 +
 input.onButtonPressed(Button.A, function () { input.onButtonPressed(Button.A, function () {
     wuKong.setMotorSpeed(wuKong.MotorList.M1, -100)     wuKong.setMotorSpeed(wuKong.MotorList.M1, -100)
  • daniel-code-car-part.1719450169.txt.gz
  • Last modified: 2024/06/26 18:02
  • by daniel.chen