DCS_TEAM / GSM_PUSHING_BOX_STATE_MACHINE

Fork of GSM_Library by DCS_TEAM

Revision:
31:a1e9fd23eb6a
Parent:
29:bc5f53f2922a
Child:
32:424896b5adbe
diff -r 421aae087064 -r a1e9fd23eb6a GSMLibrary.h
--- 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