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.

4
  • Thank you so much! I have decided to declare the types above the setup function, even though I understand this takes up a bit of dynamic memory, but not much to worry about. I really appreciate the thoughful response, and will definitely come back to this post in the future! Commented Jul 25, 2016 at 10:32
  • @JonathanA: Types do not consume memory. Commented Jul 25, 2016 at 10:48
  • Global variables use 731 bytes (35%) of dynamic memory, leaving 1,317 bytes for local variables. Maximum is 2,048 bytes. This is what I was referring to. Commented Jul 25, 2016 at 11:06
  • Types are the type of the variable, so int or char. It is referring to what you think, its just the word you used was a bit wrong. If memory is that much of an issue (I don't think it is yet) then you could look at using external RAM, an additional IC, but that will be slow compared to main RAM. Commented Jul 25, 2016 at 12:26