Hello,

I have another set of software that I picked up along the way, i.e. 
probably from that book, "Evil Genuis," series from Mr. Rush. Anyway, here 
goes it. Oh but first, I know people are getting tired of seeing the same 
ole, same ole. This does not discourage me from posting.

*var b = require('bonescript');*

*var inputPin = "P9_40";*

*getBeagleTemp();*

*function getBeagleTemp() {*
*    var value = b.analogRead("P9_40");*

*    var millivolts = value * 1800;*
*    var x = (millivolts - 500)/10;*
*    var z = (x * 9/5) - 32;*
*    setTimeout(getBeagleTemp, 10000);*

*    console.log("x=" + x + "\tz=" + z);*
*}*

Now,

I tried this software some and changed it a bit to suit my needs. As you 
all know, I am not 100% legit in the programming field, i.e. even though I 
try. 

I am getting temperatures in the Fahrenheit of 201 and in Celsius of 129. 
This is not my temp. in the house. 

Seth

P.S. If anyone has any other recommendations, please let me know. Please 
let me know what you think. 

-- 
For more options, visit http://beagleboard.org/discuss
--- 
You received this message because you are subscribed to the Google Groups 
"BeagleBoard" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To view this discussion on the web visit 
https://groups.google.com/d/msgid/beagleboard/9a78cb59-f9a9-41bd-9e5a-5ffe105f9ddc%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to