Hi Mick,

i just digged in my sources ... ;)

you need to set PIO.A to 0 (or 1?) to cunduct the output (it's open
drain afaik) and set PIO.A to 1 (or 0?) to release the output ...

latch, flipflop and sensed are all for reading the inputs and detecting
if there have been and edges there ... 

to test (and find out if you need to set PIO.A to 0 or 1 to conduct) you
could use the following :

         o +5V
         |
        | |
        | | 10kOhm                             
         |
 PIO.A --o--------o <- Measure voltage here 
                         if its 0V the output is conducted
                         if its 5V the output is open 
                  o
                  |
                 ---

well hope that holds ... as its little bit late already ;)

ps: fine that you're using pyowfs ;)))

all the best,
m.


Am Dienstag, den 21.09.2010, 23:40 +0100 schrieb Mick Sulley:
> Hi,
> 
> I have just bought a couple of DS2406 (as D2PC from Embedded Data
> Systems).  I can read data from them using pyowfs, but how do I drive
> the outputs?
> 
> It is a 2 channel device and can be used for input or output.  I can use
> it for input, that works fine by reading the sensed property, but for
> output there are properties -
> latch.A
> latch.B
> flipflop.A
> flipflop.B
> 
> I can read them, but can't seem to write to them.
> 
> I have read through the manuals for the D2PC and the DS2406 but can't
> figure it out.  I think all the information is there but my
> understanding is lacking.
> 
> Can anyone give me any pointers please?
> 
> Thanks
> 
> Mick
> 
> 
> ------------------------------------------------------------------------------
> Start uncovering the many advantages of virtual appliances
> and start using them to simplify application deployment and
> accelerate your shift to cloud computing.
> http://p.sf.net/sfu/novell-sfdev2dev
> _______________________________________________
> Owfs-developers mailing list
> Owfs-developers@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/owfs-developers
> 



------------------------------------------------------------------------------
Start uncovering the many advantages of virtual appliances
and start using them to simplify application deployment and
accelerate your shift to cloud computing.
http://p.sf.net/sfu/novell-sfdev2dev
_______________________________________________
Owfs-developers mailing list
Owfs-developers@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/owfs-developers

Reply via email to