Is there a way to send a byte over USB serial (Teensy 3.1) faster than using Serial.write()?
Using micros(), I have measured about 4us for a Serial.write() command (sending one byte). I'm using an IntervalTimer of 2us and I want to put that Serial.write() inside the timer subroutine. Actually, I don't need to send that byte every 2us but every one second.
I could put that Serial.write() in the main loop() but I don't know what's happening if the duration of Serial.write() is 4us and my timer is triggering every 2us. Is the serial transmission broken (interrupted)?
Using micros(), I have measured about 4us for a Serial.write() command (sending one byte). I'm using an IntervalTimer of 2us and I want to put that Serial.write() inside the timer subroutine. Actually, I don't need to send that byte every 2us but every one second.
I could put that Serial.write() in the main loop() but I don't know what's happening if the duration of Serial.write() is 4us and my timer is triggering every 2us. Is the serial transmission broken (interrupted)?