Hello,

I'm hoping someone can point me in the right direction, I want to create an array of pins something like what is shown below, but I haven't found a way yet. Thanks in advance guys.

Code:
myvar[0] = portb.2
myvar[1] = portc.1
myvar[2] = portc.5