这种显示屏有背光吗?我插上正负极,插上引脚,但是屏幕没有任何显示
大神我按照你的程序编译了一下出错了,你知道哪里错了么?
__.ino:20:64: error: variable 'logo16_glcd_bmp' must be const in order to be put into read-only section by means of '__attribute__((progmem))'
求 0.69 96x16 ssd1306的 初始化,和 显示字符的 demo ,谢谢
1206和12864屏早该淘汰了,怎么看怎么不爽。价格也不比彩屏便宜,最烦的是极客工坊里很多帖子都是这老显示屏的。:Q
outman 发表于 2015-5-13 18:51 static/image/common/back.gif
大神我按照你的程序编译了一下出错了,你知道哪里错了么?
__.ino:20:64: error: variable 'logo16_glcd_b ...
呵呵,我也遇到了同样的问题,虽然我不明白怎么回事,但是把staticunsigned char __attribute__ ((progmem)) logo16_glcd_bmp[]=改成static const unsigned char __attribute__ ((progmem)) logo16_glcd_bmp[]= 就好了。
static unsigned char __attribute__ ((progmem)) logo16_glcd_bmp[]={
0x30, 0xf0, 0xf0, 0xf0, 0xf0, 0x30, 0xf8, 0xbe, 0x9f, 0xff, 0xf8, 0xc0, 0xc0, 0xc0, 0x80, 0x00,
0x20, 0x3c, 0x3f, 0x3f, 0x1f, 0x19, 0x1f, 0x7b, 0xfb, 0xfe, 0xfe, 0x07, 0x07, 0x07, 0x03, 0x00, };
这句在显示编译错误怎么办?