
Reading ADS1x15 values, press Ctrl-C to quit...
| 0 | 1 | 2 | 3 |
| 0 | 4320 | 4496 | 4528 |
| 0 | 4224 | 5104 | 4432 |
| 0 |
4352
|
4688
|
5104
|
|
6128
|
4640
|
4384
|
5552
|
|
10928
|
4592
|
4592
|
5056
|
|
18736
|
4384
|
4992
|
4384
|
|
23312
|
4496
|
4912
|
4784
|
|
26512
|
4912
|
4800
|
5968
|
|
25968
|
4816
|
4800
|
5008
|
|
16528
|
4416
|
4928
|
4928
|
|
9280
|
4656
|
4416
|
5312
|
|
2688
|
4240
|
5008
|
4464
|
| 0 |
4384
|
4352
|
5360
|
| 0 |
4336
|
4624
|
4272
|
| 0 |
4256
|
4432
|
4592
|
16. Press Ctrl-C to terminate the script.
As you can see, turning the dial on the potentiometer changes
the voltage coming into channel 0 of the ADS1x15. The code in the
example does a little bit of math to determine the voltage value
from ...