I have a variable declared as a String array
String SubSelectorArray[10][6] = {{"3.500 MHz","7 MHz", "14 Mhz", "21 MHz", "28 MHz",""},
The String is passed to a function
int RotarySelector(String strOption)
{
When the array was size [10][6] the function did not receive the variable and flagged it as empty string which I do check for. For test purpose I reduced the array to [5][6] and have no issues passing the string to the function.
Obviously I pushed the Uno something ( memory?) , using over 50% of dynamic memory, over some limit.
Two questions - what or how can I check for whatever I am exceeding to prevent chasing stuff like this using String?
And what exactly this note means - is it String or char?
[/quote]
For reference, character arrays are referred to as strings with a small s, and instances of the String class are referred to as Strings with a capital S. Note that constant strings, specified in "double quotes" are treated as char arrays, not instances of the String class.
Thanks for your time, appreciate any constructive help.
Vaclav