Thanks Matthew.
I actually got it figured out by myself like this:
Code:
if (p33.value<=0.5)
{
return false
}
else
{
return true
}
I see so many different styles of coding for JavaScript on the web, I don't know what is actually required and what is personal preference. Do you know a good resource to learn more?
Anyway if works perfectly. I continue to be amazed at the flexibility and capability of Mango! Now I just need to get my 1-wire network more stable.