Fix tools
This commit is contained in:
@@ -12,8 +12,15 @@
|
||||
#include <TinyGsmClient.h>
|
||||
#include <StreamDebugger.h>
|
||||
|
||||
StreamDebugger GsmSerial(Serial1, Serial);
|
||||
GsmClient gsm(GsmSerial);
|
||||
// Use Hardware Serial on Mega, Leonardo, Micro
|
||||
#define GsmSerial Serial1
|
||||
|
||||
// or Software Serial on Uno, Nano
|
||||
//#include <SoftwareSerial.h>
|
||||
//SoftwareSerial GsmSerial(2, 3); // RX, TX
|
||||
|
||||
StreamDebugger DebugSerial(GsmSerial, Serial);
|
||||
TinyGsmClient gsm(DebugSerial);
|
||||
|
||||
void setup() {
|
||||
// Set console baud rate
|
||||
|
Reference in New Issue
Block a user