I'm trying to solve some problems for a contest, and I have a problem with it. I have to implement a function that has 3 arguments like this:
void foo(unsigned char* A, unsigned char* B, unsigned char* C);
And what comes in, is 6 bytes of data. I have to convert these 6 bytes of data to integer data (maybe long long). The problem is, I don't know how to map the bytes in the right order.
I'm using an Arduino Uno board.
Please help me with it.
char
arrays from the functions parameters? – chrisl Jul 10 '18 at 7:06long long
and fill the bytes from the arrays into this variable. Is this correct? – chrisl Jul 10 '18 at 10:10