How to make a code from 2 channels for conversion.
For what processor, using what tools and libraries?
STM32L0538, Using the HAL library and the code in c
I would recommend you the ready-use example in the STM32CubeL0 firmware package relevant to the STM32L053R8-Nucleo to understand the principle:
This example showing how to use the ADC sequencer to convert several channels: three channels converted are, in order, one external channel and two internal channels (VrefInt and temperature sensor)
Hope this bring you some help.
thanks for listening
Retrieving data ...