but when i look at the serial monitor for its output, it shows infinite loops of high and low.
actually, im using a device which outputs digital signals...and it is connected in pin 12 of my arduino.
pinMode(forwardPin, INPUT); digitalWrite(forwardPin, HIGH); // Turn on the pullup resistor.
how to do that enabling the pull up resistor?
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).
Is there a device connected to pin 12? Is it turned on? Is it wired correctly? Perhaps a photo or schematic?
Please enter a valid email to subscribe
We need to confirm your email address.
To complete the subscription, please click the link in the
email we just sent you.
Thank you for subscribing!
via Egeo 16