Question
I-CUBE-LRWAN ADC reading not working
Hi,
I use the I-CUBE-LRWAN code in the B-L072Z-LRWAN1.
When I want to read an ADC channel I use to read pin PA5:
a = HW_AdcReadChannel(ADC_CHANNEL_5);And to read ADC channel PA4 I use:
a = HW_AdcReadChannel(ADC_CHANNEL_4);By using the mlm32l0xx_hw.c.
But for some reason only PA4 provides an correct ADC reading.
All my other pins don't show the correct reading.
Can anyone tell me how this is possible?
Thanks in advance.