How do you pause the serial monitor for viewing.

Because the program is looping continously and the data on the serial monitor just fly by. Is there a way to pause the serial monitor so I can view the result?

This is under Arduino IDE.

On the bottom left of the serial monitor is a button marked "Autoscroll" . Untick it.

If the advice @stowite gave is not sufficient you may need to ensure that your program only writes data to the Serial Monitor at reasonable intervals - perhaps once per second.

...R