Serial Communication works only when serial monitor is active