Skip to content

Commit 4c8f6a0

Browse files
committedDec 26, 2015
re-enabling commented out code
1 parent b624664 commit 4c8f6a0

File tree

1 file changed

+5
-6
lines changed

1 file changed

+5
-6
lines changed
 

‎color_organ_ledstrip/color_organ_ledstrip.ino

+5-6
Original file line numberDiff line numberDiff line change
@@ -124,17 +124,17 @@ void seven(int totalLEDs) {
124124
}
125125

126126
void threeMarquee(int totalLEDs) {
127-
/*if (iteration == 10) {
128-
/* ensure that we only change the offset once every 100 iterations, so that you can see the marquee effect
127+
if (iteration == 10) {
128+
/* ensure that we only change the offset once every 100 iterations, so that you can see the marquee effect */
129129
iteration = 0;
130130

131131
if (marqueeOffset < totalLEDs) {
132-
/* we can only offset the count up to the total number of LEDs we're processing
132+
/* we can only offset the count up to the total number of LEDs we're processing */
133133
marqueeOffset++;
134134
} else {
135135
marqueeOffset = 0;
136136
}
137-
}*/
137+
}
138138

139139
for (int i = 0; i < totalLEDs; i++){
140140
int ledPosition = i + marqueeOffset;
@@ -177,7 +177,6 @@ void loop(){
177177
//setColors(7, 60);
178178
threeMarquee(60);
179179
}
180-
//Serial.println();
181180

182181

183-
182+

0 commit comments

Comments
 (0)