You need to capture the times using micros(), not millis(), and you must have no
calls to Serial inside the timing window or you'll just measure the baudrate!
You need to capture the times using micros(), not millis(), and you must have no
calls to Serial inside the timing window or you'll just measure the baudrate!