Estimado michael, I would like to see your code... thanks for sharing. I want to have the experience of reading that stuff, and playing with it. Cheers Con fecha jueves, 13 de febrero de 2003, 15:01:17, escribis: mb> Hello all, mb> A couple of years ago (tempus fugit) when I was first getting into the mb> PIC world, I wrote a Dallas one-wire/i-button search routine (in mb> assembler) to find all the devices on a one-wire bus. Since I didn't mb> have any devices, I was unable to actually test the code. Some kind mb> soul sent me an i-button to test with, but it ended up getting tossed mb> out, after a flood, by my wife as she thought it was a dead watch mb> battery. James (IIRC) posted my original untested routine to the mb> techref site. mb> Well, I recently got some temp sensors and decided to test out the mb> routine. Naturally, it didn't work. :-( Some Googling showed me that mb> there are still no examples of this kind of routine for the PIC since my mb> routine came up near the top of the search results. This is not too mb> surprising as it's a convoluted process that I only barely understood mb> after writing my initial routine using the Dallas app note flow chart. mb> After some head scratching and datasheet re-evaluation, I succeeded in mb> getting it to work. I only have four devices, but it finds them all mb> fine. mb> My program will scan the bus and find a maximum of four devices (16F84 mb> memory limits and easily changed). It then prints the 64 bit serial mb> number (in HEX) to a Hitachi 4*20 display. If anyone is interested, I mb> will offer the code up for free, non-commercial use. mb> Michael Brown mb> Instant Net Solutions mb> www.KillerPCs.net mb> "In the land of the blind, he who has one eye is king" mb> -- mb> http://www.piclist.com hint: The PICList is archived three different mb> ways. See http://www.piclist.com/#archives for details. -- Saludos, Pepe mailto:zumbita00@yahoo.es ___________________________________________________ Yahoo! Msviles Personaliza tu msvil con tu logo y melodma favorito en http://moviles.yahoo.es -- http://www.piclist.com#nomail Going offline? Don't AutoReply us! email listserv@mitvma.mit.edu with SET PICList DIGEST in the body