
buttonL and buttonR are objects representing the two pushbuttons on the Circuit Playground. Internally buttonL is connected to pin 4 and buttonR is connected to pin 19.
buttonL.isPressed - Boolean property, true is the button is being pushed down, otherwise falsebuttonL.holdtime - Number of milliseconds for button to be held down before "hold" event is firedbutton.holdtimeFound a bug in the documentation? Let us know at documentation@code.org