> Further to my attempt to create a cable IDer. How can I generate a > unique "code" to be sent along a twisted pair cable? The ID say 1001 > 1001 1001 1001 sent constant from one end would have to be read at the > far end with a device that could display the code received. So one end > has a device sending a coded sequence the near end would have to be able > to READ that code and display on a LCD or LED which code it was > receiving. Manchester encoding comes to mind. 5 times a second or so you send a few sync bits, then the code for that line. > Then if I can read this info how can I program the far end device to > send a different code down different outputs? You don't. It sends unique codes to all its outputs sequentially. It only needs to make a full pass thru all its cables a few times per second. ***************************************************************** Embed Inc, embedded system specialists in Littleton Massachusetts (978) 742-9014, http://www.embedinc.com -- http://www.piclist.com hint: PICList Posts must start with ONE topic: [PIC]:,[SX]:,[AVR]: ->uP ONLY! [EE]:,[OT]: ->Other [BUY]:,[AD]: ->Ads