Skip to content

Missing implementation of getTemperature() #27

Open
@simonmicro

Description

@simonmicro

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.

Metadata

Metadata

Assignees

No one assigned

    Labels

    topic: codeRelated to content of the project itselftype: 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