Ok, so I answered my own question.
This works:
This doesn't:Code:x = (x + 1) // 5
The question now becomes: is there a way to set the on/off periods individually for each of the 5 LEDs? The code above has the LEDs blink with the same on time as off; I need to be able to make some of the 'off' times longer than the 'on' and vice versa.Code:x = (x+1)&4
Bookmarks