This commit is contained in:
James Devine 2015-07-17 08:14:55 -07:00
parent eee3491124
commit 1acbbe1cd2

View file

@ -3,7 +3,7 @@ unsigned long stop_time;
unsigned long values[2000]; unsigned long values[2000];
void setup() { void setup() {
Serial.begin(9600); Serial.begin(115200);
REG_ADC_MR = 0x10380180; // change from 10380200 to 10380180, 1 is the PREESCALER and 8 means FREERUN REG_ADC_MR = 0x10380180; // change from 10380200 to 10380180, 1 is the PREESCALER and 8 means FREERUN
ADC -> ADC_CHER = 0x03; // enable ADC on pin A0 ADC -> ADC_CHER = 0x03; // enable ADC on pin A0
} }