I have a code that is this, it do work but i working on a IAR Embedded workbench IDE so now the problem is that the TXBUF0 can only read value. my output is a array so i need to know how to convert a array to a value?
thank if u can help me with this.Code:num = 92160/pulseperiod;
div1=16;
while ((num>0)&&(div1>0))
{ ctr--;
output[ctr]=dataset[(num%div1)];
num=num/div1;
}
for (int i=1; i>=0; i--)
output[i]=output[i+ctr];
TXBUF0=output;