I'm kind of new to c++ and my question might have a pretty easy solution, but I couldn't figure it out by myself.
Let's say I have two byte arrays a and b. Each of them contains six bytes. Now I want to introduce a new array c which should contain a and b.
This is how I tried it:
byte a[] = {B11111111, B10010000, B10011000, B10010100, B10010010, B11110001};
byte b[] = {B11111111, B10000001, B10000001, B10000001, B10000001, B11111111};
byte c[2][6] = {{a},{b}};
The compiler gives me the following error:
invalid conversion from 'byte' to 'byte'