did you mean something like this... (I don't know much about object oriented programming....)?
struct Sensor
{
byte index;
uint8_t deviceAddress[8];
float tempReading;
byte resolution;
int highAlarm;
};
Sensor sensorINL1, sensorINL2, sensorINL3, sensorOUTL1, sensorOUTL2, sensorOUTL3, sensorAmbient; // declaration
sensorINL1.index = 0;
sensorINL1.deviceAddress = { 0x28, 0xC4, 0xEF, 0xC2, 0x03, 0x00, 0x00, 0x32 };
DeviceAddress sensorINL1.deviceAddress ;
sensorINL2.index = 1;
sensorINL2.deviceAddress = { 0x28, 0xAC, 0xF5, 0xC2, 0x03, 0x00, 0x00, 0x91 };
DeviceAddress sensorINL2.deviceAddress ;
etc......
...later on I can use all these created data members in the program, correct?
I still have to try it out but maybe some additional info would be already very helpful.
thx