Range of input = ((ADC_high << 8) | ADC_low) + 0x8

6 años 5 meses antes #1136 por HarryDell
Hello,

I got a bit confused about the Value range of the input sum of ADC_high and ADC_low.
The Clean example "input = map(input, 0, 1024, 0, vol_variable);" implies that it ranges between 0 and 1024. But when I print it out via Serial, I get values between 0 and 10.000. Is Serial.println() not capable of printing out input or am I missing the point somewhere else.

With best regards
Samuel

Por favor, Identificarse para unirse a la conversación.

6 años 5 meses antes #1138 por Ray

Rendering Error in layout Message/Item: array_keys(): Argument #1 ($array) must be of type array, null given. Please enable debug mode for more information.

Por favor, Identificarse para unirse a la conversación.

6 años 5 meses antes #1139 por HarryDell
Thanks a lot.
El siguiente usuario dijo gracias: Ray

Por favor, Identificarse para unirse a la conversación.

Tiempo de carga de la página: 0.049 segundos