Hi,
I have a question.... i' ve tested my genuino mega 2560 for serial.print speed with this simply code:
int t = 0, t1 = 0;
void setup() {
Serial.begin(9600);
}
void loop() {
t = micros();
Serial.println(t1);
t1 = micros() - t;
}
On the serial monito i've read
0
72
116
160
160
156
160
156
168
156
160
156
160
156
176
5152
6232
6232
6232
6232
6232
6232
6232
6232
6232
6232
6232
6232
6232
6232
6232
6232
6232
6232
6232
6232
why speed decrease? How can I keep the first transfer time for ever?
Thank u very much (and excuse me for my bad english)