>I have also changed udkey to a real hardware key input >on PORTB. And you have key-debouncing in hardware ? Jan-Erik Svderholm S:t Anna Data -- http://www.piclist.com hint: The list server can filter out subtopics (like ads or off topics) for you. See http://www.piclist.com/#topics