Ok, sure - I'll get right on it.

I know about not being able to get the DS1821 out of thermostat mode -
that's a pretty weird design, IMHO, but that's what it is.  That's why I'm
in the process of bashing together a little doo-dad that will do the little
16-pulse incantation.  Silly, but entertaining...

On 6/19/07, Alfille, Paul H.,M.D. <[EMAIL PROTECTED]> wrote:




-----Original Message-----
From: [EMAIL PROTECTED] on behalf of Doug
Collinge
Sent: Tue 6/19/2007 7:26 PM
To: [email protected]
Subject: [Owfs-developers] Write to DS1821 configuration register - how?

I'm fooling around with the DS1821 for which there is some support in
OWFS.
I can read the temperature and set the Th and Tl registers.

I want to use the part in thermostat mode but there doesn't seem to be any
facility in OWFS for setting that bit in the status/config register.  The
only bit I can set is the POL bit, which controls which logic sense the
thermostat output has.

Is there any way to set any other bit using, say, the owfs or the owshell
commands?

I have reviewed the code and I see that it should be just a moment's work
to
add support for the remaining THF, THL, TR, and 1SHOT bits in the
configuration register. I'm willing to do this if some contributor is
willing to accept my patch.
--------------
Sure, send the patch.

If you want (not required), a patch for the man page would be appreciated.

The DS1821 still cannot be taken out of thermostat mode with the controls
that
OWFS can access -- the Bus adapters don't allow control of the power line.

Paul Alfille





The information transmitted in this electronic communication is intended
only for the person or entity to whom it is addressed and may contain
confidential and/or privileged material. Any review, retransmission,
dissemination or other use of or taking of any action in reliance upon this
information by persons or entities other than the intended recipient is
prohibited. If you received this information in error, please contact the
Compliance HelpLine at 800-856-1983 and properly dispose of this
information.


-------------------------------------------------------------------------
This SF.net email is sponsored by DB2 Express
Download DB2 Express C - the FREE version of DB2 express and take
control of your XML. No limits. Just data. Click to get it now.
http://sourceforge.net/powerbar/db2/
_______________________________________________
Owfs-developers mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/owfs-developers



-------------------------------------------------------------------------
This SF.net email is sponsored by DB2 Express
Download DB2 Express C - the FREE version of DB2 express and take
control of your XML. No limits. Just data. Click to get it now.
http://sourceforge.net/powerbar/db2/
_______________________________________________
Owfs-developers mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/owfs-developers

Reply via email to