Thanks for all your help. Based on your answers I added a try & catch on 
the AnalogRead and that traps the error and keeps the code running so I can 
retry the read. I am a C (with some C++) programmer so if I was doing this 
in C I would find the A/D busy flag in a register somewhere and only read 
when not busy. But I am trying to learn something new so I am learning 
BoneScript - for better or worse. Pretty sure I will be programming in C 
soon!

-- 
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