aaaa

Dependencies:   SeeedStudioTFTv2 TFT_fonts mbed

Fork of Seeed_TFT_Touch_Shield by Bhavik Bhuta

Files at this revision

API Documentation at this revision

Comitter:
uswickra
Date:
Sun Oct 26 16:19:28 2014 +0000
Parent:
11:575dfd388778
Child:
13:331f8235ea72
Commit message:
fixed sms display

Changed in this revision

Modem.h Show annotated file Show diff for this revision Revisions of this file
main.cpp Show annotated file Show diff for this revision Revisions of this file
--- a/Modem.h	Sun Oct 26 08:41:39 2014 +0000
+++ b/Modem.h	Sun Oct 26 16:19:28 2014 +0000
@@ -12,7 +12,7 @@
 };
 
 #define BUF_SIZE 100
-#define SMS_MAX_LENGTH          16
+#define SMS_MAX_LENGTH          300
 class Modem{
 
 public:
--- a/main.cpp	Sun Oct 26 08:41:39 2014 +0000
+++ b/main.cpp	Sun Oct 26 16:19:28 2014 +0000
@@ -745,8 +745,8 @@
             
             start_pos = strstr(gsm.messageBuffer, "+CMT: \"");
             
-            TFT.locate(0,5);
-            TFT.printf("copyBuf %s \r\n",gsm.messageCopyBuffer);
+//            TFT.locate(0,5);
+//            TFT.printf("copyBuf %s \r\n",gsm.messageCopyBuffer);
             
             char txtnum[20];
             cleanBuffer(txtnum,20);