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

keil c program for counting external pulses with interupt

hai dear friends, iam a beginner in embed c so please help me in writing a program for counting the external pulses given in pin 3.4 and move the counted pulse value to p1 showing their hex value in leds.
the timer should run for only 1 sec. this process should run continuously. thank you

Parents
  • Do you already know "normal" C?

    If not, learning the 'C' programming language must be your first step:

    http://bit.ly/X5Atml

    You will also need to understand the 8051 architecture. It is an extremely long-established and widely-used architecture - there is no shortage of resources; eg:

    www.8052.com/.../120112

    www.8052.com/.../tutorial

    http://www.keil.com/books/8051books.asp

    In addition to the general 8051 architecture, you will need to understand the specific details of the particular chip(s) you are using - for this, you will have to study the Manufacturer's Datasheets.
    You should also take time to browse the Manufacturer's website for supporting materials - application notes, examples, tutorials, etc.

    You will also need to study the Keil manuals for the implementation-specific details particular to the C51 tools:

    http://www.keil.com/support/man_c51.htm

    You should also take time to browse the Keil website for supporting materials - application notes, examples, tutorials, etc.

    And, of course, don't forget the resources at your school - teachers, lesson notes, library, etc.

    Not to mention google...

Reply
  • Do you already know "normal" C?

    If not, learning the 'C' programming language must be your first step:

    http://bit.ly/X5Atml

    You will also need to understand the 8051 architecture. It is an extremely long-established and widely-used architecture - there is no shortage of resources; eg:

    www.8052.com/.../120112

    www.8052.com/.../tutorial

    http://www.keil.com/books/8051books.asp

    In addition to the general 8051 architecture, you will need to understand the specific details of the particular chip(s) you are using - for this, you will have to study the Manufacturer's Datasheets.
    You should also take time to browse the Manufacturer's website for supporting materials - application notes, examples, tutorials, etc.

    You will also need to study the Keil manuals for the implementation-specific details particular to the C51 tools:

    http://www.keil.com/support/man_c51.htm

    You should also take time to browse the Keil website for supporting materials - application notes, examples, tutorials, etc.

    And, of course, don't forget the resources at your school - teachers, lesson notes, library, etc.

    Not to mention google...

Children
No data