Usare più sonde DS18B20 (Risolto)

Quindi da quello che ho capito il programma scritto così dovrebbe funzionare:

#include <OneWire.h>
#include <LiquidCrystal.h>
 

const byte PIN_SONDA1 = 2;
const byte PIN_SONDA2 = 3;
const byte PIN_SONDA3 = 4;
 
OneWire ds1(PIN_SONDA1);
OneWire ds2(PIN_SONDA2);
OneWire ds3(PIN_SONDA3);

LiquidCrystal lcd(8,9,4,5,6,7);
 
void setup(void) {
  Serial.begin(9600);
 
  lcd.begin(16, 2);
 
  lcd.setCursor(0,0);
  lcd.print("  DS18B20 LCD  ");

 
  delay( 3000 );
}
 
void loop(void) {
  float 1temperature = ds1.read();
  float 2temperature = ds2.read();
  float 3temperature = ds3.read();
  
  Serial.println(1temperature);
  Serial.println(2temperature);
  Serial.println(3temperature);
 
  lcd.clear(); 
  lcd.setCursor(0,0);
  lcd.print("Temperatura:   ");
  lcd.setCursor(0,1);
  lcd.print(1temperature);
 
  delay(1000); //just here to slow down the output so it is easier to read
 
}