我在Instructables上看到一个制作蓝牙手表(retro watch),自己买了材料,结果上传源程序的时候出现了几项错误:
Arduino: 1.6.5 (Windows 7), Board: "Arduino Pro or Pro Mini, ATmega328 (3.3V, 8 MHz)"
C:\Users\ADMINI~1\AppData\Local\Temp\build4384428568727190490.tmp\bitmap.h:1269:43: error: variable 'bitmap_array' must be const in order to be put into read-only section by means of '__attribute__((progmem))'
PROGMEM const unsigned char* bitmap_array[] = {
^
error: variable 'weekString' must be const in order to be put into read-only section by means of '__attribute__((progmem))'
error: variable 'ampmString' must be const in order to be put into read-only section by means of '__attribute__((progmem))'
想知道应该如何解决?谢谢