#define BEGIN_CS_NAMESPACE
A class for serial-in/parallel-out shift registers, like the 74HC595 that are connected to the SPI bu...
void begin() override
Initialize the shift register.
A super class for object that have to be updated regularly.
A VU meter that reads from an Audio stream using the AudioAnalyzePeak class, and displays it on an LE...
void update() override
Update the LEDs with the latest level.
AH::DotBarDisplayLEDs< N > vuleds
void begin() override
Initialize.
void setMode(AH::DotBarMode mode)
Set the mode to either dot or bar mode.
AudioVULEDs(const AH::DotBarDisplayLEDs< N > &vuleds, AudioAnalyzePeak &level, float gain=1.0)
Create a new AudioVULEDs object.
void dotMode()
Set the mode to dot mode.
void barMode()
Set the mode to bar mode.
A VU meter that reads from an Audio stream using the Analyzer class.
uint8_t getValue() override
Get the value of the VU meter.
class AudioVU::Analyzer level
DotBarMode
An enumeration type to set an LED display to either bar or dot mode.