If the toast does appear, this has nothing to do with the rest of the code.
IOIOSimpleApp does about the same as your code (reads from pin 40 instead
of 41). Better try that one first.


On Mon, Apr 7, 2014 at 6:30 AM, Marius Vosylius
<[email protected]>wrote:

> AI B, can you please share with your code, just want to see what I'm doing
> wrong. Thanks.
>
>
> On Saturday, August 3, 2013 8:06:35 AM UTC+1, Al B wrote:
>>
>> Has anyone used the Humidity Sensor (HIH-4030) with the IOIO?
>>
>>  I'm trying to reproduce the Bildr example (http://bildr.org/2012/11/
>> hih4030-arduino/), but I keep just getting the same -25.6 as the
>> humidity value all the time.
>>
>> float HIH4030_voltage = HIH4030_input.getVoltage() * supplyVolt / 1023;
>> float sensorRH = ((HIH4030_voltage - zeroOffset) / slope);
>> float humidity = sensorRH / (1.0546f - (0.00216f * degreesCelsius));
>>
>> https://www.sparkfun.com/datasheets/Sensors/Weather/
>> SEN-09569-HIH-4030-datasheet.pdf
>>
>> TIA!
>>
>  --
> You received this message because you are subscribed to the Google Groups
> "ioio-users" group.
> To unsubscribe from this group and stop receiving emails from it, send an
> email to [email protected].
> To post to this group, send email to [email protected].
> Visit this group at http://groups.google.com/group/ioio-users.
> For more options, visit https://groups.google.com/d/optout.
>

-- 
You received this message because you are subscribed to the Google Groups 
"ioio-users" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To post to this group, send email to [email protected].
Visit this group at http://groups.google.com/group/ioio-users.
For more options, visit https://groups.google.com/d/optout.

Reply via email to