Skip to content

RA: Set all LEDs command: EXP Bus Command Reference

Understanding EXP board addressing

This command is used with FAST Expansion and FAST breakout boards via a FAST Serial Protocol (FSP) connection to the EXP Bus. Please read the EXP Overview to understand the operation of these commands and addresses.

This command sets all the LEDs connected to all ports on a breakout board to be the same color.

RA:<rgb><cr>

<rgb>

RGB color value as a single ASCII hex number, with each channel in the range of 0-255 (0x00 - 0xFF hex).

Example

Turn on all LEDs connected to the FP-EXP-0091 expansion board, breakout 0 (address 880), about 20% green

The commands would look like this:

ea:880<CR> ra:005500<CR>

Breaking it down:

  • EA: active expansion command
  • 880 address of breakout 0 on the 0091 board
  • <CR> at the end
  • RA: command name
  • 005500 target color of light green
  • <CR> at the end

If you have a global fade rate set (via a previously-sent RF: command for the board the LEDs are attached to), then the LEDs will fade to the target color over the set time.

Return Response

None

N or > jump the next page, P or < for previous, search with S or ?