Built-in LED

ledOn()
ledOff()
ledBlink(on_ms, off_ms, blinks)

Example:

function handleFailure() {
  print("Failed");
  ledBlink(10, 10, 5); // 5 rapid blinks
}
function handleSuccess() {
  print("Success");
  ledBlink(500, 500, 2); // 2 slow blinks
}

Controls the built-in led on the board. The ledOn and ledOff commands permanently sets the led state.

The ledBlink command toggles the led, applying the given pattern.