Hello,
I am trying to use the LED code:
http://www.gammon.com.au/forum/?id=11516
Particularly for the 8x8 LED array. I have followed the instructions. but when it comes to including the cp437 font I get this error:
variable 'cp437_font' must be const in order to be put into read-only section by means of '__attribute__((progmem))'
Per the website I have the code written like this (the ..... is the rest of the callouts):
byte cp437_font [256] [8] PROGMEM = {
{ 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00 }, // 0x00
.............
}; // end of cp437_font
I am not sure how to proceed, This is my first LED attempt and all the other methods I have seen/tried have failed. The LED lights up sporadically. I have also tried a different driver and LED and no bueno.
I would appreciate any help. Also, I hope I am posting in the proper forum!
-Stan
I am trying to use the LED code:
http://www.gammon.com.au/forum/?id=11516
Particularly for the 8x8 LED array. I have followed the instructions. but when it comes to including the cp437 font I get this error:
variable 'cp437_font' must be const in order to be put into read-only section by means of '__attribute__((progmem))'
Per the website I have the code written like this (the ..... is the rest of the callouts):
byte cp437_font [256] [8] PROGMEM = {
{ 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00 }, // 0x00
.............
}; // end of cp437_font
I am not sure how to proceed, This is my first LED attempt and all the other methods I have seen/tried have failed. The LED lights up sporadically. I have also tried a different driver and LED and no bueno.
I would appreciate any help. Also, I hope I am posting in the proper forum!
-Stan