In the program given below for blinking of LED #include unsigned int i; void main() {...
Fantastic news! We've Found the answer you've been seeking!
Question:
Transcribed Image Text:
In the program given below for blinking of LED #include<lpc214x.h> unsigned int i; void main() { PINSEL2=0X00000000; 101DIR = 0X000F0000; while(1) { 101SET = OX000F0000; for(i=0;i<500000;i++); for(i=0;i<500000;i++); 101CLR = 0X000F0000; for(i=0;i<500000;i++); } } O A. ON TIME IS LESS THAN OFF TIME O B. ON TIME = OFF TIME OC. ON TIME IS GREATER THAN OFF TIME Reset Selection In the program given below for blinking of LED #include<lpc214x.h> unsigned int i; void main() { PINSEL2=0X00000000; 101DIR = 0X000F0000; while(1) { 101SET = OX000F0000; for(i=0;i<500000;i++); for(i=0;i<500000;i++); 101CLR = 0X000F0000; for(i=0;i<500000;i++); } } O A. ON TIME IS LESS THAN OFF TIME O B. ON TIME = OFF TIME OC. ON TIME IS GREATER THAN OFF TIME Reset Selection
Expert Answer:
Answer rating: 100% (QA)
Ans We have been given a program to blink LED here port 1 is selected as output in while loop we ... View the full answer
Related Book For
Systems analysis and design
ISBN: ?978-1118808177
5th edition
Authors: Alan Dennis, Barbara Haley Wixom, Roberta m. Roth
Posted Date:
Students also viewed these electrical engineering questions
-
In 1990, I led a consulting team for a major development project for the U.S. Army. The goal was to replace eight existing systems used on virtually every Army base across the United States. The...
-
Given the discrete system xk 1 3 4 1 4 0 1 1 2 0 xk 2 0 0 0 5 1 uk yk 0 1 1 1 0 0 xk u3 k 1 pts a How many states inputs and outputs are given in this system
-
Below is an execution trace of a program fragment for a computer with 512-byte pages. The program is located at address 1020, and its stack pointer is at 8192 (the stack grows toward 0). Give the...
-
The AFL-CIO has undertaken a study of the yearly salaries (in thousands of dollars) of 30 administrative assistants. The organization wants to predict salaries from several other variables. The...
-
An automatic dishwasher cost a dealer $620 less 37 12% and 4%. It is regularly priced at $558. The dealers overhead expense is 15% of the regular selling price and the dishwasher was cleared out for...
-
Develop a reactor network superstructure as shown in Fig. 10.3, considering both CSTR with volume $V_{1}$ and $V_{2}$.
-
The block is made of titanium Ti-6A1-4V and is subjected to a shortening of 0.06 in. along the y axis, and its shape is given a tilt of =89.7. Determine x , y , and Y xy . 4 in. 8 A 5 in.
-
From the following list of performance measures, label each one as Financial, Customer, Internal Business Processes, or Learning and Growth: Percentage of on-time deliveries Employee turnover ratio...
-
1. For each of the product strategies: First-to-market, Follow-the-leader, Me-too, and Application engineering, identify the characteristics of each and discuss how concurrent engineering fits or...
-
Lakey International is a foreign corporation that maintains its books of record in foreign currency (FC), although its functional currency is the U.S. dollar. Lakey originally began operations on...
-
Answer all the questions, show all steps, calculations, and explanation. 1. Regarding the issuance of new shares (and the financing package). (For Q1, you may round your answers to the nearest...
-
What is the purpose of timelines in an investigation?
-
Fantastic Sams and Defendants PSTEVO, LLC and Jeremy Baker entered into a franchise agreement pursuant to which Fantastic Sams granted PSTEVO a franchise to operate a Fantastic Sams Salon. According...
-
Amanda Forbes was hired as a nail technician by Showmann, Inc., in 2011. In 2017, Forbes attended a work-related holiday party where Showmann distributed raffle tickets to employees. One of the...
-
What are the two categories of data mining and knowledge discovery software?
-
Jerome M. Eisenberg is an antiquities dealer and a self-proclaimed expert in classical antiquities with a doctorate in Roman, Egyptian, and Near Eastern art. Maurice E. Hall Jr. is an art dealer who...
-
Delta airlines issues a press release in which it says that GAAP quarterly earnings were $ 2 . 9 0 per share in the quarter ending December 3 1 , 2 0 2 3 . The company further states that GAAP EPS...
-
The following cost information was provided to you for analysis: September 12,000 Units Produced Costs: TIC TAC TOE TING August 10,000 P80,000 70.000 60.000 50,000 How much is the fixed cost per...
-
Ask Jeeves (www.askjeeves.com) is an Internet search engine that uses natural language. Experiment with it and compare it with search engines that use key words.
-
What is the distinction between an external trigger and a temporal trigger? Give two examples of each.
-
Compare and contrast system testing and acceptance testing.
-
The composite post in Figure 1.49 has the same properties and dimensions as in Problem 1.13, except that there is a gap = 0.1 mm between the top of thecover plate on the post and the upper support....
-
The composite bar system in Figure 1.48 consists of a steel bar and a bronze bar that are both securely attached to a rigid block and rigid supports. The system is loaded with a total load P at the...
-
For the original 4340 steel-reinforced concrete post design of Problem 1.13 and the new IM9 carbon fiber-reinforced concrete post design of Problem 1.16, compare the tensile stress-to-tensile...
Study smarter with the SolutionInn App