Up to now, I have understood that a value read by a sensor must be converted
using a formula.
So, when I read data, I have a uint16 value.
This value must be converted with a formula (depending on the kind of data).
Is it correct???
Thanks
2007/10/9, Roberto <[EMAIL PROTECTED]>:
>
> hi all,
>
The ADCs in the micaz produce 10 linear bits which are stuffed
into a u_int16, where (pretty much) 0x000 is 0 volts at the
sensor input and 0x3FF is the battery voltage (which is used
as the conversion reference). Note that, without external
level shift hardware, there is no concept of a negative
g things too complicated? And is this done automatically?
Someone please correct me if I'm wrong.
Regards,
Kurt
Original Message Follows
From: Michael Schippling <[EMAIL PROTECTED]>
To: Roberto <[EMAIL PROTECTED]>
CC: TinyOS-Help
Subject: Re: [Tinyos-help] Re: Sending flo
s.
Am I making things too complicated? And is this done automatically?
Someone please correct me if I'm wrong.
Regards,
Kurt
Original Message Follows
From: Michael Schippling <[EMAIL PROTECTED]>
To: Roberto <[EMAIL PROTECTED]>
CC: TinyOS-Help
Subject: Re: [Tinyos-hel