Update Spy tool

This commit is contained in:
Volodymyr Shymanskyy
2018-03-14 01:40:59 +02:00
parent 618e45d8fd
commit 28cc44280d

View File

@@ -1,7 +1,7 @@
/************************************************************** /**************************************************************
* *
* This script just listens in on the communication between an Arduino and the * This script just listens in on the communication
* modem. * between an Arduino and the modem.
* *
* TinyGSM Getting Started guide: * TinyGSM Getting Started guide:
* http://tiny.cc/tiny-gsm-readme * http://tiny.cc/tiny-gsm-readme
@@ -28,10 +28,11 @@ AltSoftSerial BOARD_TX;
void setup() { void setup() {
// Set console baud rate // Set console baud rate
SPY.begin(57600); SPY.begin(115200);
MODEM_TX.begin(BAUD_RATE); MODEM_TX.begin(BAUD_RATE);
BOARD_TX.begin(BAUD_RATE); BOARD_TX.begin(BAUD_RATE);
delay(5000); delay(1000);
} }
void loop() void loop()
@@ -43,3 +44,4 @@ void loop()
SPY.write(BOARD_TX.read()); SPY.write(BOARD_TX.read());
} }
} }