Hi sorry, yeah no I did actually use

b.analogRead('P9_36', printStatus);

although I did write it here as just analogRead('P9_36', printStatus); 

So I don't think that's the issue, although good point.

On Wednesday, March 2, 2016 at 11:07:41 PM UTC-5, Dennis Lee Bieber wrote:
>
> On Wed, 2 Mar 2016 15:06:05 -0800 (PST), Audrey 
> <[email protected] <javascript:>> declaimed the following: 
>
> > 
> >Hi guys, 
> > 
> >So I want to use the function analogRead() with a while loop, like so: 
> > 
> >var b = require('bonescript'); 
> >while (true) { 
> >   analogRead('P9_36', printStatus); 
>
>         Based upon all the examples I've seen, you need to reference the 
> analogRead() IN THE "require" MODULE... 
>
>         b.analogRead(...) 
>
> http://beagleboard.org/Support/BoneScript/analogRead/ 
> -- 
>         Wulfraed                 Dennis Lee Bieber         AF6VN 
>     [email protected] <javascript:>    HTTP://wlfraed.home.netcom.com/ 
>
>

-- 
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].
For more options, visit https://groups.google.com/d/optout.

Reply via email to