Files

copied

Scanning the repository...

Last update 5 years 9 months by Tom Whitwell
FilesRadioMusic
..
AnalogInput.cpp
AnalogInput.h
AudioEngine.cpp
AudioEngine.h
AudioFileInfo.h
AudioSystemHelpers.h
DebugUtils.h
FileScanner.cpp
FileScanner.h
Interface.cpp
Interface.h
LedControl.cpp
LedControl.h
PlayState.cpp
PlayState.h
README.MD
RadioMusic.h
RadioMusic.ino
Radio_Music_Next.txt
RamMonitor.h
SDPlayPCM.cpp
SDPlayPCM.h
Settings.cpp
Settings.h
Tuning.cpp
Tuning.h
WavHeaderReader.cpp
WavHeaderReader.h
LedControl.h
#ifndef LedControl_h #define LedControl_h /** * Chord Organ / Radio Music LED control * * 4 LEDs across the top and 1 reset LED. * */ #define LED0 6 #define LED1 5 #define LED2 4 #define LED3 3 #define RESET_LED 11 // Reset LED indicator class LedControl { public: LedControl(); void init(); void single(int index); void multi(uint8_t bits); void bankAndSingle(int bank, int index); void flash(); void showReset(boolean high); private: boolean flashingBank = false; elapsedMillis bankFlashTimer = 0; uint16_t bankLedFlashTimes[3] = {400,100,30}; }; #endif
Report a bug