Closed FinnAlberts closed 3 years ago
Based on the docs I definitely agree that Serial1
should be used. Looking at the docs I think the issue might be that you aren't writing to the USB port to get serial output displayed in the terminal. Serial.println
goes to Serial5
on the M0. I think you need to change those to SerialUSB.println
. See https://learn.adafruit.com/adafruit-feather-m0-radio-with-lora-radio-module/adapting-sketches-to-m0#serial-vs-serialusb-2677093-4 for more info. You may also have to do a SerialUSB.begin()
but I can't remember if that is necessary or not. Let me know if that works.
Thank you for the quick response. I tried completely reinstalling both Arduino, the boards and the library and for some reason that did the trick. Maybe I was accidentally using an outdated version of the library or something. I'll close this issue as the code is working as expected now.
Glad you got it working @FinnAlberts Happy making!
Hi there,
I'm currently trying to read the GPS-coordinates using the GP20U7, but I don't get any results even after a few minutes. I'm using an Adafruit M0 LoRa. According to https://learn.adafruit.com/adafruit-feather-m0-radio-with-lora-radio-module/pinouts, I should use Serial1 when using RX/0. I also tried Serial and Serial5, but with no luck whatsoever.
The code I'm using:
What am I doing wrong?