Serial command and carriage return

It is better practice to have a LOW when the button switch is pressed. That uses the internal pullup resistor.

See my addendum to the state change detection example showing how to do the state change detection with an active LOW (wired to ground) button switch.