Write to two screens

I was starting to get writing to 2 different screens. Every screen hat two text blocks.
Is it posible to write direct to the screens? With he code I have include it is not working

void loop() {
  nextion.print("page0.t0.txt=\""); 
  nextion.print(String(teller));
  nextion.print("\"");
  nextion.write(0xFF);
  nextion.write(0xFF);
  nextion.write(0xFF);
  nextion.print("page1.t1.txt=\""); 
  nextion.print(String(teller*10));
  nextion.print("\"");
  nextion.write(0xFF);
  nextion.write(0xFF);
  nextion.write(0xFF);
  teller += 1;
  delay(100);
}

Your code suggests 2 pages not 2 screens.
If that is true then ensure your text boxes ‘vscope’ attributes are “global”. You might also have to make each page “global”

Thanks Bob, it is now working :wink: