Quote Originally Posted by Demon View Post
I'm building a matrix using this idea:
http://www.picbasic.co.uk/forum/showthread.php?t=14439
...
For those of you that are visual and like working with rows and columns like me, I came up with this design:

Name:  CharliePlex.JPG
Views: 388
Size:  101.9 KB

You can have a lot more LEDs by using pins across ROWs and COLUMNs, but that adds more complexity than I can handle, and this is good enough for me.

By using a maximum of 8 pins per side in this configuration, you can use BYTEs and LOOPs to control lighting.

Robert