I create one project for MSP430 launchPad Board, just want to use graph single time function.
I just count value for variable. increase its value in while() program. I just want to get Triangle wave for graph single time analysis. But I got the waveform which is not my want. Does anyone face the same problem with me. below is my program and waveform form CCS IDE.
unsigned char count;
unsigned char data;
void main(void)
{
while(1)
{
if(count<128)
{
++count;
++data;
}
if(count>=128){data--;if(data==0)count=0;}
}
My CCS IDE picture shot as blow.

