Control Surface  1.1.1
MIDI Control Surface library for Arduino
Static Public Attributes | List of all members
ShiftRegisterOutRGB Struct Reference

A struct for setting the RGB mode for RGB shift registers. More...

#include <AH/Hardware/ExtendedInputOutput/ShiftRegisterOutRGB.hpp>

Collaboration diagram for ShiftRegisterOutRGB:

Static Public Attributes

const static uint8_t redBit
 The position of the red output pin for 3-color LEDs. More...
 
const static uint8_t greenBit
 The position of the green output pin for 3-color LEDs. More...
 
const static uint8_t blueBit
 The position of the blue output pin for 3-color LEDs. More...
 

Detailed Description

A struct for setting the RGB mode for RGB shift registers.

Definition at line 16 of file ShiftRegisterOutRGB.hpp.

Member Data Documentation

◆ redBit

const static uint8_t redBit
static

The position of the red output pin for 3-color LEDs.


For the usual RGB configuration, this is 0.

Definition at line 21 of file ShiftRegisterOutRGB.hpp.

◆ greenBit

const static uint8_t greenBit
static

The position of the green output pin for 3-color LEDs.


For the usual RGB configuration, this is 1.

Definition at line 26 of file ShiftRegisterOutRGB.hpp.

◆ blueBit

const static uint8_t blueBit
static

The position of the blue output pin for 3-color LEDs.


For the usual RGB configuration, this is 2.

Definition at line 31 of file ShiftRegisterOutRGB.hpp.


The documentation for this struct was generated from the following file: