Using a PIC18F6310 with two large banks of LEDs. Each LED is connected to it's own output. The order that the LEDs are displayed doesn't correspond with the output ports. In other words, LEDs 0-7 aren't connected to portX 0-7.
I've been trying to come up with a way to map the output bit addresses to something that will code up a little cleaner (array of bits; union of bits/array of bits; ????) as opposed to writing each output individually.
So far nothing appears to even come close. Any pointers would be appreciated!!
You cannot post new topics in this forum You cannot reply to topics in this forum You cannot edit your posts in this forum You cannot delete your posts in this forum You cannot vote in polls in this forum