DCS_TEAM / GSM_Library

Fork of GSM_Library by Danilo Bustamante

Files at this revision

API Documentation at this revision

Comitter:
es_marble
Date:
Tue Apr 28 03:03:19 2015 +0000
Parent:
30:421aae087064
Commit message:
Updated TIME_CONST to 1 second (this is how often the gsm_tick is called)

Changed in this revision

GSMLibrary.h Show annotated file Show diff for this revision Revisions of this file
--- a/GSMLibrary.h	Sat Apr 25 23:20:30 2015 +0000
+++ b/GSMLibrary.h	Tue Apr 28 03:03:19 2015 +0000
@@ -3,7 +3,7 @@
 
 #include "mbed.h"
 
-#define TIME_CONST 2    //Specify length of each GSM tick (currently 1.8 seconds but we rounded up to 2 to simplify calculations)
+#define TIME_CONST 1    //Specify length of each GSM tick (currently called twice every 2 seconds, so an average of every 1 second)
 #define SECONDS_TIMEOUT 30
 #define SMS_END_CHAR "\x1A"     //Character that must be appended to end of text message before it will be sent
 #define SMS_ESCAPE_CHAR "\x1A"  //Character that can be appended to end of text message to abort sending it