alpha1504:
Ok,
I have to send an array composed of 10 numbers or letters in two pairs.
Then 20 characters separated by one, each 2 characters.
I just wanted to use the array to transmit 10 variables, without re declare them.
What variable type should I use?
I'm afraid that the above still doesn't make a lot of sense to me.
If you were to show an exact example of what you want to send, it would help.
Do you perhaps mean something like this:-
// This holds 20 characters:-
char myString[10][2] =
{
{'L', '+'},
{'a', '-'},
{'f', '0'},
{'x', '+'},
{'y', '-'},
{'y', '+'},
{'A', '1'},
{'o', 'n'},
{'o', 'f'},
{'n', 'd'}
};
Or this:-
// This holds 30 characters:-
char myString2[10][3] = {"L+", "a-", "f0", "x+", "y-", "y+", "A1", "on", "of", "nd"};
Or something else?
For now I'm 'considering whether I could use Arduino.
I can answer this - yes. 