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

6 years 4 months ago #1136 by 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

Please Log in to join the conversation.

6 years 4 months ago #1138 by 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.

Please Log in to join the conversation.

6 years 4 months ago #1139 by HarryDell
The following user(s) said Thank You: Ray

Please Log in to join the conversation.

Time to create page: 0.065 seconds