This is probably an easy one but I have been off this stuff for a while and I am a little lost. I read the book and searched the forum but I can't find the answer.
Using PBP 2.61C with 16F628A.
I am trying to get the value of PortB.2 & PortB.3 & PortB.4 and assign this value to a variable but I don't want to add the 3 ports.
Ex.: If I have PortB.2 = 1, PortB.3 = 0, PortB.4 = 1
I want to have my variable = %101
Maybe I am just looking at it the wrong way but the bottom line is I have 8 possibilities with the 3 ports and I want to branch to a SELECT CASE.
Mike
Bookmarks