Dear all,
I spent many days learning how to use the ADS1115.
Today I tried to write an application (Lazarus - free pascal) which uses more than one input.
Please tell me, whether my algorithm/sequence is correct.
Hardware setting: 1Vdc at A0; 0.5Vdc at A2
* initialize ADS1115
* write 1100010110000011 to config-register
* switch to conversion-register
* read conversion-register
* switch to config-register
* write 1110010110000011
* switch to conversion-register
* read conversion-register
BUT: The values for A0 and A2 are nearly the same! (A2 should be half of A0)
The same behaviour writing a new gain to the config-register; the next value is nearly the same...
Please help!
Kind regards,
Dietmar