sensors.setResolution(Sensor1, 12); // set the resolution sensors.setResolution(Sensor2, 12); // set the resolution sensors.setResolution(Sensor3, 12); // set the resolution sensors.setResolution(Sensor4, 12); // set the resolution sensors.setResolution(Sensor5, 12); // set the resolution

I suspect that getAddress gets the address at the given index. Since you've provided the same index in each case, your addresses are being overwritten with the 0th device on the bus. Since you already know the addresses, these calls are superfluous anyway.

Indeed that is the explanation - getAddress re-searches the address space on each call, but skips as many devices as the value ofits second argument - so if you call it with 0 every time it always finds the same device (overwriting the first argument with thediscovered address).

I would comment out all those calls and see what happens.

[ I will NOT respond to personal messages, I WILL delete them, use the forum please ]