Notice: Any messages purporting to come from this site telling you that your password has expired, or that you need to verify your details, confirm your email, resolve issues, making threats, or asking for money, are
spam. We do not email users with any such messages. If you have lost your password you can obtain a new one by using the
password reset link.
Due to spam on this forum, all posts now need moderator approval.
Entire forum
➜ Forum software
➜ Installation
➜ progmem error for LED array code
|
progmem error for LED array code
|
It is now over 60 days since the last post. This thread is closed.
Refresh page
| Posted by
| Stanley
(1 post) Bio
|
| Date
| Wed 11 Mar 2020 06:51 PM (UTC) |
| Message
| 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 | | Top |
|
| Posted by
| Fiendish
USA (2,541 posts) Bio
Global Moderator |
| Date
| Reply #1 on Wed 11 Mar 2020 07:00 PM (UTC) Amended on Wed 11 Mar 2020 07:01 PM (UTC) by Fiendish
|
| Message
|
Quote: Also, I hope I am posting in the proper forum!
You aren't
|
https://github.com/fiendish/aardwolfclientpackage | | Top |
|
The dates and times for posts above are shown in Universal Co-ordinated Time (UTC).
To show them in your local time you can join the forum, and then set the 'time correction' field in your profile to the number of hours difference between your location and UTC time.
11,809 views.
It is now over 60 days since the last post. This thread is closed.
Refresh page
top