Convert baud rate 34800 (Sensor Atlas Scientific) to baud rate 9600 (xbee s1)

hye there…please help me…
i want to send data from sensor that read by arduino uno to zigbee (Xbee)…at hyper terminal, the data had been display by using com arduino. but the problem is i want to get the data from xbee… im used 2 xbee, first is transmitter and second is receiver… the xbee cannot display the data because difference baud rate…

how i want to convert the data baud rate 34800 to 9600?
this is my arduino code… =(

#include <LiquidCrystal.h>

// initialize the library with the numbers of the interface pins
LiquidCrystal lcd(7,8,9,10,11,12);

#include <SoftwareSerial.h>                                                    //add the soft serial libray
#define rxpin 2                                                              //set the RX pin to pin 2
#define txpin 3                                                              //set the TX pin to pin 3


SoftwareSerial myserial(rxpin, txpin);                                         //enable the soft serial port


String inputstring = "";                                                       //a string to hold incoming data from the PC
String sensorstring = "";                                                      //a string to hold the data from the Atlas Scientific product
boolean input_stringcomplete = false;                                          //have we received all the data from the PC
boolean sensor_stringcomplete = false;                                         //have we received all the data from the Atlas Scientific product


  void setup(){                                                                //set up the hardware
     Serial.begin(38400);                                                      //set baud rate for the hardware serial port to 38400
     myserial.begin(38400);                                                    //set baud rate for software serial port to 38400
     inputstring.reserve(5);                                                   //set aside some bytes for receiving data from the PC
     sensorstring.reserve(30);      //set aside some bytes for receiving data from Atlas Scientific product
     lcd.begin(16, 2);
     lcd.print("Ph : ");
   }
 
 
 
   void serialEvent() {                                                         //if the hardware serial port receives a char
               char inchar = (char)Serial.read();                               //get the char we just received
               inputstring += inchar;                                           //add it to the inputString
               if(inchar == '\r') {input_stringcomplete = true;}                //if the incoming character is a <CR>, set the flag
              }  
 
 
 
 void loop(){                                                                   //here we go....
     
  if (input_stringcomplete){                                                   //if a string from the PC has been recived in its entierty 
      myserial.print(inputstring);                                             //send that string to the Atlas Scientific product
      lcd.print(inputstring);                                                  //
      inputstring = "";                                                        //clear the string:
      input_stringcomplete = false;                                            //reset the flage used to tell if we have recived a completed string from the PC
      }
 

  while (myserial.available()) {                                               //while a char is holding in the serial buffer
         char inchar = (char)myserial.read();                                  //get the new char
         sensorstring += inchar;                                               //add it to the sensorString
         if (inchar == '\r') {sensor_stringcomplete = true;}                   //if the incoming character is a <CR>, set the flag
         }


   if (sensor_stringcomplete){                                                 //if a string from the Atlas Scientific product has been received in its entirety
       Serial.print(sensorstring);        //use the hardware serial port to send that data to the PC sensorstring = "";
      lcd.setCursor(0, 1);
      lcd.print(sensorstring);        //print the current status of the pH into the LCD                                                             //clear the string:
       sensorstring = ""; 
       sensor_stringcomplete = false;                                          //reset the flag used to tell if we have received a completed string from the Atlas Scientific product
      }
}

Can you not just reconfigure the XBees to 38400? Sounds the simplest solution.

[You are sometimes saying 34800 and 38400 BTW, the latter is correct]

thanks for reply faster... i really appreciate it. i think like that also, but how i want to change the baud of xbee? that is default right?

i try to change baud rate at xbee by press the reset after push button test, like the instruction tell me… but the xbee still cannot display the value like appear at serial monitor… i attach the display of xbee and serial monitor… the serial monitor in 34800 baud and xbee also in 34800 baud… :drooling_face: :drooling_face: