menu
QAmmunity.org
Login
Register
My account
Edit my Profile
Private messages
My favorites
Ask a Question
Questions
Unanswered
Tags
Categories
Ask a Question
Write a 10-ms delay subroutine that can provide delays in multiples of 10 ms
asked
Jul 3, 2018
73.2k
views
3
votes
Write a 10-ms delay subroutine that can provide delays in multiples of 10 ms
Physics
high-school
Visal Sambo
asked
by
Visal Sambo
8.1k
points
answer
comment
share this
share
0 Comments
Please
log in
or
register
to add a comment.
Please
log in
or
register
to answer this question.
1
Answer
2
votes
The subroutine that can provide delays in multiples of 10 ms is this
void delay10ms (char d)
char c
TCF1.CTRL = 0
.PER = 4000
.CNT = 0
CTRLA = 0x04
for (c = 0 , c < d; c ++)
while (TCF1 & OVFIF_bm)
Murphytalk
answered
Jul 10, 2018
by
Murphytalk
8.0k
points
ask related question
comment
share this
0 Comments
Please
log in
or
register
to add a comment.
← Prev Question
Next Question →
Related questions
asked
Oct 14, 2024
133k
views
Build an assembly language subroutine named Normalize that will take an argument on the stack and transform it as per the following description. If the value of the argument is odd, your subroutine should
Aberna
asked
Oct 14, 2024
by
Aberna
9.2k
points
Computers and Technology
high-school
2
answers
4
votes
133k
views
asked
Mar 26, 2024
47.8k
views
Subroutine and Interrupt 11- Convert the programs written in question 8 and 10 to a subroutine. And call the subroutine in the main function with 4 different values in DL to test different functions.
Donshikin
asked
Mar 26, 2024
by
Donshikin
8.3k
points
Computers and Technology
college
1
answer
1
vote
47.8k
views
asked
May 18, 2024
111k
views
Write in MIPS. Convert "merge" in Project 2 into a subroutine. Write a "main" program to perform mergesorting of a list of integers by calling "merge" repeatedly. For example, if the sorting program takes
Mayrop
asked
May 18, 2024
by
Mayrop
7.3k
points
Computers and Technology
high-school
2
answers
3
votes
111k
views
Ask a Question
Welcome to QAmmunity.org, where you can ask questions and receive answers from other members of our community.
9.4m
questions
12.2m
answers
Other Questions
Physical properties of minerals graphic organizer
A snowball is launched horizontally from the top of a building at v = 16.9 m/s. If it lands d = 44 meters from the bottom, how high (in m) was the building?
What type of rock is the Haystack rock (igneous, Metamorphic, or Sedimentary)
what is a device that transforms thermal energy to mechanical energy
How many light sources do you know Pls list them
Twitter
WhatsApp
Facebook
Reddit
LinkedIn
Email
Link Copied!
Copy
Search QAmmunity.org