On 3/6/07, Mauricio Jancic wrote: > > Hi, > I modifying a C code for an ATMEL chip, and I found this statement: > > if(!(PINB & (1< > Whats that? Specially the (1< out... That's a bit shift, a common way to address individual pins. They are masking the read of PINB against a byte with the PB1 bit set. So, the statement is conditional on gettting a zero on the PB1 bit of PINB. -- http://www.piclist.com PIC/SX FAQ & list archive View/change your membership options at http://mailman.mit.edu/mailman/listinfo/piclist