Show pageOld revisionsBacklinksBack to top This page is read only. You can view the source, but not change it. Ask your administrator if you think this is wrong. ====== pen part ====== ==== These codes control the servo motor to raise or lower the pen when I press different buttons ==== 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.txt Last modified: 2024/06/26 18:21by daniel.chen