Hello all, A couple of years ago (tempus fugit) when I was first getting into the PIC world, I wrote a Dallas one-wire/i-button search routine (in assembler) to find all the devices on a one-wire bus. Since I didn't have any devices, I was unable to actually test the code. Some kind soul sent me an i-button to test with, but it ended up getting tossed out, after a flood, by my wife as she thought it was a dead watch battery. James (IIRC) posted my original untested routine to the techref site. Well, I recently got some temp sensors and decided to test out the routine. Naturally, it didn't work. :-( Some Googling showed me that there are still no examples of this kind of routine for the PIC since my routine came up near the top of the search results. This is not too surprising as it's a convoluted process that I only barely understood after writing my initial routine using the Dallas app note flow chart. After some head scratching and datasheet re-evaluation, I succeeded in getting it to work. I only have four devices, but it finds them all fine. My program will scan the bus and find a maximum of four devices (16F84 memory limits and easily changed). It then prints the 64 bit serial number (in HEX) to a Hitachi 4*20 display. If anyone is interested, I will offer the code up for free, non-commercial use. Michael Brown Instant Net Solutions www.KillerPCs.net "In the land of the blind, he who has one eye is king" -- http://www.piclist.com hint: The PICList is archived three different ways. See http://www.piclist.com/#archives for details.