I was wondering if there was a way to cycle through the individual bits of a port without having to write each one out individually
i.e. P1.0, P1.1..etc.
I need to light up some LEDs and just wanted to save myself from lengthy code. I'd be particularly interested in some sort of "variable" I could define to equate to each bit like say P1.port and then just increment port. Thanks