many thanks for that info John
it is hall effect that i used.
have not tried 0 debounce ,
have converted to vfd motor some time ago, had a few probs gearing it down
as it is a 1950s harris 11" swing lathe , keeps trashing the idler bearings as is too fast for them.
in the process of setting up a windows 7 computer, so will have another go when that is ready.
colin