Microcontroller › 8051 › Coding problem › connect output of both IR
March 27, 2015 at 7:21 am
#12735
Ashutosh Bhatt
Participant
connect output of both IR receivers with two external interrupt pins 11 (INT0) and 12 (INT1)
increment count if INT0 occurs first and INT1 arrives second
simillarly decrement count if INT1 arrives first and INT0 arrives second
switch ON relay if count is more than 0 and switch it OFF if count is 0
thats all