This commit is contained in:
parent
eee3491124
commit
1acbbe1cd2
1 changed files with 1 additions and 1 deletions
|
|
@ -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
|
||||||
}
|
}
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue