Hex inverting Schmitt trigger