NXP MCUX Analog Comparator (ACMP)¶
This sample show how to use the NXP MCUX Analog Comparator (ACMP) driver. The sample supports the NXP TWR-KE18F.
The input voltage for the the negative input of the analog comparator is provided by the ACMP Digital-to-Analog Converter (DAC). The input voltage for the positive input can be adjusted by turning the on-board potentiometer.
The output value of the analog comparator is reported on the console.