added adc

compares input analogcompare