2-dimensioan Array - out of memory

Hi Guys,

i want to would a kind of phonebook. When I enter a name it should gibe me the corresponding number.
So i setup a 2-dimensional Array with names and numbers.
But after a test with 50 entries it shows me that the memory is already used with 68% by static variables.

How could I handle this more performant?

At least it should be able to store 150 - 200 numbers.

Thanks,
Andi

Use flash memory (PROGMEM)

Ah thanks, I will have a look at this.


Love PHP - hate C# :frowning:

andik2000:
So i setup a 2-dimensional Array with names and numbers.

I'd use an array of structs (in PROGMEM). That way a given name is linked with its number in a logical manner.