waveform in prototype functions? #507
Replies: 5 comments
-
Posted at 2015-11-17 by @gfwilliams Could you post up the contents of As far as I can see, if you get an analog reading less than 0.4 (so 0.4*3.3 = 1.32v) it's going to give you a negative temperature in degrees C. |
Beta Was this translation helpful? Give feedback.
-
Posted at 2015-11-17 by d0773d I added:
output:
|
Beta Was this translation helpful? Give feedback.
-
Posted at 2015-11-17 by d0773d Outside of the prototype function I did, after adding an ifstatement, with success:
|
Beta Was this translation helpful? Give feedback.
-
Posted at 2015-11-17 by @gfwilliams Oh, I just looked again - and you're just creating a Waveform, not doing anything, and then reading back the values. It's not really surprising the array is just full of 0? What about doing what's described on the waveform page, and using the
|
Beta Was this translation helpful? Give feedback.
-
Posted at 2015-11-17 by d0773d Working code:
|
Beta Was this translation helpful? Give feedback.
Uh oh!
There was an error while loading. Please reload this page.
-
Posted at 2015-11-17 by d0773d
I'm receiving negative values when attempting to use this code:
Beta Was this translation helpful? Give feedback.
All reactions