Skip to content

Commit 63f3cc5

Browse files
committed
fix sparkle motion warning
1 parent 7dba79b commit 63f3cc5

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Sparkle_Motion_Examples/Arduino_Sparkle_Motion_Multi_NeoPixels/Arduino_Sparkle_Motion_Multi_NeoPixels.ino

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,7 @@ uint16_t pixelHue_2 = 256;
2323

2424
void loop() {
2525
pixelHue_1 += 256;
26-
for(int i=0; i<STRIP_1.numPixels(); i++) {
26+
for(uint i=0; i<STRIP_1.numPixels(); i++) {
2727
int hue_1 = pixelHue_1 + (i * 65536L / STRIP_1.numPixels());
2828
STRIP_1.setPixelColor(i, STRIP_1.gamma32(STRIP_1.ColorHSV(hue_1)));
2929
}

0 commit comments

Comments
 (0)