Skip to content

Commit 5ac97dd

Browse files
committed
Merge remote-tracking branch 'fdivitto/patch-1' into avr-update
Apply digistump/pull/61
2 parents 7002114 + da1e9fe commit 5ac97dd

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

digistump-avr/libraries/WS2811/examples/digispark/digispark.ino

+4-4
Original file line numberDiff line numberDiff line change
@@ -14,11 +14,11 @@ void loop() {
1414
}
1515

1616
void setPixel(i,r,g,b){
17-
rgb[r].r=r;
18-
rgb[g].g=g;
19-
rgb[b].b=b;
17+
rgb[i].r=r;
18+
rgb[i].g=g;
19+
rgb[i].b=b;
2020
}
2121

2222
void updatePixels(){
2323
WS2811RGB(rgb, ARRAYLEN(rgb));
24-
}
24+
}

0 commit comments

Comments
 (0)