Hi Nadir,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
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.