Important changes to forums and questions
All forums and questions are now archived. To start a new conversation or read the latest updates go to forums.mbed.com.
All forums and questions are now archived. To start a new conversation or read the latest updates go to forums.mbed.com.
Nucleo's AnalogIn::read_u16 function returns values between 0 and 4095. However, the document on read_u16 function says the function returns "16-bit unsigned short representing the current input voltage, normalised to a 16-bit value." So it should return values between 0 and 0xfff0(65520). For better compatibility with other mbed microcontrollers, I want the bug to be fixed.
Please refer: https://mbed.org/questions/4239/AnalogInread_u16-function-returns-04095-/