BMP180 Temperature Sensor mikroC

General discussion on mikroC PRO for PIC.
Author
Message
nigelmercier
Posts: 316
Joined: 23 Oct 2008 09:36

Re: BMP180 Temperature Sensor mikroC

#16 Post by nigelmercier » 27 Sep 2016 22:08

nadir.celebic wrote:Hi,

There is a chance that the example project from LibStock has errors,
because it is not official MikroElektronika example project,
and therefore we can't provide detailed help for the code itself.

But your problem is in the calculation.
You can set Pa, hPa or mbar.
1 mbar = 1 hPa = 100 Pa

Regards,
Nadir
Hi Nadir,

It's a pity you don't have official code for the BMP180, as it features in your 10DOF device.

Yes, I know how to convert, but my point is that the Bosch code doesn't produce the expected number of digits. This is possibly due to the PIC not being able to deal with 64-bit numbers.

Post Reply

Return to “mikroC PRO for PIC General”