On Fri, Jun 30, 2017 at 8:33 PM, Mala Dies <[email protected]> wrote:

> Mr. Rob,
>
> Why would I use the value 4096.0?
>
> Seth
>
> P.S. I have tried to suit the software to suit my needs and I keep coming
> up empty. I will try this value and I will get back to you.
>

Do you know anything about the hardware you're trying to use ? the onboard
ADC's report a value of 0-4095(4096 total ) depending on how much voltage
they're seeing at the pins. 1.8 would be fore the absolute maximum value in
voltage the ADC can read before failure. The reason why 4096.0 was probably
mentioned is that would indicate a float value, which strickly speaking is
not really necessary in Javascript. But in C, sometimes, it's necessary.

-- 
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/CALHSORqcRX2RxZn%3Dxk_DDP06H%3Dk3gK9ub5swTWA4rwu0nvUmOA%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to