Software Serial using <SoftwareSerial.h>

#include <SoftwareSerial.h>

SoftwareSerial mySerial(10, 11); // RX, TX

void setup()
{
// Open serial communications and wait for port to open:
Serial.begin(9600);

Serial.println("Goodnight moon!");

// set the data rate for the SoftwareSerial port
mySerial.begin(9600);
mySerial.println("Hello, world?");
}

void loop() // run over and over
{
if (mySerial.available())
Serial.write(mySerial.read());
if (Serial.available())
mySerial.write(mySerial.read());

}

This is the code that I used.I use serial monitoring in my my phone Bluestick.Firstly I run the code;Serial function do work but Software serial function does not.So,I try the to adjust the buad rate for that from PC serial monitor to Phone SOtware serial monitor.