Closed greg-norris closed 6 years ago
When running this code, it doesn't work in the Simulator, but does work when deployed to the BrainPad.
forever(function () { if (input.buttonU.isPressed()) { lightbulb.setColor(0xff0000) } else { lightbulb.setColor(0x00ff00) } }) ``
When running this code, it doesn't work in the Simulator, but does work when deployed to the BrainPad.