Add tools

This commit is contained in:
Volodymyr Shymanskyy
2016-12-01 15:26:48 +02:00
parent 8c741c89c5
commit 0019157eb6
2 changed files with 65 additions and 0 deletions

View File

@@ -0,0 +1,29 @@
/**************************************************************
*
* To run this tool, you need to install StreamDebugger library:
* https://github.com/vshymanskyy/StreamDebugger
*
**************************************************************/
#include <TinyGsmClient.h>
#include <StreamDebugger.h>
StreamDebugger GsmSerial(Serial1, Serial);
GsmClient gsm(GsmSerial);
void setup() {
// Set console baud rate
Serial.begin(115200);
delay(10);
// Set GSM module baud rate
GsmSerial.begin(115200);
delay(3000);
// Return to factory configuration
gsm.factoryDefault();
}
void loop() {
}