Need a example code and procedure how to run and write code to generate a sine wave for dsk5416 starter kit
This thread has been locked.
If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.
Need a example code and procedure how to run and write code to generate a sine wave for dsk5416 starter kit
i wrote the code and complied and build but when viewing in graph window am not getting the wave , plz set to have a good graph of sin wave what to be changed in display will paste the code let me know what to change in graph properties
void main()
{
int loop=0;
short gain=10;
short sine_table[8]={0,707,1000,707,0,-707,-1000,-707}
short out_buffer[256];
const short BUFFERLENGHT=256;
Int i=0;
while(1)
{
out_buffer[i]=sine_table[loop]*gain;
i++;
if(i==BUFFERLENGHT)i=0;
if(loop<7)++loop;
else loop=o;
}
this was the program build completely ,running he program ,but what to type in graph prporties
what to set the output adres s, and all dilog box what to change to get exact sine wave