初学STM32,由于用到OLED,所以要显示一些符号,因此需要到一些大的数组。
之前在STM8上用的数组拿过来用时,发现一个问题:
error: #167: argument of type "const unsigned char *" is incompatible with parameter of type "uint8_t *"
LCD_DispImage1Bit(20,0,40, 32,ICON_WLAN_ON ,
第一张是数组,第二张是子函数,第三张是报错信息
希望有空的大佬 指点一下!谢谢了!!
|