Home › Forums › Mayfly Data Logger › Trouble initializing XBee3 LTE-M › Reply To: Trouble initializing XBee3 LTE-M
2018-11-27 at 6:46 PM
#12658
My first guess would be that you put it to sleep and it won’t wake up.
Can run a really simple script just to hold the pins to wake it up and allow you to type in commands from your serial port monitor?
C++
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 |
#include <Arduino.h> #include <StreamDebugger.h> StreamDebugger StreamDbg(Serial1, Serial); void setup(){ Serial.begin(115200); delay(50); Serial1.begin(9600); delay(50); pinMode(23, OUTPUT); digitalWrite(23, LOW); pinMode(19, INPUT); delay(1500); StreamDbg.print("+++"); } void loop() { // Start direct-access from Serial to Serial1 StreamDbg.directAccess(); } |