Go Down

Topic: LED help (Read 282 times) previous topic - next topic


hello, I'm new here. I need help with my LED. I am using 2 IR sensors. Basically, When both sensors detect object, green would light up. When 1 sensor detects and the other doesn't, Yellow would light up. When both do not detect anything, Red would light up. Please help me. :smiley-sad-blue:
I have attached my code.


You may have attached your code, but what you have attached bears no resemblance whatsoever to your question.

Now, to discuss code, cut and paste it from your IDE into the space between two "code" tags generated by the [ # ] icon above the submission window.  Then it can be easily seen and reviewed.

Go Up

Please enter a valid email to subscribe

Confirm your email address

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
Torino, 10131