Go Down

Topic: (Solved) My Code Works... Most Of The Time... (Read 513 times) previous topic - next topic

PaulS

Quote
Well, the error is on led 3... And when LED == 3, it is pins 7, 6, and 5.

But, the value in LED can get to 4. The arrays only contain 4 values. The indices for those values are 0, 1, 2, and 3, not 1, 2, 3, and 4.

Go Up