The value returned by analogRead() is indeed in the range of 0 to 1023. You can use the map() function to map that to a different range. Or, a series of if/else if/else statements can select non-uniform ranges, if that works better.
The value returned by analogRead() is indeed in the range of 0 to 1023. You can use the map() function to map that to a different range. Or, a series of if/else if/else statements can select non-uniform ranges, if that works better.