G.U.L.L.S. rebuilt to use PlatformIO

This commit is contained in:
2024-07-01 19:18:45 -04:00
commit f934849576
55 changed files with 4082 additions and 0 deletions

18
src/CycleLightStrip.cpp Normal file
View File

@@ -0,0 +1,18 @@
#include "CycleLightStrip.h"
void CycleLightStrip::execute() {
if(cycleLightInt == 0) {
strip->clearLEDs();
}
strip->setColor(cycleLightInt, colors[cycleLightColor % numColors]);
cycleLightInt++;
if(cycleLightInt >= strip->getNumLEDs()) {
cycleLightInt = 0;
cycleLightColor++;
}
strip->requestShow();
}