Design it in C-language? Complete the rest of the code below? The objective of this lab is
Fantastic news! We've Found the answer you've been seeking!
Question:
Design it in C-language?
Complete the rest of the code below?
Transcribed Image Text:
The objective of this lab is to create a variable frequency oscillator. The system has two digital inputs, input0 and input1, and two digital outputs, output0 and output 1. If input1 is true the digital output "output1" oscillates at 262 Hz (becomes high for half the period T, and low for the other half. Remember T = 1/f). if input1 is false, output1 remains low. If inputo is true outputo oscillates at 392 Hz, if inputo is false, outputo remains low. If both inputs are true, both outputs remain low. When you connect each output to a 10K resistor as shown in figure 1, you will be able to hear the tones as middle C and middle G. 3.3V 10K0 www 10K0 Input 1 Input 0 TI4C124 Figure 1 Output 1 Output 0 10KO www www 10KO One side of a pair of Headphones The objective of this lab is to create a variable frequency oscillator. The system has two digital inputs, input0 and input1, and two digital outputs, output0 and output 1. If input1 is true the digital output "output1" oscillates at 262 Hz (becomes high for half the period T, and low for the other half. Remember T = 1/f). if input1 is false, output1 remains low. If inputo is true outputo oscillates at 392 Hz, if inputo is false, outputo remains low. If both inputs are true, both outputs remain low. When you connect each output to a 10K resistor as shown in figure 1, you will be able to hear the tones as middle C and middle G. 3.3V 10K0 www 10K0 Input 1 Input 0 TI4C124 Figure 1 Output 1 Output 0 10KO www www 10KO One side of a pair of Headphones
Expert Answer:
Answer rating: 100% (QA)
Design it in Clanguage Code bit LIMIT PORTC1 bit CLOCK POR... View the full answer
Related Book For
Microsoft Visual C# An Introduction to Object-Oriented Programming
ISBN: 978-1337102100
7th edition
Authors: Joyce Farrell
Posted Date:
Students also viewed these programming questions
-
Systems Design Project Instructions For your final assignment in this course, you will create a project using the requirements outlined below. You may use your own place of business (preferred) or an...
-
For this project, you will create a shape drawing program using Turtle graphics. Your program will begin by asking the user how many points they would like to enter (# of vertices for the shape)....
-
Create two PLC ladder logic diagrams that use PLC coils and contacts to seal outputs. Then, you will use the Logix Pro simulation software to create the PLC ladder logic diagrams and verify their...
-
A problem in Statistics is given to three students A, B, and C whose chances of solving it are 1/4 and 1/5 respectively. Find the probability that the problem will be solved if they all try...
-
a. What is the standard error of a statistic? b. In what way does the standard error indicate the quality of the information provided by an estimate? c. What typically happens to the standard error...
-
A tennis ball is a hollow sphere with a thin wall. It is set rolling without slipping at 4.03 m/s on a horizontal section of a track, as shown in Figure P10.56. It rolls around the inside of a...
-
Show the variation of the transmission ratio, \(\frac{X_{1}}{\delta_{\mathrm{st}}}\), with \(\frac{\omega}{\omega_{1}}\) for an undamped dynamic vibration absorber for \(\omega_{2}=\omega_{1}\) and...
-
Jennifer has just been promoted to manager of the gear division of Machine Parts Co. The division, which manufactures gears for hydraulic drives, uses a standard cost system. The standard cost of a...
-
Trying to be safe while using a smartphone is like trying tokeep water out of a submarine with a screen door. Discuss thiscomment, particularly referencing the Denver Post article
-
Perfect Parties, Inc. has several divisions, one of which provides birthday parties at their facility, and has provided the actual and planning budget results for the month of June. The Controller...
-
Mr. Adam Lamb sold the following assets this year, all of which were purchased within the last 10 years: Mr. Adam lamb has unclaimed capital loss on listed personal property of $1200 arising 3 years...
-
Land and Water Waste Disposal Ltd (LAWWD) is a public company providing waste disposal services to private homeowners and to customers in the commercial, industrial and public sectors. Because of its...
-
Dowden Machinery Ltd (DML), a reporting entity which distributes heavyduty equipment to industrial entities, has had a significant increase in sales to government departments over the last few years....
-
Cambridge Ltd is a public company supplying different types of packaging for the food and beverage industry. Among its products are labels for beer bottles, softdrink bottles, and jam jars and tins,...
-
Sandy Poglase, owner of Sandys Sandwiches, wants a bank reconciliation statement to be prepared for the month ended 31 March 2019 using the following information: 1. Final balance in the Cash at Bank...
-
Hannahs Handbags Pty Ltd is preparing a budget for the quarter ended 30 June 2019. Hannah estimates that approximately 70% of the handbag sales will be for cash and the rest will be on credit. Of the...
-
Two mining fields, Field A and Field B, of a coal mining company produce Lignite and Bituminous coal. The operating cost per day for Field A and Field B are $55,000 and $45,000, respectively. The...
-
Show, if u(x, y) and v(x, y) are harmonic functions, that u + v must be a harmonic function but that uv need not be a harmonic function. Is e"e" a harmonic function?
-
Write the C++ code for a function that receives four items of information: three by value and one by reference. Each item has the double data type. Name the formal parameters num1, num2, num3, and...
-
Follow the instructions for starting C++ and viewing the SwatTheBugs30.cpp file, which is contained in either the Cpp8\Chap07\SwatTheBugs30 Project folder or the Cpp8\Chap07 folder. (You may need to...
-
Follow the instructions for starting C++ and viewing the Advanced28.cpp file, which is contained in either the Cpp8\Chap12\Advanced28 Project folder or the Cpp8\Chap12 folder. (Depending on your C++...
-
Consider the following situations: (a) Assume that you are a partner in a two partner practice with total practice income of 250 000. One of your clients (a private limited company with a turnover of...
-
Discuss the arguments for and against requiring the mandatory rotation of auditors.
-
Now that you have read the IFAC Code and the FRC Ethical Standard do you think that they have been influenced by prior work on auditing theory? Justify a Yes or No answer.
Study smarter with the SolutionInn App