Reading / Printing Dallas OneWire Temperature Sensors (Solved)

PaulS:
use memcpy() to copy the address from one place to another.

That definitely looks as if PaulS has spotted the problem. However, rather than copy the address via a temp variable, I suggest you put the result in the right variable in the first place. The best way to do that is to put your address variables in an array and use the device index as the array index.