Go Down

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

RoninKun

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.

Paul__B

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!

Arduino
via Egeo 16
Torino, 10131
Italy