Associate
June 10, 2021
Question
STM32G0 ADC Wrong Value
- June 10, 2021
- 3 replies
- 2482 views
Hello Guys,
I'm developing some device that measure voltage.
My first selection was STM32CubeIDE cause it ws free. But if i try to print float in serial, it goes more than 32K
So i change IDE to IAR and now it can print float with half size program size,
But it can't read ADC correctly.
Below picture shows the Serial output, and IDE
both has same h/w , cube setting , same code..
I have no idea why both print diffrent value.
i attach my main, I hope you can help.
Regard
Jay,