Control Surface  1.1.1
MIDI Control Surface library for Arduino
ShiftRegisterOutRGB.hpp
Go to the documentation of this file.
1 /* ✔ */
2 
3 #pragma once
4 
6 AH_DIAGNOSTIC_WERROR() // Enable errors on warnings
7 
8 #include <stdint.h>
10 
12 
21  const static uint8_t redBit; // = 0;
26  const static uint8_t greenBit; // = 1;
31  const static uint8_t blueBit; // = 2;
32 };
33 
35 
Warnings.hpp
SettingsWrapper.hpp
AH_DIAGNOSTIC_POP
#define AH_DIAGNOSTIC_POP()
Definition: Warnings.hpp:17
AH::ShiftRegisterOutRGB::redBit
const static uint8_t redBit
The position of the red output pin for 3-color LEDs.
Definition: ShiftRegisterOutRGB.hpp:21
AH::ShiftRegisterOutRGB::blueBit
const static uint8_t blueBit
The position of the blue output pin for 3-color LEDs.
Definition: ShiftRegisterOutRGB.hpp:31
AH_DIAGNOSTIC_WERROR
#define AH_DIAGNOSTIC_WERROR()
Definition: Warnings.hpp:16
AH::ShiftRegisterOutRGB
A struct for setting the RGB mode for RGB shift registers.
Definition: ShiftRegisterOutRGB.hpp:16
BEGIN_AH_NAMESPACE
#define BEGIN_AH_NAMESPACE
Definition: AH/Settings/NamespaceSettings.hpp:9
END_AH_NAMESPACE
#define END_AH_NAMESPACE
Definition: AH/Settings/NamespaceSettings.hpp:10
AH::ShiftRegisterOutRGB::greenBit
const static uint8_t greenBit
The position of the green output pin for 3-color LEDs.
Definition: ShiftRegisterOutRGB.hpp:26