I want to read analog value with 18 bit resolution . means 10v=262143. how can i read?
That's a good point, i have updated our github documentation as follows:
Please note that the output of the Indio.analogRead() in RAW mode is not of the type INTEGER, but FLOAT. The output range is fixed from 0 to 4096 for all resolutions, but only in 12-bit mode this returns integers; for higher resolution the measurements are floating point numbers.
So you can easily change the resolution setting without having to change your data handling as the range is independent of resolution. Just make sure to use FLOAT type to read your inputs.
Please try to give a substantial answer. If you wanted to comment on the question or answer, just use the commenting tool. Please remember that you can always revise your answers - no need to answer the same question twice. Also, please don't forget to vote - it really helps to select the best questions and answers!