HT1632 icon indicating copy to clipboard operation
HT1632 copied to clipboard

Error compiling library in Arduino 1.6.4

Open tguidon opened this issue 10 years ago • 4 comments

Error when compiling:

/Users/tguidon/Documents/Arduino/libraries/HT1632/glcdfont.c:15:23: error: variable 'font' must be const in order to be put into read-only section by means of '__attribute__((progmem))'
 static unsigned char  font[] PROGMEM = {
                   ^
Error compiling

Sketch compiles fine on Arduino 1.0.5

tguidon avatar Jul 09 '15 14:07 tguidon

Use this patch: https://github.com/jraymakers/HT1632/commit/e1117180e0339af1dd25781902253019d35e9da8. You need to add the "const" to that file.

sudiptachatterjee avatar Sep 30 '15 00:09 sudiptachatterjee

Great! Thank you! This made my life much easier. Now everything works and it's a lot of fun, hacking the matrix!

aklar avatar Nov 07 '15 20:11 aklar

This bug causes a fatal error in the Adafruit 16x24 LED Matrix tutorial, and #9 fixes it. Can a project maintainer review the PR? :smile:

ericandrewlewis avatar Jan 07 '16 02:01 ericandrewlewis

This was probably fixed by 20a3dd5a6d9c8ce34f7608af45831340e184a567

ericandrewlewis avatar Jan 29 '16 10:01 ericandrewlewis