Skip to content

Fix for knightRider functionΒ #6

@cruzcranford

Description

@cruzcranford

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.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions