Hello, I am programming Arduino Micro, but out of program storage space and dynamic memory. Can you give me some suggestion?
Reduce your program size and storage requirements, or use a different processor.
i'd be interested in seeing a program that consumes all the available RAM. post your code
you can put constant data in program memory, but then you need to explicitly read that data into ram to use it like ordinary variables
Can you give me some suggestion?
Use the F() macro when printing text
Use variables of the appropriate type and size throughout the sketch
Do not repeat code that could be put into a function and called
Where appropriate use arrays to hold data and iterate through them instead of using individual variables and repeated code
If you have a lot of boolean variables then consider packing them into bits in bytes
There will probably be more suggestions when you post your sketch
(deleted)
If you have any large data arrays (like lookup tables or sounds or images), put them in PROGMEM.
If you have a lookup table that can be reduced to a formula, do that.