 
 void setup(){
     int success = capture.init(ADCInput(), SCREEN_WIDTH, AREF_MV);
-    capture.adc.init(ADC_PIN, ADC_MODE);
+    capture.adc.init(ADC_PIN, EEPROM.read(ADC_MODE_ADDR));
     delay(100);  // give time for display to init; if display blank increase delay
     display.begin(SSD1306_SWITCHCAPVCC, DISPLAY_I2C_ADDRESS);
     display.setRotation(2);

 * End Configurable parameters
 ****************************************************************************/


extern Display display;
static Capture capture;

#include <Adafruit_GFX.h>
#endif
#include <Arduino.h>
#include <EEPROM.h>
#include "adc.h"
#include "scope.h"
#include "capture.h"
