On Thu, Dec 3, 2015 at 8:29 PM, Matt Ranostay <mranostay@xxxxxxxxx> wrote: > Hello et all, > > So currently planning on working a I2C based pH sensor and want to get > some input on the iio_chan_type to use. > > There are two solutions that can be thought of: > > 1) Use the current IIO_CONCENTRATION type and use the percentage of > Hydronium (H3O+) in the solution to report to actual pH levels I just remembered that pH is for example -log(10**-7) = 7. so using IIO_CONCENTRATION would require processing within the driver. So I think option 2 is the only thing that makes sense since it would just have a simple scaling value. > 2) New IIO_PH type that is an typically an integer from 0 (acid) - 14 (base) > > Thanks, > > Matt -- To unsubscribe from this list: send the line "unsubscribe linux-iio" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html