how do i know if I am doing RAM programming or flash programming ?
I had a certain code that was compiling. It was working ok. Then I added some more variables (6) it started crying about being out of RAM. I tried reducing code by removing some functions but to no effect. I agree there were plenty of arrays in my code. I removed 3x 50 arrays of size 16 and made them into 6 arrays of size 12. I am sure that must have saved a ton of RAM. 2328 bytes shud be saved
Then I added 2 more 50 size arrays . so total saved 2228. Everything was working great at this point of time.
All arrays are floats
Now I added one more 6 size array and it started crying all over again.
I am totally confused. it just doesnt add up.
pls help.
If the code size is problem to fit in RAM ,reducing code shud help but it doesnt.