[Nano130] How to Use ADC ACMP
Posted: 18 May 2020, 14:48
- Application: Use ADC compare mode and use TestOScope to plot ADC data
- BSP Version: Nano100B Series BSP CMSIS v3.03.000
- Hardware: NuTiny-EVB-Nano130-LQFP128 v1.1
We can also compare the value of the ADC with the built-in ACMP. When the comparison condition is met (such as the value of the ADC is greater than or equal to 2048 and meets 10
times), interrupt processing can be generated, such as buzzer or LED flashing.
You can download the sample code at https://www.nuvoton.com/resource-downlo ... 1212182554