Running a stepper motor & hardware Serial simultaneously

No ( don't trust ChatGPT :roll_eyes: ), Serial is interruptdriven and the print statement only writes the bytes into the serial buffer. As long as this buffer doesn't overflow ( i think 64 bytes an AVR ..? ) the print statement doesn't block and is really fast.
If you send so much debug printings that the buffer overflows, it will get blocking.

:+1:

and steppers too ... :wink:

1 Like