This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#include <SoftwareSerial.h> | |
#define DEBUG true | |
SoftwareSerial mySerial(10,11 );// RX, TX | |
String data[5]; | |
String state,timegps,latitude,longitude; | |
String Operator,Balance; | |
String Phone = "0912xxxxxxx"; | |
String sendData (String command , const int timeout ,boolean debug) | |
{ |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
const unsigned char shmtable[6][12]={ | |
{11,10,10,9,9,9,8,9,9,10,11,9}, | |
{20,20,21,21,22,22,22,22,21,21,20,19}, | |
{11,10,10,9,9,9,8,9,9,10,11,10}, | |
{20,20,21,21,22,22,22,22,21,21,20,19}, | |
{12,11,11,10,10,10,9,10,10,11,12,10}, | |
{19,19,20,20,21,21,21,21,20,20,19,18}}; | |
const unsigned char miltable[6][12]={ | |
{20,19,19,19,20,20,21,21,21,21,20,20}, |