If the addresses are consecutive then there would be no need for an array.
If they are not consecutive then you can create an array with the addresses like this
int addrArray[40] = {0x05A, 0x82, etc, etc, etc};
...R
If the addresses are consecutive then there would be no need for an array.
If they are not consecutive then you can create an array with the addresses like this
int addrArray[40] = {0x05A, 0x82, etc, etc, etc};
...R