Go Down

Topic: LED help (Read 339 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