We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent d03763e commit ca2f0eeCopy full SHA for ca2f0ee
pio/apa102/apa102.c
@@ -62,7 +62,7 @@ int main() {
62
for (int i = 0; i < N_LEDS; ++i) {
63
put_rgb888(pio, sm,
64
wave_table[(i + t) % TABLE_SIZE],
65
- wave_table[(2 * i + 3 * 2) % TABLE_SIZE],
+ wave_table[(2 * i + 3 * t) % TABLE_SIZE],
66
wave_table[(3 * i + 4 * t) % TABLE_SIZE]
67
);
68
}
0 commit comments