Delta_G:
That's an issue on another line. If you want help understanding how a 2D array works then you've got it.
i see - okay, it's a matter of still fully grasping pointers then.
(the Arduino Reference page on pointers is rather sparse, i'll have to look elsewhere to try and get it under my belt.)
Delta_G:
...It looks like you tried to pass one of those int pointers directly to print,
yes, that was actually the whole code - i was just trying to keep it simple;
Delta_G:
but print doesn't take a pointer to int as an argument.
so i guess that's not possible.
Delta_G:
You have to dereference the pointer when you pass it to print. I can't show you what that looks like in your code because you aren't sharing your code.
so code2send
is now a pointer, and to dereference it i'd use a '&' right ?
is it possible to manipulate that so that i can println
it ?
i tried
Serial.println(&code2send);
but now the error is;
" cannot convert 'int*' to 'int**' in initialization "
what i need, is to understand the initialization syntax properly;
what is the difference between;
int remoteALLNUM[6][78] = {400.... ..... .....
and;
int remoteALLNUM[] = {400.... ..... .....
the latter won't throw any error, but of course it's not giving the data that i expect.