Device Drivers/HEG_WIFI_BLE_Feather/HEG.h
void startADS()
{
    // Begin ADS
    ads.begin();
    ads.setGain(GAIN_SIXTEEN);

    //ads.setGain(GAIN_TWOTHIRDS);  // 2/3x gain +/- 6.144V  1 bit = 3mV (default)
    //ads.setGain(GAIN_ONE);     // 1x gain   +/- 4.096V  1 bit = 2mV
    //ads.setGain(GAIN_TWO);     // 2x gain   +/- 2.048V  1 bit = 1mV
    //ads.setGain(GAIN_FOUR);    // 4x gain   +/- 1.024V  1 bit = 0.5mV
    //ads.setGain(GAIN_EIGHT);   // 8x gain   +/- 0.512V  1 bit = 0.25mV
    //ads.setGain(GAIN_SIXTEEN); // 16x gain  +/- 0.256V  1 bit = 0.125mV

    adcEnabled = true;
    sampleMicros = currentMicros;
    LEDMicros = currentMicros;
}
//Start ADC and set gain. Starts timers
Start ADC and set gain. Starts timers
Start ADC and set gain . Starts timers
void startADS()
{
    ads.begin();
    ads.setGain(GAIN_SIXTEEN);
    adcEnabled = true;
    sampleMicros = currentMicros;
    LEDMicros = currentMicros;
}
void startADS ( ) { ads . begin ( ) ; ads . setGain ( GAIN_SIXTEEN ) ; adcEnabled = true ; sampleMicros = currentMicros ; LEDMicros = currentMicros ; }
Start ADC and set gain.
Start ADC and set gain .
// Begin ADS //ads.setGain(GAIN_TWOTHIRDS);  // 2/3x gain +/- 6.144V  1 bit = 3mV (default) //ads.setGain(GAIN_ONE);     // 1x gain   +/- 4.096V  1 bit = 2mV //ads.setGain(GAIN_TWO);     // 2x gain   +/- 2.048V  1 bit = 1mV //ads.setGain(GAIN_FOUR);    // 4x gain   +/- 1.024V  1 bit = 0.5mV //ads.setGain(GAIN_EIGHT);   // 8x gain   +/- 0.512V  1 bit = 0.25mV //ads.setGain(GAIN_SIXTEEN); // 16x gain  +/- 0.256V  1 bit = 0.125mV