Hello, I make use of a rotary encoder that steps just through 5 values /settings. These settings are related to 6 relays (1 for the output and 5 for input). at every change the output relay is disabled then the current input, the new input selection is set and the output relay is enabled again. This is not what i want ! I'd like the change to be made when the final setting is choosen. How can i achieve this ????Do i need to setup a timer for this ??? grtz, 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.