Re: Help: how to assign assorted pins to one byte variable? please
Anybody??
Or is it not possible??
Mabie I should elaborate...
I would hope it is possible to define which PIC pins are assigned to a column (or row for that matter) and in what order. Then just do a "CASE" type lookup of the various elements of whatever I want to display on the 8x8 LED matrix, and write them to the 8 bit Alias that is connected to the display.
If It is not possible... then does one just have to individually set or clear each pin in the 8 bit word and then "turn on" the corresponding row or column to light up that part of whatever I want to display?
I understand how to do it if I were to use the 8 bits sequentially of a given 8 bit port, like PortA, but I want to "mix and match" which pins represent each of the 8 bits and then define an Alias that I can write the code to.
Any help would be greatly appreciated.
(I wish the PBP manual had more real world examples, hint to ME labs for their next printing)
Dwight
These PIC's are like intricate puzzles just waiting for one to discover their secrets and MASTER their capabilities.
Bookmarks