Looks good to me if the addressing works with PWM.
What happens if you only try to PWM a single LED when you address it that way.. same thing?
I've read about the trick to address pins, what if you knock them into a declared array first,
and then aliased each one, I wonder what that would do.
Code:pins[8] var byte portb.0 var pins[0] portb.1 var pins[1] portb.2 var pins[2]… Then cycle "pins" in the PWN command for selected = 0 to 7 pins[selected] = value next selected
Bookmarks