Confusion with Char, string, String

Hello every body
I'm trying to send data to another arduino via Serial

Transmitter Arduino:

 mySerial.println("Hello");
    delay(200);

Receiver Arduino:

  while (mySerial.available() > 1) { //Read from the Transmitter Arduino and send to serial monitor
    Serial.println(mySerial.readString());

but this is very slow (3000ms~)
i tried different approaches, but confused, should i use char or char [num] or String
Should i use Serial.write, or Serial.println

I'm trying to send sensor values, temperature, text, time, humidity, and maybe more.

(deleted)

Show your full code.

How have you setup the hardware? You will also need to provide some details on that.

my code is not complete yet
here it is for the transmitter side

#include <SoftwareSerial.h>
SoftwareSerial mySerial(2, 3);

float temp=25.3;
float humidity=31.2;
float Time;
String hello="Hello";
void setup()
{
  mySerial.begin(9600);
  Serial.begin(9600);
}
void loop() {

  mySerial.println("Hello"); //still to add humidity, temp, and other values, just for testing
  delay(200);

}

this is my receiver code

#include <SoftwareSerial.h>
SoftwareSerial mySerial(2, 3);

void setup() {

  pinMode(2, INPUT);
  pinMode(3, OUTPUT);
  Serial.begin(9600);
  mySerial.begin(9600);
  pinMode(8, OUTPUT);
}

void loop() {
  

  while (mySerial.available() > 1) {
    Serial.println(mySerial.readString());

}

A receiver that sends and a transmitter that receives is not a good start.

i'll edit my code and return later maybe
thank you

Have a look at the examples in Serial Input Basics - simple reliable ways to receive data.

...R

What are

chocolate tea-pots

?

TKall:
What are ?

Imagine putting boiling water into one :wink:

...R

Is that a regional colloquialism?

TKall:
Is that a regional colloquialism?

Perhaps it is more common in Britain and Ireland where tea is a staple diet.

Just as a matter of linguistic curiosity, would it have made immediate sense to you if it had been written as "chocolate coffee pot" ?

...R

PS... the chocolate teapot's alter ego is the lead balloon :slight_smile:

Or the screen door on the submarine.

Tea or coffee. No difference.

I was reading about British vernacular in the Independent recently, they missed the chocolate tea pot.