hi frenz
i need to measure a pulse coming on INT1 pin through optocoupler
when am applying a high to INT1 pin my counting should start & when it becomes low it must stop.
my initialisation is as follows:
TMOD=0x90;
TL1=0x00;
TH1=0x00;
TR1=1;
IE=0x8C;
IT1=1;
now my problem is P3 defultly it is high
so timer 1 is getting started without pulse to P3.3(INT1) pin
how to avoid dis?
i need to measure a pulse coming on INT1 pin through optocoupler
when am applying a high to INT1 pin my counting should start & when it becomes low it must stop.
my initialisation is as follows:
TMOD=0x90;
TL1=0x00;
TH1=0x00;
TR1=1;
IE=0x8C;
IT1=1;
now my problem is P3 defultly it is high
so timer 1 is getting started without pulse to P3.3(INT1) pin
how to avoid dis?