Hi! I tried to connect GPRS Shield from Arduino to msp430g2553 with SoftwareSerial library. But I faced with the problem. When the size of sketch exceeds 5590 bytes, global variables do not work. I just add one variable (global string) and the program stops executed correctly.
Here is the code:
/*
When new serial data arrives, this sketch adds it to a String.
When a '!' character is received, the loop prints the string "Hello world!"
*/
#include <SoftwareSerial.h>
SoftwareSerial mySerial(P2_0, P1_5);
String inputString = ""; // a string to hold incoming data
boolean st