感谢您的回复
请在下面找到回复
1.由于putchar没有接收IAR,我将该函数名称重命名为“send”并在IAR IDE中成功编译。
2.由于主要只有printf,它不会在终端上打印任何东西。
我已经修改了如下所示的循环,但它仍然只是打印为垃圾值
对于(;;)
{
发送( '1');发送( '2');送( '3');
printf(“Hello World! n”);
for(i = 0; i 以下为原文
Hi,
Thanks for your reply
Please find the below response for your reply
1.As putchar is not taking in IAR , i renamed that function name as "send" and compiled successfully in IAR IDE .
2. As main is only having printf, it is not printing anything on terminal.
3. I have modified loop as below but still it is printing as garbage value only
for(;;)
{
send('1');send('2');send('3');
printf("Hello World!n");
for(i = 0; i < 147456; i++); // Sleep
}
My questions are
- have you get response for printf or putchar?
- As i have validated led example, Hardware have any issue?