Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
examples: ad4020_example: Calculate voltage using driver scale attribute
The scale may vary according to ADC characteristics such as precision bits, span compression, gain, etc. and also with setup properties such as voltage reference. Use driver provided scale to convert back to milli-voltage units which is the standard IIO unit for voltage type channels. Signed-off-by: Marcelo Schmitt <[email protected]>
- Loading branch information