Thanks. I especially appreciate the patch.

I take it the code wasn't too hard to decypher?

Paul

-----Original Message-----
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] Behalf Of Marek
Wodzinski
Sent: Wednesday, October 26, 2005 3:10 PM
To: Owfs-developers@lists.sourceforge.net
Subject: [Owfs-developers] Bug in DS2413


Hello,

There is a bug in operating on PIO.A or PIO.B.
If you write to PIO.A, state of PIO.B (and vice versa) is fetched from pin 
state instead of latch state. This lead to loss of state of PIO.B if you 
write to PIO.A (and vice versa).
For example:
I have pull down resistor in PIN.B, so:
cat sensed.B --> 0
echo 0 >PIO.B
cat latch.B --> 1
echo something >PIO.A
cat latch.B --> 0

Patch attached


Regards

majek
-- 
"If you want something done...do yourself!"
Jean-Baptiste Emmanuel Zorg


-------------------------------------------------------
This SF.Net email is sponsored by the JBoss Inc.
Get Certified Today * Register for a JBoss Training Course
Free Certification Exam for All Training Attendees Through End of 2005
Visit http://www.jboss.com/services/certification for more information
_______________________________________________
Owfs-developers mailing list
Owfs-developers@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/owfs-developers

Reply via email to