电子产业一站式赋能平台

PCB联盟网

搜索
查看: 1152|回复: 0
收起左侧

stm32控制OLED显示的一点问题

[复制链接]

604

主题

970

帖子

5115

积分

四级会员

Rank: 4

积分
5115
发表于 2023-4-20 08:45:54 | 显示全部楼层 |阅读模式
我有一个.h文件里有一个const uint8_t bmp[]放我的图像模数据,然后在oled.c里定义了一个函数showpicture(x,y,sx,sy,uint8_t BMP,mode),最后在main.c里调用showpicture函数,但是显示错误
../Core/Src/main.c(146): error:  #167: argument of type "const uint8_t *" is incompatible with parameter of type "uint8_t *" 不知道为什么
求教各位
回复

使用道具 举报

发表回复

您需要登录后才可以回帖 登录 | 立即注册

本版积分规则


联系客服 关注微信 下载APP 返回顶部 返回列表