What about this?
CheersCode:YourByte var byte YourByte=Value you set portA.1 = YourByte.Bit0 portA.2 = YourByte.Bit1 PortC.0 = YourByte.Bit2 PortC.1 = YourByte.Bit3 PortC.2 = YourByte.Bit4 PortB.4 = YourByte.Bit5 PortB.5 = YourByte.Bit6 PortB.6 = YourByte.Bit7
Sean.
Bookmarks