Hello again.

	Here's some code to drive the Dallas DS1820 One-wire
temperature sensors.  It's designed to handle 8 sensors connected to
one port.   If you only need one sensor, it's pretty easy to carve out
the code you need.

	This code does *not* take advantage of the method Dallas has
for putting a number of devices on the same wire.  There are several
inherent problems with this method, such as enumeration of devices,
device location, the fact that the ID number is not printed on the
part, heavy recursion is needed to indentify more than a couple of
devices, etc.

	Be sure to look at the MACROS.INC file (this can replace
previous versions of the MACROS.INC I've posted in the past).  This
contains a macro called MDELAY that will need to be tuned for your
system if your running at other than 11.0592MHz on other than a
generic 8031 core.  Also be sure to read the comments section at the
top of the file.

	I've used this code in several projects with no problems, so
hopefully if anyone uses it, they won't either.  If you do have
problems, or questions, feel free to e-mail me.  

		- John
John C. Wren, KD4DTS
jcwren@atlanta.com
770-840-9200 x2417 (W)
