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.
9 years, 1 month ago.
Is the values are also normalized ?
I'm working on sampling sin wave is the read value of ADC normalized also ?
Question relating to:
1 Answer
9 years, 1 month ago.
read() returns a floating point value between 0 and 1
read_u16() returns an unsigned 16 bit integer between 0 and 0xffff
The outputs of both are normalized so that on any hardware 3.3V will give the maximum output and 0V will give the minimum.