#include SoftwareSerial ser (10,9); // rx, RX ; String data; void setup() { // put your setup code here, to run once: Serial.begin(9600); // ser.begin(9600); } void loop() { // put your main code here, to run repeatedly: if(Serial.available()){ data=Serial.readStringUntil('\n'); Serial.println(data); ser.println(data); Serial.println("Order Sent"); } }