Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Missing implementation of getTemperature() #27

Open
simonmicro opened this issue Aug 18, 2023 · 1 comment · Fixed by #28
Open

Missing implementation of getTemperature() #27

simonmicro opened this issue Aug 18, 2023 · 1 comment · Fixed by #28
Labels
topic: code Related to content of the project itself type: imperfection Perceived defect in any part of project

Comments

@simonmicro
Copy link

simonmicro commented Aug 18, 2023

The library declares a BoschSensorClass::getTemperature() function:

float getTemperature();

But if you try to use it:

#include <Arduino_BMI270_BMM150.h>
void setup() {
  IMU.getTemperature();
}
void loop() {}

compilation fails due to the declared function not being implemented:

C:\Users\per\AppData\Local\Temp\.arduinoIDE-unsaved2023718-18988-8022i1.jjmfp\sketch_aug18a/sketch_aug18a.ino:3: undefined reference to `BoschSensorClass::getTemperature()'

I see from its datasheet that the sensor does support temperature readings.

@per1234 per1234 added type: imperfection Perceived defect in any part of project topic: code Related to content of the project itself labels Aug 19, 2023
@per1234 per1234 added the conclusion: resolved Issue was resolved label Sep 6, 2023
@aentinger
Copy link
Contributor

Reopening, see #28 (comment) .

@aentinger aentinger reopened this Sep 7, 2023
@per1234 per1234 removed the conclusion: resolved Issue was resolved label Sep 7, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
topic: code Related to content of the project itself type: imperfection Perceived defect in any part of project
Projects
None yet
3 participants