NeoPixel-KnightRider
NeoPixel-KnightRider copied to clipboard
Fix for knightRider function
The first for loop for the function knightRider should most likely be:
for(uint16_t i=0; i < cycles; i++){
It is currently set to int i = 1, when the lights loop back around to the first pixel, the color is wrong because it has no data for it and displays white, as well this fixes the comparison of the value i to cycles so they are of the same data type.