Im having the same issue. I can send from the arduino to screen. But the HMI doesn’t seem to send to the arduino. below is the code i used.
void setup() {
Serial.begin(115200);
}
// the loop routine runs over and over again forever:
void loop() {
if (Serial.available()){
int data = Serial.read();
Serial.write(data);
}
}