generated from m5stack/M5Template-C-CPP
-
Notifications
You must be signed in to change notification settings - Fork 3
Open
Description
Describe the bug
getSensorData.ino
First, on line 79, 81 and 83, (x,y,z) should be replaced by (mx,my,mz)
Then the code is simply not working for the magnetometer. Values are absurd and Y-axis is stuck at -32768. I tried to debud the code. Y-axis -32768 values appears in src/utilities/BMM150-Sensor-API/bmm150.c line 971. Maybe something going wrong in the I2C aux config.
PS: using a M5Core2
To reproduce
M5core2 + GNSS module
Run getSensorData.ino
Observe magnetic field data
Expected behavior
Expect reasonable mag values around 50µT
Screenshots
Environment
- OS: Windows 11
- IDE &IDE Version: 2.3.4
- Repository Version: 1.0.1
Additional context
No response
Issue checklist
- I searched for previous reports in the issue tracker
- My report contains all necessary details
Metadata
Metadata
Assignees
Labels
No labels