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

set two timer with different clock period

hi

i m using AT89C2051

i want to use one timer to send serial data, and 2nd timer for clock pulse aprox 50% duty cycle, P3 Pin 7, for high and low after half secnd

i m using 11.0592MHz crystal
using Keil and C language

how can i do it

Parents
  • the 'example' you want, probably, is code to turn in to your teacher, I will not help you cheat, but, sim
    nce you have give many question marks, I will give many answers
    is there any example?for TI look at serial comm 'examples' ?for T0 first look at Timer initialize 'examples' ?for T0 look then look at timer based delay 'examples' ?or for T0 look at timer ISR 'examples'
    ?for a complete 'example' do some work yourself.

    Erik

Reply
  • the 'example' you want, probably, is code to turn in to your teacher, I will not help you cheat, but, sim
    nce you have give many question marks, I will give many answers
    is there any example?for TI look at serial comm 'examples' ?for T0 first look at Timer initialize 'examples' ?for T0 look then look at timer based delay 'examples' ?or for T0 look at timer ISR 'examples'
    ?for a complete 'example' do some work yourself.

    Erik

Children
No data