From b8f802901e5b7f1018d7427e71ed73681aa5f4c3 Mon Sep 17 00:00:00 2001 From: Sara Damiano Date: Wed, 17 Jul 2019 13:41:08 -0400 Subject: [PATCH] Removed custom pin numbers --- examples/AllFunctions/AllFunctions.ino | 7 ++----- examples/HttpClient/HttpClient.ino | 7 ++----- examples/HttpsClient/HttpsClient.ino | 7 ++----- examples/MqttClient/MqttClient.ino | 9 +++------ examples/WebClient/WebClient.ino | 9 +++------ 5 files changed, 12 insertions(+), 27 deletions(-) diff --git a/examples/AllFunctions/AllFunctions.ino b/examples/AllFunctions/AllFunctions.ino index 45b18a0..9116ce4 100644 --- a/examples/AllFunctions/AllFunctions.ino +++ b/examples/AllFunctions/AllFunctions.ino @@ -92,12 +92,9 @@ void setup() { SerialMon.begin(115200); delay(10); + // !!!!!!!!!!! // Set your reset, enable, power pins here - pinMode(20, OUTPUT); - digitalWrite(20, HIGH); - - pinMode(23, OUTPUT); - digitalWrite(23, HIGH); + // !!!!!!!!!!! DBG("Wait..."); diff --git a/examples/HttpClient/HttpClient.ino b/examples/HttpClient/HttpClient.ino index c2dc86d..e214303 100644 --- a/examples/HttpClient/HttpClient.ino +++ b/examples/HttpClient/HttpClient.ino @@ -103,12 +103,9 @@ void setup() { SerialMon.begin(115200); delay(10); + // !!!!!!!!!!! // Set your reset, enable, power pins here - pinMode(20, OUTPUT); - digitalWrite(20, HIGH); - - pinMode(23, OUTPUT); - digitalWrite(23, HIGH); + // !!!!!!!!!!! SerialMon.println("Wait..."); diff --git a/examples/HttpsClient/HttpsClient.ino b/examples/HttpsClient/HttpsClient.ino index dde667f..d7c6da2 100644 --- a/examples/HttpsClient/HttpsClient.ino +++ b/examples/HttpsClient/HttpsClient.ino @@ -96,12 +96,9 @@ void setup() { SerialMon.begin(115200); delay(10); + // !!!!!!!!!!! // Set your reset, enable, power pins here - pinMode(20, OUTPUT); - digitalWrite(20, HIGH); - - pinMode(23, OUTPUT); - digitalWrite(23, HIGH); + // !!!!!!!!!!! SerialMon.println("Wait..."); diff --git a/examples/MqttClient/MqttClient.ino b/examples/MqttClient/MqttClient.ino index 7caf66c..b2aa5b5 100644 --- a/examples/MqttClient/MqttClient.ino +++ b/examples/MqttClient/MqttClient.ino @@ -115,14 +115,11 @@ void setup() { SerialMon.begin(115200); delay(10); - // Set your reset, enable, power pins here pinMode(LED_PIN, OUTPUT); - pinMode(20, OUTPUT); - digitalWrite(20, HIGH); - - pinMode(23, OUTPUT); - digitalWrite(23, LOW); + // !!!!!!!!!!! + // Set your reset, enable, power pins here + // !!!!!!!!!!! SerialMon.println("Wait..."); diff --git a/examples/WebClient/WebClient.ino b/examples/WebClient/WebClient.ino index aea053e..3436d3b 100644 --- a/examples/WebClient/WebClient.ino +++ b/examples/WebClient/WebClient.ino @@ -99,14 +99,11 @@ const char resource[] = "/TinyGSM/logo.txt"; void setup() { // Set console baud rate SerialMon.begin(115200); - delay(10); + delay(10); + // !!!!!!!!!!! // Set your reset, enable, power pins here - pinMode(20, OUTPUT); - digitalWrite(20, HIGH); - - pinMode(23, OUTPUT); - digitalWrite(23, HIGH); + // !!!!!!!!!!! SerialMon.println("Wait...");