Skip to content

RT: Set Color Table 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 an entry in the breakout board color table to the target color. LEDs set to that index using the RC: or RI: commands after this will use the new color.

RT:<entry>,<rgb><cr>

<entry>

This is the index of the color table entry that you want to update. Entries are accessed via hex 00 - FF (0-255) since there are 256 entries in the color table.

<rgb>

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

Example

Replace color table entry 64 (hex 0x40) with orange

The command would look like this:

RT:40,FFA500<CR>

Breaking it down:

  • RT: command name
  • 40 entry 64 of the color table
  • FFA500 orange target color
  • <CR> at the end

Return Response

None

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