Borrow a timer in USISerial

Hi,
searching for a high speed serial output on ATtiny84 for debugging purposes I found USISerial which is based on AVR307. This software "borrows" timer0 which is used by the core for millis() and micros(().
But like the core, USISerial also uses overflow interrupts from timer0. In my understanding this means that the interrupt vector of millis() is overwritten by USISerial software. I could'nt find a saving of the interrupt vector of millis() and restoration after USISerial has sent a byte.
If this is true then millis() and micros() will not be available after using USISerial.
Is this true?

This timer0 use case is old, see if you can take advantage of something from this Issue:

An alternative would be to use a more resourceful board just to debug the code, and after the routines are acceptable, it would be ported to the low resource board.

https://www.circuito.io/blog/arduino-debugging/

https://circuitdigest.com/tutorial/how-to-debug-an-arduino-project-arduino-ide-debugging-tools

https://randomnerdtutorials.com/software-debugger-arduino-ide-serialdebug-library/

This topic was automatically closed 180 days after the last reply. New replies are no longer allowed.