You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Hi,
you can set analog supply, REFP0-REFN0 or REFP1-REFN1 as your voltage reference. please refer to datasheet section8.3.6 on page number 29 for more information.
you can set this by writing to the config2 register, bits 6,7 selects the external source.
00 : Internal 2.048-V reference
01 : External reference REFP0 and REFN0
10 : External reference AIN0/REFP1 and AIN3/REFN1
11 : Analog supply (AVDD – AVSS)
You can use void Protocentral_ADS1220::writeRegister() function to write the value to config2 reg.
also you should change the macro #define VREF 2.048 in .ino file to the correct value you have used.
How do i set external vref?
The text was updated successfully, but these errors were encountered: