Hi, I have an F401 blackpill.
I would like to use the 12-bit analog inputs.
I tried how it is used with arduino:
a = analogRead (PA0);
Serial.print (a);
I get a value from 0 to 1023
How to get 0-4095 i.e. a resolution at 12bits.
Thanks
Analog input 12 bits resolution
Re: Analog input 12 bits resolution
Welcome. Sorry for the short answers, I didn't have time to develop.
So simply use the analWriteResolution API and then this will be ok.