can't read&store in global variable in function OR can, but get error reading ds18b20 sensor
From those warning messages, it appears there is a problem with the first index of the rom_code_ds18b20[i][0] array - looks like "number_of_sensors" is not getting set correctly.