Differences
This shows you the differences between two versions of the page.
Next revision | Previous revision | ||
daniel-code-car-part [2024/06/26 18:02] – created daniel.chen | daniel-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, | input.onButtonPressed(Button.A, | ||
wuKong.setMotorSpeed(wuKong.MotorList.M1, | wuKong.setMotorSpeed(wuKong.MotorList.M1, |