qemu-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [PATCH v2] hw/sensor: Add lsm303dlhc magnetometer device


From: Kevin Townsend
Subject: Re: [PATCH v2] hw/sensor: Add lsm303dlhc magnetometer device
Date: Mon, 20 Sep 2021 18:49:29 +0200

On Mon, 20 Sept 2021 at 17:14, Peter Maydell <peter.maydell@linaro.org> wrote:
That's OK -- our "int" properties are int64_t. So we could easily
fit something like 10000 == 1.0000 uT, in case we might want
the extra precision in future. That would be 1,000,000 == 1 G
(assuming I haven't messed up my arithmetic ;-))

Is 0.001 uT OK to use as a starting point? I think that's enough for most
sensors I'm aware of.

Kevin

reply via email to

[Prev in Thread] Current Thread [Next in Thread]