I am trying to set up a light and motion detector to be timed out, using D06 for PIR input and D07 as PHOTOELECTRIC INPUT.
OUTPUT pin D13. The unit is an Arduino Uno.
Attached is my sketch.Can someone tell me where are I going wrong?
Thankyou.
const int ledPin = 13; // the number of the led...