The command is 16 bits wide, and the colour data is 12 x 16 bits. More...
#include <sg_104020006_LEDBar.hpp>
Public Member Functions | |
Data (void) | |
Public Attributes | |
uint16_t | command |
uint16_t | colour [12] |
The command is 16 bits wide, and the colour data is 12 x 16 bits.
This makes a total of 208 bits, or 26 bytes. See pages 12-14 of the datasheet for details. By default, only the lower 8 bits of each colour is used, and the upper 8 bits remain at zero.
colour
[10] and colour
[11]) are ignored.The colours are assigned as follows:
|
inline |
References SG::LEDBar::all_off(), SG::LEDBar::all_on(), SG::LEDBar::LEDBar(), SG::LEDBar::send_data(), SG::LEDBar::toggle(), and SG::LEDBar::~LEDBar().
uint16_t SG::LEDBar::Data::colour[12] |
Referenced by SG::LEDBar::all_off(), SG::LEDBar::all_on(), and SG::LEDBar::send_data().
uint16_t SG::LEDBar::Data::command |
Referenced by SG::LEDBar::send_data().