Yes, except it would be
data = (ADC_Value - x) / 2048 ;
Where the value of the constant 'x' is determined by running a simple sketch to report the idle (DC) value of the ADC.
1 Like
Yes, except it would be
data = (ADC_Value - x) / 2048 ;
Where the value of the constant 'x' is determined by running a simple sketch to report the idle (DC) value of the ADC.