My hardware is correctly working and tested.
I have  some news. I tried to interpret the logfiles. There are no major
difference between  send '0' via PIO.BYTE and PIO.1 e.g. (Before I sent '1'
to switch PIO's on)
log PIO.BYTE: DEBUG: ow_write.c:FS_write_postparse(116) Successful write to
/29.EE1306000000/PIO.BYTE
log PIO.1: DEBUG: ow_write.c:FS_write_postparse(116) Successful write to
/29.EE1306000000/PIO.1

But in case PIO.1 nothing happens. Yesterday, I got the same error as Martin
wrote in post before, but today shows the log the lines above.

Now I find out ,if I send via PIO.BYTE a value between 0 and 255 I can
switch all outputs. Before, is set only 1 or 0 but now understand how to use
PIO.BYTE. In my case 0 is all outputs 'on' and '255' all 'off' because I
have a inverted logic in my circuit. Until now I set 0 or 1 via PIO.BYTE and
I thought all outputs switches together but my measuring device is a bit
crazy and I find out now, the only PIO that switched was PIO.0.

new solution:

   1       1       1       1        1       1       1       1     =>PIO.BYTE
255    in my case all off because inverted logic
pio.7  pio.6  pio.5  pio.4  pio.3  pio.2  pio.1  pio.0

e.g.
   0       1       1       1        1       1       0       1     =>PIO.BYTE
125     in my case PIO.7 and 1 on because inverted logic
pio.7  pio.6  pio.5  pio.4  pio.3  pio.2  pio.1  pio.0

So I can write a function that calculate for every switching output a new
BYTE value and send this value. Of cause a little detour but I hope this way
is working because it's the only way I can take to run my circuit properly.

Regards Silvio
-- 
View this message in context: 
http://old.nabble.com/Problems-to-switch-PIO-on-DS2408-tp34635905p34640016.html
Sent from the OWFS - Dev mailing list archive at Nabble.com.


------------------------------------------------------------------------------
LogMeIn Central: Instant, anywhere, Remote PC access and management.
Stay in control, update software, and manage PCs from one command center
Diagnose problems and improve visibility into emerging IT issues
Automate, monitor and manage. Do more in less time with Central
http://p.sf.net/sfu/logmein12331_d2d
_______________________________________________
Owfs-developers mailing list
Owfs-developers@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/owfs-developers

Reply via email to