PLz help me out

Discussion in 'Programmer's Corner' started by satishkumili, Oct 29, 2008.

  1. satishkumili

    Thread Starter New Member

    Oct 29, 2008
    5
    0
    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?
     
Loading...