On 04-07-09 22:19, Matthias Urlichs wrote:

> So change the code to notice three separate increments in two seconds.
> (How often do you poll the counter anyway?)

This one every 2 sec.

For the other sensors I did what Paul suggested, a (threaded) loop 
reading uncached every 0.5 sec. only that script is creating it's own 
cached version of the data with calculations all ready done.
For the logging data viewing afterwards an interval of 1 second is 
enough but I am planning on putting a small tft display on the tractor 
to replace my analog meters so I will see how fast I can go with polling 
before I run into trouble (hopefully 0.1 sec.)
If my own cache is refreshed every 0.1 I can get a decent rpm reading 
for in the cockpit...


------------------------------------------------------------------------------
_______________________________________________
Owfs-developers mailing list
Owfs-developers@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/owfs-developers

Reply via email to