Inserting Start bit and Stop Bit in a serial communicatiom

surajveer37:
I have provided my code so as its output and all the module details !

What code? This?

void setup()
{
  Serial.begin(9600);
  Serial1.begin(9600);
  pinMode(13, OUTPUT);
}

void loop()
{
  if(Serial1.available())
  {
    char a=Serial1.read();
    if(a=='A')
    {
      digitalWrite(13, HIGH);
    }
   
    if(a=='a')
    {
      digitalWrite(13, LOW);
    }
    Serial.print(a);
   
  }
 
  if(Serial.available())
  {
    char a=Serial.read();
    Serial1.print(a);
  }
}

So just help me out with this! Tell me in simple words what needs to be done now?

I'm moving this to Gigs and Collaborations. There is nothing in that code about power lines.