Hello All, i'd like to connect a rotary encoder to a 16F84. I know i can use the RB4-7 inputs (interrupt on change), but my bournce rotary encoder has different behaviour than expected. Between 2 dents (clicks) it goes through the following bit pattern : Output A 0 1 1 0 0 Output B 0 0 1 1 0 where in the A= 0 and B= 0 are the in rest positions. Is my pic at 10MHZ hast enough to capture this pattern, count and put some I2C on other pins ??? How do i capture the pattern anyway (without disturbance/bounce and etc) ???? best regards, Simon ____________________________________________________________ Do You Yahoo!? Get your free @yahoo.co.uk address at http://mail.yahoo.co.uk or your free @yahoo.ie address at http://mail.yahoo.ie -- http://www.piclist.com hint: The PICList is archived three different ways. See http://www.piclist.com/#archives for details.