This discussion has been locked.
You can no longer post new replies to this discussion. If you have a question you can start a new discussion

how to count rising edges of a pulse in ADUC842

Hello,

I am using ADUC842.

Continuous pulse is being fed at port P2.6

I need to calculate rising edges of the pulse for 10ms time interval..

how should i proceed?

pls help.

Regards
Mayuri

Parents
  • I guess you just refuses to read up on how to post source code on this forum.

    So we better refuse to read what you post too.

    Didn't you notice the different look in my post?

    #include <stdio.h>
    
    void main(void) {
        printf("Hello world!\n");
        for (;;) ;
    }
    

    And by the way - why don't you test your code instead of asking "is this logic fine"? Code having so few lines really do not take too long to test. You just can't develop applications without debugging.

Reply
  • I guess you just refuses to read up on how to post source code on this forum.

    So we better refuse to read what you post too.

    Didn't you notice the different look in my post?

    #include <stdio.h>
    
    void main(void) {
        printf("Hello world!\n");
        for (;;) ;
    }
    

    And by the way - why don't you test your code instead of asking "is this logic fine"? Code having so few lines really do not take too long to test. You just can't develop applications without debugging.

Children
No data