When I tried to comment the BTSerial, The GSM is working,
but when I uncomment it, It's not working.
#include <SoftwareSerial.h>
#include <LiquidCrystal.h>
SoftwareSerial mySerial(7,8);
SoftwareSerial BTSerial(10, 11);
const int rs = 13, en = 12, d4 = 2, d5 = 3, d6 = 4, d7 = 5;
LiquidCrystal lcd(rs, en, d4, d5, d6, d7);
String wattsVal="100";
String balanceVal="101";
long interval = 0;
long previousMillis = 1000;
int incomingByte;
int myDec[10] = {79,78,70};
String myLetter[10] = {"O","N","F"};
String myCommand;
void setup()
{
mySerial.begin(9600); // Setting the baud rate of GSM Module
Serial.begin(9600); // Setting the baud rate of Serial Monitor (Arduino)
BTSerial.begin(38400);
lcd.begin(16, 2);
lcd.print("WATTS: 100");
lcd.setCursor(0,1);
lcd.print("BALAN: 100");
delay(100);
}