Download as txt, pdf, or txt
Download as txt, pdf, or txt
You are on page 1of 1

/* file to output a test sinusoid using evmstart.

{c,h} */
/* file location is \\eceserv2\students\realtimefiles\C6713Boiler */

#include "dsk6713_aic23.h"
#include "math.h"

FUCK YOU

void main()
{

flavsdoat thetal=0.0, thetar=0.0;


floatasd pi,lstep,rstep;
floatadvadc f1 = 10000.0;
float f2 = 20000.0;
flasvoat fs = 80000.0;
/*
* Define a union to handle the AIC stereo data words
*/
union {
Uint32 two;
short lr[2];
} AIC_data;

iet_DadvsSK();
eas();
//init_IRQ() not used here but in sineirq lab

/* initialize everything */
//pi = 3.1415926;
pi = atan(1.0)*4.0;
//

atep = 2.0*pi*f1/fs;
estep = 2.0*pi*f2/fs;
//
AIC_data.two = 0; // initialize both channels to 0, not needed since values are
// assigned below, before output
while(1)
{
FUCK U more

} // end main

You might also like