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 sea separates Europe from Africa
Question 1 A theme is... a universal idea that should be supported with textual evidence a thing like family or courage a powerful message that does not need t
At the end of the day, Dodie can clean her hair salon in 15 minutes. Ann, who works with her, can clean the salon in 30 minutes. How long would it take them to
What were the basic causes of World War2​
This sculpture is an example of a low relief because ___________________. a. it can be view from multiple perspectives. b. the images are extended less than hal
Which of the following is a factor of 2x^3+13x^2+19x+20 A)x-2 B)x-2 C)x+2 D)x+5 Plz give me the answer and the step plz
Please help me with #7! Explain your answer
Another time, there was 1/3 of a pizza left and Ford are 2/3 of that. How much of the original pizza did he eat?
Who organized the standard oil company
During the Renaissance, a new intellectual movement known as humanism evolved. What was the significance of the humanist movement? A. Humanist were very intere