Skip to content

GPS.begin() works only with serial port connected #25

@kekko7072

Description

@kekko7072

Hey I am currently working on a tracking device with LiPo battery and BLE, I fount that if the device is not booted using the USB connected as serial port the GPS shield attacked to a Arduino MKR 1010 Wifi will not work. After hours of debugging I found that the problem was created by GPS.begin() , but if I use it as shield it won't crash:

if (!GPS.begin(GPS_MODE_SHIELD)) {
      Serial.println("Failed to initialize GPS!");
    while (1)
      ;
  }

Any ideas?

Metadata

Metadata

Assignees

Labels

type: imperfectionPerceived defect in any part of project

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions