This discussion has been locked.
You can no longer post new replies to this discussion. If you have a question you can start a new discussion

variable overlays

have you ever noticed that when you comment out a piece of code, so it is ignored for variable overlay, that ALL other code that was part of the same overlay now will not overlay?

for instance, I had 4-5 functions that used local arrays of chars

when I commented one of them out of main so it never executed suddenly instead of only using up space for 1 array I had all the arrays in their own space (more memory than the teeny uP had)

when I put the code back in the memory usage actually shrunk