Add a little to your idea... Assuming the pins in question are on the same port...
Code:TRIS? = %00000000 X VAR BYTE Y VAR BYTE Z VAR BYTE STROBE: PORT? = %00000111 PAUSE X ' Or use PAUSEUS PORT? = %00000011 PAUSE Y PORT? = %00000001 PAUSE Z PORT? = %00000000 RETURN
Bookmarks