Hi Marcus,

Thanks for the reply, I got it working now!  I had missed PIO when I
read through it all, it was getting late!

I have reread the info and I think latch is used when writing to the
memory.  I'm not sure how flipflop is intended to used, it seems to be
the inverse of PIO.

Yes I am still working with pyowfs, my control system is still running
my original code which calls digitemp, but I have almost finished
re-writing it with a few improvements using pyowfs

Once again, thanks for your help

Mick

On Wed, 2010-09-22 at 01:13 +0200, Marcus Priesch wrote:
> 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



------------------------------------------------------------------------------
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