…to continuously send sensor data over serial? I need to send analog pin readings as a string like this:
“0 analogRead(0) 1 analogRead(1)” etc. Right now, I can’t get the loop to execute faster than every 7 ms, and sometimes there’s a hiccup in the data flow, which makes my application unreliable. I’ve tried increasing the baud rate to 230400, but that doesn’t speed up the routine.
I would really love if I could bring the loop routine down to about 1 ms, so that the jitter would stay under 5 ms. I need the data from all 8 analog pins.
I’m currently using a char buffer and sprintf. And I’m a newbie in programming, so please excuse the clumsy wording.