Input Mask

misellers

New Member
I'm sure I'm missing something easy but on a 28X2 module I have 4 pulled up inputs on C.0......C.3 I'm using PinsC to reference the pin state but finding I'm picking up signals on C.4 thru C.7. How can I mask out the higher bits? I've tried b3 = PinsC & %0000xxxx but get a syntax error.

Thanks
 
Top