Thursday, February 28, 2013

Lab Report

Purpose (10 points)
The purpose of this library is creating a project that feces switch between four modes of work. The first mode is to transcend the input to output. The certify mode is to generate a wickedness wave while ignoring the input. The third mode is to output a square wave while ignoring the input. The fourth mode of operation is to generate a triangle wave. The project should be competent to switch between these modes of operation without re-building the mandate.
Method (10 points)
First, launch CCS; hold back a copy of lab 1, named the copy lab 2.Then sidetrack the lab. To accomplish the four different modes, four different functions were written individually and called within the main function. The first one was to defer input/output buffer as arguments and pass the jimmy by reference. The minute mode takes amplitude, frequency, and output buffer as arguments, and generates the sinning wave; same code as die week.

Order your essay at Orderessay and get a 100% original and high-quality custom paper within the required time frame.

Third mode uses the same argument as second mode, and it generates a square wave instead of sine wave. The nett mode uses nearly the same argument as second mode, but it generates a triangle wave instead of sine wave. The switch function was made come true by using the code switch, included the function mental image in the header file.
Code explanation (30 points)
Part1 Passthrough

We have already done the main function in lab 1.The code is
void Passthrough(short *pOut, short *pIn)
{
int i;

for (i=0;iIf you want to get a full essay, order it on our website: Orderessay



If you want to get a full essay, wisit our page: write my essay .

No comments:

Post a Comment