MagneticEncoder2Arduino Use a magnetic encoder to read the position of crank/valve shaft and simulate a missing-tooth wheel