2017-10-13 01:00 AM
I am using nucleo-64 board with stm32l073 microcontroller.I want to read analog data on adc pin and show the data on lcd as soon as there is change in data on the analog pin.I want to monitor voltage from 0-0.5 V ,0.6-1V ,1-2V 2-3V and show data on lcd as soon as there is change in voltage on analog pin.Can I use comparators on the mcu as shown in stm32cubemx to make this application.If yes please suggest what settings i have to do in stm32cubemx.