A state-machine should not be............ "virtual peripherals" (to coin a phrase :-) ). They need no program intervention to operate and may as well, from the programmer's point of view) be hardware peripherals (once you've got their software working :-) ). This is all music to my ears. Exactly the way I like to do things. I am not alone....... Tim -- http://www.piclist.com hint: To leave the PICList mailto:piclist-unsubscribe-request@mitvma.mit.edu