How to display data every 10 seconds?

universal function for receiving detailed support:

void PostingYourCode() {
  for (int LineOfCode = VeryFirstLine;  LineOfCode <= VeryLastLine; LineOfCode++) {
  Serial.println(myCode[LineOfCode] );
  }
}

maybe you prefer this method

There is an automatic function for doing this in the Arduino-IDE
just three steps

  1. press Ctrl-T for autoformatting your code
  2. do a rightclick with the mouse and choose "copy for forum"
  3. paste clipboard into write-window of a posting

Maybe I'm underestimating your capabilities by far.
in the other two threads after posting three or four lines you were able to solve the problems yourself. So I guess in this case it will be the same.

best regards Stefan