On 04-07-09 19:44, Matthias Urlichs wrote: > That's likely to be simple mechanics. Pressing or releasing a button > causes intermittent contacts.
Fun thing is that it hasn't happened for months and today it started again... > 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. I go for the de-bounce, when I push it once logging will start but if I press 3x in 2 sec. the machine shuts down... (you understand my anger today when I wanted to start logging, pressed once and got a shutdown ;) ------------------------------------------------------------------------------ _______________________________________________ Owfs-developers mailing list Owfs-developers@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/owfs-developers