Author Topic: Variables Signed/Unsigned and such  (Read 317 times)

Nick_W

  • Full Member
  • ***
  • Posts: 215
    • View Profile
Re: Variables Signed/Unsigned and such
« on: July 28, 2016, 02:06:41 pm »
Thank you!  ;D

I was aware of the 32 bit compensation function, and I implemented this. Nice to know 64 integers will be supported in the future.

I will compare your implementation with mine - I'm sure I will learn a lot.

I guess I'm just not used to dealing with all integers. I did the same thing as you and just converted all the calibration values to Integers.

This sensor is nice because the standby current (and active current for that matter) is so low, it makes a nice battery powered environmental sensor.

I'm reading temperature and humidity fine at the moment, but pressure is giving me weird results - probably due to the complicated maths, which I no doubt have wrong somewhere.

I'll let you know how it goes.

Thanks again.
Like Like x 1 View List