Thanks Mike.
Quote Originally Posted by Mike, K8LH View Post
Does PBP allow assignments in expressions like C? ...
Nope, not even a +=

However, your x = (x+1)&7 takes much less time than my x = (x + 1) // 8 (Modulus) approach.
What was I thinking?

Cool, thanks!