add newline every 10 samples to adc callback