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.
zer0_JuLz:
how to do that enabling the pull up resistor?
If the grounds are not connected then enabling the internal pull ups is not going to help.
You only need to enable the internal pull up if you have an open collector output on your other device.
This is written for power supplies but it applies equally to signals:- http://www.thebox.myzen.co.uk/Tutorial/Power_Supplies.html
with regards to connecting grounds, we connected the ground of the supply of our input device to the ground of our arduino... but yet there's also a ground near the outputs of our input device...and i assume the 2 grounds are connected, so we did not connect it
zer0_JuLz:
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).
A link to the device please.
All this talk about "a device" when you could have specified a part number, and a link to it, is simply wasting time.
i don't have a photo or a schematic sir, but it is an infrared device which is controlled by a remote in which when a corresponding button in the remote is pressed, it has digital output, which is connected to pin 12. my problem is, even though i'm not pressing a button, the serial monitor outputs infinite loop of high and low, which really confuses me if this is a pull down resistor issue.