That should work as a fine starting point, although I don't see the point of just copying and pasting code, read it through, understand what it is doing and come up with your own methods, strike a balance though, there's no point in reinventing the wheel. I vaguely remember seeing a Microchip Application note on using 1wire, check their web site for information. There are loads of tutorials around the web on using LCD character displays, it's all explained pretty clearly in the datasheets for these things anyway, but I think Nigel might have a tutorial on using them, if you have a look here .
rgds