Keil error C141: syntax error near ‘unsigned‘Keil error C141: syntax error near ‘unsigned’
Keil error C141: syntax error near ‘unsigned’在写一个函数时想用unsigned char i定义个局部变量实现for循环,但是在编译时却一直报错,说我没有定义i,逆天初始代码如下:void DS1302_WriteByte(unsigned char Command, Data){ DS1302_CE = 1; unsigned char i; for(i = 0; i < 8; i++) { DS1302_IO = Command