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.

TMS320F28335: 使用CCS8.31编译代码问题。

Part Number: TMS320F28335


你好,我使用CCS8.31 ,编译如下代码,在TMS320F28335芯片上运行,发现aa 的结果一直是0,这是什么原因?

void main(void)
{
    unsigned char aa =0;
    
    while(1)
    {
        aa = (aa++) % 10;
        
        printf("aa = %d \r\n", aa);
    }
}