OK, I change the "45" to 45, done?
Or do I leave "45" as "45" and use your code to create a new variable, alog, as in alog=toNumber(Analog)
Maybe you could just edit my script like it should be, post it back up here, and maybe I can learn something.
OH, and to the unwashed, it looks to me like analogPIN is what's set to "45", not analog, but perhaps I don't get that either
What I don't get is why PoKeys posted this code on their blog for dopes like me to try to use. I guess to force a learning experience on us, those clever bastards!!!
Thanks for the help!
Tom