PIC16的C代码如下 volatile bit cols[3] = { RC5, RC6, RC7, };
编译结果: Error[000] E:\mcu_kb\main.c 396 : can't have an array of bits or a pointer to bit Error[000] E:\mcu_kb\main.c 398 : constant expression required Error[000] E:\mcu_kb\main.c 399 : constant expression required Error[000] E:\mcu_kb\main.c 400 : constant expression required
这个数组该如何定义? |