Doug Collinge schreef:

> races before you wrap the counters.  Just for fun-with-numbers sake,
> that's 93 years of daily races!

In that case I will be 144 before I have to worry... ;-)

> Forgive me if I am being pedantic here but it sounded like you didn't
> really understand that wrapping counters should not be a problem, even
> if it could happen.

I didn't understand fully how they worked but I understand now. (I am a
technician, give me a lathe and I do wonders but with electronics and
source code I am a skippy-ball jumping around and having fun ;)

In side my owfs2mysql script I start with reading the counter at top and
after that the loop is subtracting the previous reading from the current
so only the difference is calculated (and converted to rpm) and put into
mysql, if there would be one reading a bit odd it's not really a problem.

Thanks all for helping out and learning me stuff!


------------------------------------------------------------------------------
_______________________________________________
Owfs-developers mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/owfs-developers

Reply via email to