2025-09-02 9:03 AM - last edited on 2025-09-02 9:34 AM by Andrew Neil
I am trying to read GNSS data using B-L072Z-LRWAN1 and GPS module. I installed FP-ATR-LORA1 and
wrote the project to my B-L072Z-LRWAN1 and viewed it with Teraterm, the following error message appeared.
"Accelerometer NOT initialized"
I don't use an accelerometer. I just want to use GPS module. How can I rewrite the code to prevent the above error message from appearing?
2025-09-02 9:32 AM - edited 2025-09-02 9:50 AM
Search the source code for the text "Accelerometer NOT initialized" - most likely, that will appear at the point where it tries to initialise the accelerometer.
Disable that.
You will also have to disable where it attempts to read the accelerometer.
PS:
Or perhaps it might be simpler to just use X-CUBE-GNSS1 and I-CUBE-LRWAN ?