i have no problem to address to access and print/display individual texts from my array, e.g with
Serial.println(modustext[i]);
or all of them with a for...loop.
But, now the problem: as soon as i add any other calculation-process to "i" (even a simple "i++"), the code/the units gets stuck and it wont start correctly anymore.
The code is compiling without error though, and thats why i´m pretty lost here...
Start by posting a complete sketch that illustrates the problem. It is quite legitimate to use a variable as the index to an array so you are probably doing something odd
You call update_display() every time when the loop() run. So if you increment the i variable every run of this procedure - it exceed the range of array almost immediately after board starts and then running out of array bounds.
This causes the program to freeze.
What should happen when i exceeds the number of array elements? Reset it to zero or just don't increase anymore?
In any case, the code should have such a check
But we do. There is something going on and it wou,d be waaaaay easier to find out what it is if it were presented in the context of a complete it compiles and we could run it oursefs sketch.
So make a little sketch that demonstrates this problem.