One wire RPM pickup

Post a schematic and the scope trace. What output do you get from your code and from the mini-tach.