$ 0 0 this processor has NO comparator. It also has no A/D converter so you need a different processor or an external A/D