Thanks Terry, Much appreciated. I have written it for the 16F84 once but haven't any idea how hard this=20 would be to port to 18F. In a rush now as always and would rather spend=20 time on other things. I will have a look at this. Thanks again! Cheers /Ake Terry Chen wrote: > Hi Ake, > > IIRC, there is an appnotes specifically made for 1-wire communication=20 > with a PIC. > Here, I found the link: > http://pdfserv.maxim-ic.com/en/an/app2420.pdf > Its made for PIC16F628, but it is easily configurable for the 18F IMHO. > The routine in there are nice and rather straightforward. > > HTH, > Terry Chen > > > Ake Hedman wrote: > >> I am looking for open source or public domain code thats written for=20 >> the 18F PIC series and interface the 1-wire bus. Any pointers=20 >> appreciated. >> >> Cheers >> /Ake >> > --=20 --- Ake Hedman (YAP - Yet Another Programmer) eurosource, Brattbergav=E4gen 17, 820 50 LOS, Sweden Phone: (46) 657 413430 Cellular: (46) 73 84 84 102 Company home: http://www.eurosource.se =20 Kryddor/Te/Kaffe: http://www.brattberg.com Personal homepage: http://www.eurosource.se/akhe Automated home: http://www.vscp.org --=20 http://www.piclist.com PIC/SX FAQ & list archive View/change your membership options at http://mailman.mit.edu/mailman/listinfo/piclist