image backup link
On the timestamps, you can see it takes nearly a full second for the program to give a return when I enter "hello" into the serial monitor. Is there any way I can fix this? For my project I can't have this lag.
This function reads the Serial input then waits for 1 second to ensure that all characters have been read before returning. You can change the timeout period.