const byte NUMBER_OF_ADRESSES = 8;
const byte ADRESS_BYTE_WIDTH = 8;
byte adresses[NUMBER_OF_ADRESSES][ADRESS_BYTE_WIDTH] = {
{ 1 , 2 , 3 , 4 , 5 , 6 , 7 , 7 },
{ 11 , 12 , 13 , 14 , 15 , 16 , 17 , 17 },
{ 21 , 22 , 23 , 24 , 25 , 26 , 27 , 27 },
{ 31 , 32 , 33 , 34 , 35 , 36 , 37 , 37 },
{ 41 , 42 , 43 , 44 , 45 , 46 , 47 , 47 },
{ 51 , 52 , 53 , 54 , 55 , 56 , 57 , 57 },
{ 61 , 62 , 63 , 64 , 65 , 66 , 67 , 67 },
{ 71 , 72 , 73 , 74 , 75 , 76 , 77 , 77 }
};
void setup(){
Serial.begin(9600);
function( adresses[2] );//use 3rd adress
}
void loop(){
}
void function( byte* firstIndex ){
Serial.println("Printing Adress:");
for (byte i=0; i<ADRESS_BYTE_WIDTH; i++){
Serial.print(*(firstIndex++),DEC);
Serial.print(" ");
}
Serial.println();
}