Arduino Helpers master
Utility library for Arduino
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. More...
 
static const uint8_t greenBit
 The position of the green output pin for 3-color LEDs. More...
 
static const uint8_t blueBit
 The position of the blue output pin for 3-color LEDs. More...
 

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.

Examples
2.RGB-LED-Chaser.ino.

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.

Examples
2.RGB-LED-Chaser.ino.

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.

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: