[Gta04-owner] Which distri

Christ van Willegen cvwillegen at gmail.com
Tue Sep 22 08:42:49 CEST 2015


Hi Lukas,

On Mon, Sep 21, 2015 at 10:27 PM, Lukas Maerdian <luk at slyon.de> wrote:
> I've integrated the air pressure sensor into Replicant just recently:
> http://git.goldelico.com/?p=gta04-replicant-device.git;a=commit;h=47ca3dceb0a9f2d4106faad429a9e41f9dfd5a27

Nice work!

I took a look, in bmp085.c it says:

 171 float bmp085_convert(int value)
 172 {
 173         return value / 100.0f; //we need hPa, BMP085 delivers Pa
 174 }

It looks like (since you divide by 100.f...) that the reading is in
hPa (SI prefix h == 10^2) and you convert to Pa. Or do I read the
comment wrong?

> But there is not yet a binary/tar image, ready to install, which
> contains this version of the sensors HAL.

/me keeps fingers crossed that Replicant is rapidly becoming mature on GTA04...

Christ van Willegen
-- 
09 F9 11 02 9D 74 E3 5B D8 41 56 C5 63 56 88 C0


More information about the Gta04-owner mailing list