Ardumower / ardumower

Develop an open source robotic lawn mower (HW+SW reference platform)
239 stars 135 forks source link

reduce interrupts from ADC sample rate #53

Open autega opened 9 years ago

autega commented 9 years ago

Number of total interrupts can further be reduced by choosing (old) 9.6 kHz ADC sample rate in adc.cpp again:

//sampleRate = SRATE_38462; sampleRate = SRATE_9615;

We should use 9.6 Khz until we have futher optimized the code/changed to Due.