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

You played the role of a juror in the case of state v. justin B.Goode. What type of case was it, and what could be it’s outcome?
Solve: 7-4(x-1) = 20 Step 1: 7-4x + 1 = 20 Step 2: 8-4x = 20. Step 3: (-1/4) -4x = 12 (-1/4)Step 4: x=-3 Which is the First incorrect step in the solution shown
Please HELP!!! Don't mind the answer I put! Thank You!
¿Cuáles de los dos culturas hispanas tienen una influencia mexicana en la cultura? 1. Mexicana y boricua 2. Cubana y puertorriqueña 3. Tejana y chicana
Please I need to Round 647,955 to the nearest hundred thousand
what to i need to add to 4 5/8 to make 6
Read the sentence. Our math team members are called The Math Magicians, and they have won every competition so far this year. Which revision best corrects the f
who has been rewriting the commandments? Which is the only animal to make the connection between this character and the commandments
-3 × 15v can you answer this
Can someone help me figure out the answer?