This is an old version of the documentation. View the latest version here.
Control Surface  1.0.0
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 <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 13 of file ShiftRegisterOutRGB.hpp.

Member Data Documentation

◆ redBit

const static uint8_t ShiftRegisterOutRGB::redBit
static

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


For the usual RGB configuration, this is 0.

Examples
2.RGB-LED-Chaser.ino.

Definition at line 18 of file ShiftRegisterOutRGB.hpp.

◆ greenBit

const static uint8_t ShiftRegisterOutRGB::greenBit
static

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


For the usual RGB configuration, this is 1.

Examples
2.RGB-LED-Chaser.ino.

Definition at line 23 of file ShiftRegisterOutRGB.hpp.

◆ blueBit

const static uint8_t ShiftRegisterOutRGB::blueBit
static

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


For the usual RGB configuration, this is 2.

Examples
2.RGB-LED-Chaser.ino.

Definition at line 28 of file ShiftRegisterOutRGB.hpp.


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