Serial monitor infinite output

thanks for the reply PaulS.

no...it shows high and low outputs randomly immediately after i turned on the serial monitor.

actually, im using a device which outputs digital signals...and it is connected in pin 12 of my arduino.
(it is an infrared device with a remote as its controller).

again, thanks for the reply. i really appreciate it.