takuya ichise
/
TI_NEOPIXEL_SPI_SAMPLE
Sample code for TI_NEOPIXEL_SPI
Diff: main.cpp
- Revision:
- 5:dc96362ec4d5
- Parent:
- 2:e91690a04f44
--- a/main.cpp Thu Jan 02 14:23:13 2020 +0000 +++ b/main.cpp Sat Jan 04 02:53:47 2020 +0000 @@ -15,7 +15,9 @@ if (isRed) { // pixelArray.switchLightOff(pixelCount); // pixelArray.changeColor(totalNumOfRingLED, startNumOfRingLED, endNumOfRingLED, (rgbColor) {50, 10, 170}); - pixelArray.chaseRainbow(totalNumOfRingLED); + + int buffer = 4; + pixelArray.chaseRainbow(totalNumOfRingLED, buffer); } else { // rgbColor topColor = (rgbColor) {255, 0, 0};