Yes but you need to let all 3 comparator pins come to the outside. Plus you can't use the internal reference.
To add hysteresis you need one resistor between the ref voltage and an input, and a second resistor from that input to the output. Scale the resistor values so you get the voltage difference you need.
I know this is an old post, but i have used the hysteresis method shown in the Gooligum tutorials (Mid range lesson #9) for the 12F683.
But I need to use the 12F1822 due to it having re-configurable pins.
The 12F1822 has a register bit for selecting hysteresis on, but does not go into any difference in operation, if any.
Can anyone explain if what the significance of the bit selecting hysteresis in this pic? Any other advantages?
I am using assembly, BTW.
Max.