Arduino Comparator Library


Comparator library allows to compare an analog input with an internal (as fraction of 3.3 voltage) or external reference (in the AREF pin). You can get an interrupt whenever the analog value on the selected pin goes up, down or crosses your reference or you can test the current level with the specific function.

Related Functions

Written by