Hi, Jaap Struyk: > > I use one my DS2423 counters and a button to start logging but sometimes > I ran into the odd thing that pressing the button gives a count of 4 or > 8 instead of 1.
That's likely to be simple mechanics. Pressing or releasing a button causes intermittent contacts. Either de-bounce it in hardware (you need a resistor and a capacitor), or simply proces just the fact that the count changed and ignore the amount. -- Matthias Urlichs | {M:U} IT Design @ m-u-it.de | sm...@smurf.noris.de Disclaimer: The quote was selected randomly. Really. | http://smurf.noris.de v4sw7$Yhw6+8ln7ma7u7L!wl7DUi2e6t3TMWb8HAGen6g3a4s6Mr1p-3/-6 hackerkey.com - - Ambidextrous: Able to pick with equal skill a right-hand pocket or a left. -- Ambrose Bierce ------------------------------------------------------------------------------ _______________________________________________ Owfs-developers mailing list Owfs-developers@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/owfs-developers