Closed 505222621 closed 2 years ago
are you using battery power?
are you using battery power?
no,using USB power
Same problem here...
This is because it constantly starts and stops the GPS and there is a memory leak bug in the GPS.end() function that is fixed with this commit: https://github.com/HelTecAutomation/CubeCell-Arduino/commit/85c0c7542b4496658624e578f45d187c321bc8ad
This is because it constantly starts and stops the GPS and there is a memory leak bug in the GPS.end() function that is fixed with this commit: 85c0c75
yes,GPS.begin -> serial-begin : malloc(buf),no free(buf),change to global variable or serial-end :free(buf)
In case anyone is still having this problem, in PlatformIO the solution is to change the platform in the platformio.ini file. If you choose the Cubecell GPS board when starting a project it will default to "platform = asrmicro650x". This platform is deprecated and must be manually changed to "platform = heltec-cubecell". Once this is done the GPS functionality will work correctly.
Board: CubeCell HTCC-AB02S GPS Example: LoRaWan_OnBoardGPS_Air530 After running for a few minutes in the open field, the code gets stuck in the GPS segment