initially i made P3=0;
when am giving high i/p(+5v from power supply) the interrupt pin is responding( it is showing +5v on this pin
if i give +5v through optocoupler the voltage on pin becomes 0v instead of +5v .
why it is happening?
optocoupler is working well.am taking output of optocoupler from emitter.
is there any problem from microcntroller side or intialization?
when am giving high i/p(+5v from power supply) the interrupt pin is responding( it is showing +5v on this pin
if i give +5v through optocoupler the voltage on pin becomes 0v instead of +5v .
why it is happening?
optocoupler is working well.am taking output of optocoupler from emitter.
is there any problem from microcntroller side or intialization?