I am trying to use an external ADC with my UNO for very precise measurement of my signal. The ADC which I am using is ADS1115.
This is the site which I am referring to.It says the default reference voltage of the PGA gives a resolution of 188microvolt per bit.It also indicates towards changing the reference voltage to 2.048, to still increase the resolution per bit.
Can you please guide me in how to achieve this 2.048V.
It seems that by adjusting the gain (page number 16-17 of 18) we can achive it.
WHat I need to know now, is where should I put that piece of code
in void loop() or in void setup()