How to explain the advantage of Schmitt trigger over comparator for pulse conditioning?
If you're feeding a digital input, a Schmidt trigger is preferable in most cases because it will clean up the signal and match your logic levels. It will also help avoid meta-stablity (ie when the voltage level is right in the middle of on and off, its bad).
A comparator could possibly give you metastable values if the amplifier is fast enough and if your digital input is clocked really fast or an interrupt.
It also depends because a comparator has only one voltage value and a schmidt trigger has two points when it transistions