To give more details
- the cutoff of how much lag is required for the Mega to work is between 830 and 840 millis
- the cutoff is about the same for each Mega
- when it works near the cutoff, two nulls get printed to the screen and then it's numbers. when I'm far away from the cutoff, a single null gets printed.
- following up on some other posts I saw, I tried running the program with the arduino editor closed. It didn't do anything.