Control Surface main
MIDI Control Surface library for Arduino
Loading...
Searching...
No Matches
Static Public Attributes | List of all members
ShiftRegisterOutRGB Struct Reference

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

Detailed Description

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

Definition at line 13 of file ShiftRegisterOutRGB.hpp.

+ Collaboration diagram for ShiftRegisterOutRGB:

Static Public Attributes

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

Member Data Documentation

◆ redBit

const 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 18 of file ShiftRegisterOutRGB.hpp.

◆ greenBit

const 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 23 of file ShiftRegisterOutRGB.hpp.

◆ blueBit

const 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 28 of file ShiftRegisterOutRGB.hpp.


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