Re-aligned with vshymanskyy-master

This commit is contained in:
SRGDamia1
2017-09-19 16:32:26 -04:00
21 changed files with 1478 additions and 299 deletions

View File

@@ -10,12 +10,12 @@
// Select your modem:
#define TINY_GSM_MODEM_SIM800
// #define TINY_GSM_MODEM_SIM808
// #define TINY_GSM_MODEM_SIM900
// #define TINY_GSM_MODEM_A6
// #define TINY_GSM_MODEM_A7
// #define TINY_GSM_MODEM_M590
// #define TINY_GSM_MODEM_ESP8266
// #define TINY_GSM_MODEM_XBEE
#include <TinyGsmClient.h>
@@ -38,7 +38,7 @@ TinyGsmClient client(modem);
const char server[] = "cdn.rawgit.com";
const char resource[] = "/vshymanskyy/tinygsm/master/extras/logo.txt";
int port = 80;
const int port = 80;
void setup() {
// Set console baud rate
@@ -54,6 +54,10 @@ void setup() {
Serial.println(F("Initializing modem..."));
modem.restart();
String modemInfo = modem.getModemInfo();
Serial.print("Modem: ");
Serial.println(modemInfo);
// Unlock your SIM card with a PIN
//modem.simUnlock("1234");
}