SENSING MOVEMENT FROM ROTATION

Ok are you saying its the bouncing that is repsonsible for the 2 rising events per cylce? (meaning I need to use 30,000ms and not 60,000ms in formulae)

Maybe you can show me a sketch that does what you say? ie. that ignores the noise and measures time between start and finish edges of 1 rev cycle?

My other hope/idea to detect shaft motion is to find a sketch that asigns output 100 to moving and 0 to stopped (for cosm feed), with a threadhold variable (time interval ~ 2sec per edge separation) to detect for motion.

Im sure someone will find this an easy task, Im just not much of a programmer yet. Cheers in advance