BpodSystem.setStatusLED()

Description

Enables or disables the status indicator LED on the Bpod finite state machine.

  • If disabled, the status LED will remain off until the state machine is power cycled, or until re-enabled with setStatusLED()

  • setStatusLED() requires state machine firmware v23 or newer

Syntax

BpodSystem.setStatusLED(status)

Parameters

  • status

    • 0 = LED off

    • 1 = LED on

Returns

  • None

Example

% This code will disable the state machine status LED

BpodSystem.setStatusLED(0);