Le 14 Février 2006 16:04, Paul Alfille a écrit : > > Paul Alfille wrote: > > > I was incorrect in my earlier note about the polling frequency. The > > > DS2408 has a latch, accessible through OWFS, that will save the > > > button press. This will greatly diminish the chance of missing a > > > button press and reduce the polling frequency. > > I looked at the documentation, and it's even better than I remembered. > There is an alarm state triggered by a change in any of the pins. > ... > The advantage of this is that you will only see the triggered switches > (only they appear in the alarm directory) and the latches make catching > button presses easier. The only limits are now the latency between > finding a button press and giving feedback.
Paul, do you know if there's a timestamp associated with the alarms? I need to know when the switches were pressed, without polling a lot. -- Marc ------------------------------------------------------- This SF.Net email is sponsored by xPML, a groundbreaking scripting language that extends applications into web and mobile media. Attend the live webcast and join the prime developer group breaking into this new coding territory! http://sel.as-us.falkag.net/sel?cmd=lnk&kid0944&bid$1720&dat1642 _______________________________________________ Owfs-developers mailing list Owfs-developers@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/owfs-developers