Ok
so ...
reading PORTD ...
Code:
B=PortB : C=PortC.5
D = PORTD & %11111100 ' read PORTD and mask port D.0 and D.1
IF B=0 and C=0 and D=0 then
toggle BUZ: pause 20
endif
should fit ... no indexing necessary !
( BTW ... not sure it was working so fine ... lol )
Alain
Last edited by Acetronics2; - 11th April 2010 at 11:27.
************************************************** ***********************
Why insist on using 32 Bits when you're not even able to deal with the first 8 ones ??? ehhhhhh ...
************************************************** ***********************
IF there is the word "Problem" in your question ...
certainly the answer is " RTFM " or " RTFDataSheet " !!!
*****************************************
Bookmarks