I suspect the read is just a dummy to complete the command, but it does return a byte?
I want to make a low power passively powered opto-isolator to switch 230Vac. I will generate a passive Vcc at the chip, otherwise the pulse will not work. My other option is to switch and let the device do a low voltage reset when the power line collapses. I am not sure that planning for the supply to collapse will be reliable? c-: On 6 January 2016 at 16:39, Jan Kandziora <j...@gmx.de> wrote: > Am 06.01.2016 um 14:12 schrieb Cornie Malan: > > Referring to the source code ow_2804.c I can see that latch command (A5h) > > is noted: > > > > 95) #define _1W_READ_ACTIVE_LATCH 0xA5 > > > Oh, this seems to be misnamed. > > > > and from the datasheet sample: > > > > TX CCh Issue “Skip ROM” command > > TX A5h Issue “PIO Access Pulse” command > > TX FEh Write PIO selection mask > > TX 01h Write inverted PIO selection mask > > RX AAh Read confirmation byte > > RX 1111110Xb Read PIO pin status > > > > However, I cannot see this function implemented in the code. > > Is there a plan to implement this? > > > I think the biggest problem with this function is it is write-read. But > our nodes are either read or write, never both. > > What is you application for this? It may help to decide how to implement > that function in a useful way. > > > > > > Any other suggestions? > > > That depends on how long your pulses have to be. If I read the datasheet > correctly, tpulse is fixed so using an external hardware which generates > the neccessary pulse would to the trick, too. > > Kind regards > > Jan > > > ------------------------------------------------------------------------------ > _______________________________________________ > Owfs-developers mailing list > Owfs-developers@lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/owfs-developers >
------------------------------------------------------------------------------
_______________________________________________ Owfs-developers mailing list Owfs-developers@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/owfs-developers