Question: Your task is to implement a two - tone siren using the QUTy. You must use one of the Waveform Outputs of TCA 0 to

Your task is to implement a two-tone siren using the QUTy. You must use
one of the Waveform Outputs of TCA0 to drive the buzzer with a 50% duty
cycle signal.
Your siren must alternate between the following frequencies:
f1=2130 Hz with f1 active for t1=370 ms
f2=4590 Hz with f2 active for t2=670 ms NOTES:
Your program must use either TCA or TCB to time the duration of each
tone. Do not use software based delays.
Your program must be interrupt driven. The main() function expects
init() to return to demonstrate this.
You may define additional variables and functions that are used by
init(), in this file.
*/
// This function is called once by the main() function.

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Databases Questions!