signal conditioning for Inductive sensor

Schmitt trigger circuit for Inductive sensor. (12V supply)