Hi I am not sure how to properly control the DS2413. I use it to control two relays (that I drive with transistors 2N2222).
I basically have to "open" or "close" the output pins; I can do it with PIO.BYTE (even though reading it returns a value which is not correct) but not with PIO.A or PIO.B I will explain better: writing to PIO.A or PIO.B is useless. It just doesn't work. If I write the correct bits to PIO.BYTE then ok, I can control the two channels; anyway, if I read PIO.BYTE, it's always like the outputs are always conducting. This is a problem for me because I have to control the two relays independently; if I cannot read the status from PIO.BYTE or simply use PIO.A/B, I would need a "proxy" application that remembers the current status and sets the bit accordingly. Has somebody else experienced a similar issue? bye Alessio ------------------------------------------------------------------------- This SF.net email is sponsored by the 2008 JavaOne(SM) Conference Don't miss this year's exciting event. There's still time to save $100. Use priority code J8TL2D2. http://ad.doubleclick.net/clk;198757673;13503038;p?http://java.sun.com/javaone _______________________________________________ Owfs-developers mailing list Owfs-developers@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/owfs-developers