Skip to main content

You are not logged in. Your edit will be placed in a queue until it is peer reviewed.

We welcome edits that make the post easier to understand and more valuable for readers. Because community members review edits, please try to make the post substantially better than how you found it, for example, by fixing grammar or adding additional resources and hyperlinks.

Required fields*

8
  • 3
    Don't use String. Put your string literals in flash with F(...). Commented Jan 1, 2019 at 21:43
  • 3
    1. Where is VISIBLEVALUEPIXELS defined? I get an 'undefined' error for it from the compiler when I try to compile your code. 2. Are you sure you're running out of program memory and not data memory? Please show the error message. Did it occur at compile time or at run time? Commented Jan 1, 2019 at 22:23
  • whoops. i accidentaly stuffed it up before and forgot to save Commented Jan 2, 2019 at 0:50
  • Done. Now use the code above and compile it. The reason it didn't work before is because I renamed VISIBLEVALUEPIXELS to visval Commented Jan 2, 2019 at 0:53
  • Just to reiterate JRobert's point; Why do you suspect the program memory has run out? could you please post the error message that you are getting. I also think you are running out of SRAM and not the program Flash. Commented Jan 2, 2019 at 3:18