When I switch to portB instead of LATB to read, I get nothing from my code.
BTW I have 20K pull downs and dip switches tied to +vcc to switch in the bit pattern. There should
be NO case when the output is nothing....even if pullups or pulldowns are messed up.
Nick
>Servo1 = PrtB and %00000111
Try it with a bitwise & instead of a logical AND.
DT
You are absolutely correct !!! Thanks for the fresh pair of eyes
Nick
Bookmarks