s20880
s20880 s20880
  • 10-05-2021
  • Computers and Technology
contestada

Write a program to generate a square wave with 80% duty cycle on bit P2.7 Microprocessor.​

Respuesta :

phenom786
phenom786 phenom786
  • 10-05-2021

Answer:

assuming its assembly (otherwise just delete this ans)

Explanation:

MOV TMOD , #01 ;

MOV TLO, #00 ;

MOV THO, #DCH

CPL P1.5

ACALL DELAY

SJMP HERE

;generate delay using Timer 0

DELAY:

SETB TR0

AGAIN:

JNB TF0 ,AGAIN

CLR TR0

CLR TF0

RET

Answer Link

Otras preguntas

??????????????????????????????????????????
Which scientist is known for contributions to a scientific discipline that is different from that of the other three scientists?
under what circumstances did John Locke think it would be acceptable for the people to overthrow the government
What factors led to the beginning of World War II in Europe? A.) various independence movements in Serbia against Austria-Hungary B.) the rise of aggressive nat
What dramatic element moves the plot forward in a play? a. narration b. setting c. costumes d. dialogue
What happened as the south continued to grow during the 1800-1850?
Emily, of course, had changed. She met me at the door as she met you. She was a shell burned out by one fierce moment of fire. The figurative language used in
Please help me with number 6.
do the equations y=3x+5 and y=3x-5 have no, one or many solution(s)?
Which expression does NOT have a value of 18?