Welcome
What you want is to mask the top three bits
EDIT: See section 4.17.4 of the manualCode:MyVar=PORTB & %00011111 IF MyVar = %00000100 THEN
Welcome
What you want is to mask the top three bits
EDIT: See section 4.17.4 of the manualCode:MyVar=PORTB & %00011111 IF MyVar = %00000100 THEN
Last edited by paul borgmeier; - 29th May 2007 at 14:42. Reason: added manual reference
Paul Borgmeier
Salt Lake City, UT
USA
__________________
Bookmarks