I want to use the internal reference voltage (1.2V) of stm32f103 blue pill using Arduino IDE. I searched the whole internet but couldn't find anything. I need help with this. Thanks.
1 Answer 1
There's no way of using the internal 1,2v reference as the ADC reference. (in the same way that you can do on an AVR) You can only use the ADC to read the internal vref, and use that value to adjust the next ADC reading you take. Like a compensation factor.
analogReference(INTERNAL)
or something similar.