> That's true when I first tried to echo 1 to turn on a relay on the hobby > boards 8 channel IO board, but notice this: > > 1gargamel:/etc/owfs/bus3/aux/29.E73E06000000# cat sensed.0; echo > 1 > gargamel:/etc/owfs/bus3/aux/29.E73E06000000# echo 1 > PIO.0 > gargamel:/etc/owfs/bus3/aux/29.E73E06000000# cat sensed.0; echo > 0 > gargamel:/etc/owfs/bus3/aux/29.E73E06000000# echo 0 > PIO.0 > gargamel:/etc/owfs/bus3/aux/29.E73E06000000# cat sensed.0; echo > 1 > > > This is not super obvious :) >
I agree this not super obvious, but I think it's because of Maxim: the Maxim PIO status register give 2 bits per PIO : PIO pin state and Latch state owfs give 3 informations per PIO: PIO latch and sensed I understand that owfs PIO should be use only for write. To read the actual state of the pio sensed should be use (the latch is the latch) owfs sensed and latch are acquired from PIO register reading but owfs pio is used to write to the pio. Paul is this correct? Thks -- Guy ------------------------------------------------------------------------------ _______________________________________________ Owfs-developers mailing list Owfs-developers@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/owfs-developers