Skip to content

_ve data values #4

@mcalisterkm

Description

@mcalisterkm

I am on a 64bit linux platform with hardware floating point and getting -ve values for both pressure and humidity, from a BME688 sensor.
I thought this was an unsigned to signed conversion error but it is not, this value is calculated and inside calc_humidity()
The hum_adc value is around 23232 and hoff is -27008 and the float cast returns -4.065e-19.
I have yet to debug pressure but I am getting the same -ve values.

Keith

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions