1 answer

A PIC18F4550 microcontroller interfaced to a common-cathode 7-segment display via a buffer IC 74HC244 in the figure above.

- When switch SW1 is pressed, the value displayed at the 7-segment will increment by one.

- If the value displayed at the 7-segment is ‘9’, when switch SW1 is pressed, the value will roll over and become ‘0’.

- When switch SW1 is released, the value displayed at the 7-segment remains unchanged.

- External interrupt is used for detecting the state at RB0.

(a) Draw the table displaying the relation between the decimal digit to be displayed, corresponding segment to turn on and the corresponding hexadecimal number output from Port D of the microcontroller.[10 marks]

(b) Write the program that performs these tasks. [10 Marks]

+5V PIC18 MCU 300 Ω each STV1 RD5 RD4 10k Ω RD2 RD1 RDO common cathode

1 answer
#####
24. a) Write a reasonable mechanism, using good arrow notation, for the bromination of phenol to...

24. a) Write a reasonable mechanism, using good arrow notation, for the bromination of phenol to p-bromophenol. Show all the resonance forms of the intermediate and circle the major contributing resonance structure. b) Prepare acetanilide from benzene and acetic acid as the source of all carbons, an...

1 answer
#####
For this problem, do not worry if prices and quantities are not "realistic." Suppose that the...

For this problem, do not worry if prices and quantities are not "realistic." Suppose that the market for photocopies in Washington DC is perfectly competitive, and is given by the following equations: QP = 72-P QS = 5P where is the daily demand for copies in DC and Q is the total supply curv...

1 answer
#####
• Coronary Artery Disease 1.1. Identify the most important client concerns for this condition 2.Discuss three...

• Coronary Artery Disease 1.1. Identify the most important client concerns for this condition 2.Discuss three priorities for nursing care of this client, with these client concerns in mind. Explain how you arrived at the order of importance (Nursing Process, Maslow’s Hierarchy, ABCs, etc....

1 answer
#####
From the table "X" (a), calculate gross profit of each invoice as total sale minus total...

from the table "X" (a), calculate gross profit of each invoice as total sale minus total cost of all units of the invoice. c) Calculate tax on profits for each invoice. Create two columns. One column must show if tax is due for the order (YES or NO). Tax is due if the gross profit of the ord...

1 answer
#####
Question 3 A $515000 bond was retired at 98 when the carrying value of the bond...

Question 3 A $515000 bond was retired at 98 when the carrying value of the bond was $505000. The entry to record the retirement would include a gain on bond redemption of $10000. loss on bond redemption of $10000. loss on bond redemption of $300. O gain on bond redemption of $300. Click if you would...

1 answer
#####
If I am traveling 104 kilometers per hour and need to travel 141.8 kilometers how long would I be traveling for? Thx.

If I am traveling 104 kilometers per hour and need to travel 141.8 kilometers how long would I be traveling for? Thx....

1 answer
#####
Design a site to book a conference room. Consider the factors required to choose an appropriate...

Design a site to book a conference room. Consider the factors required to choose an appropriate room. Support both fixed and flexible requirements. What information do you need to provide so that users are confident that they have chosen the right room?...

1 answer
#####
A thin spherical shell has a mass of 2 kg when it is empty, radius 0.2...

A thin spherical shell has a mass of 2 kg when it is empty, radius 0.2 meters, and a volume of 0.0335 m3. It is filled with helium (density=0.179 kg/m3) and released from rest at the bottom of a pool of water that is 4 meters deep. (density of water= 1000 kg/m3). 1. Show that the shell rises with co...

1 answer
#####
Blossom Company was organized on July 1, 2020. Quarterly financial statements are prepared. The unadjusted and...

Blossom Company was organized on July 1, 2020. Quarterly financial statements are prepared. The unadjusted and adjusted trial balances as of September 30 are shown as follows. Blossom Company Trial Balance September 30, 2020 Unadjusted Dr. Cr. Cash $ 8,800 Accounts Receivable 10,400 Supplies 1,550 P...

1 answer
#####
1. An infinite planar source emitting S neutrons/cm'-sec is placed between infinite slab of beryl...

1. An infinite planar source emitting S neutrons/cm'-sec is placed between infinite slab of beryllium and graphite of thickness a and b, respectively, as shown in the picture below. Derive lim)S sides of the source, this problem is not symmetric and the source condition valid. The appropriate bo...

1 answer
#####
A mixture of helium and neon gases at 335 K contains 3 times the number of...

A mixture of helium and neon gases at 335 K contains 3 times the number of helium atoms as neon atoms. The concentration (n/V) of the mixture is found to be 0.150 mol/L. Assuming ideal behavior, what is the partial pressure of helium? kPa...

1 answer
#####
Find x where 3pi/2 <= x <= 2pi? 1 + sec^2 x = 2 + cos^2 x + sin^2 x

Find x where 3pi/2 <= x <= 2pi? 1 + sec^2 x = 2 + cos^2 x + sin^2 x...

1 answer
#####
Page 16 Example: An electronic parts factory produces resistors. Assume the resistance follows a distribution with...

Page 16 Example: An electronic parts factory produces resistors. Assume the resistance follows a distribution with standard deviation 0.156 ohms. A random sample of 60 resistors has an average resistance of 0.45 ohms. The factory wishes to test that the population mean resistance is less than 0.5 oh...

1 answer
#####
Athletic world began January with merchandise inventory of 70 crates of vitamins that cost a total...

Athletic world began January with merchandise inventory of 70 crates of vitamins that cost a total of $4,550. During the month, Athletic World purchased and sold merchandise on account as follows. onth, Athletic World purchased and sold merchandise on account as follows: pany's cost of goods so...