SMS and Bluetooth-Based LED Matrix Display

Need help with my project!

it’s already working separately, but when i attach both of them, the only one working is the Bluetooth, i can’t receive any SMS… :~

Please i really need help…

here’s my whole code

#include <sms.h>        
#include <SIM900.h>
#include <SoftwareSerial.h>

SMSGSM sms;

SoftwareSerial mySerial(12,13);

char smsbuffer[160];
char n[20];

void setup(){
  gsm.begin(4800);
  Serial.begin(9600);
  mySerial.begin(9600);
  Serial.print("\nGSM Ready");
}

void loop()
{
  Serial.println("\nWaiting for messages\n");
  
  if(gsm.readSMS(smsbuffer, 160, n, 20))
    {
      Serial.println(n);
      Serial.println(smsbuffer);
    }
    delay(1000);
  
  String readString;
  char test[80];
    
  while (mySerial.available()!=0)
  {
    delay(10);  //small delay to allow input buffer to fill

    char c = mySerial.read();  //gets one byte from serial buffer
    if (c == ',')
    {
      break;
    }  //breaks out of capture loop to print readstring
    readString += c; 
  } //makes the string readString  

  if (readString.length() >0)
  {
    readString.toCharArray(test, 80);
    mySerial.println(test); //prints string to serial port out
    Serial.println(test);
    
    readString=""; //clears variable for new input
  }
}

Thanks anyway.. i already fixed it.. :stuck_out_tongue: