hi, some time ago I made two schmitt-trigger nodes (analog and digital) if you are interested in cesars/utils library