Hi Oliver,

2011/1/16 Oliver Seitz <[email protected]>:
>
> If you're reading only occasionally, do this:
> - start conversion
> - wait some time, depending on selected resolution
> - read value
Indeed. The (start) conversion function has a delay parameter that
could be used for this. Just specify the delay in 10ms steps that is
required for the conversion.
Such buildin delay is usefull for occasional conversions, demo
programs and when timing of your main program is not an issue.

> If you're reading continuously, do this:
> - read value from last conversion
> - start new conversion
> - rely on the main program not to read again before the conversion has 
> finished
Right again. In this case, specify no delay at the conversion so the
procedure returns as soon as it has told the devices to start
conversion. In my setup (in contrast with Vasi's) it is mandatory the
main program assures the conversion time delay.

Joep

-- 
You received this message because you are subscribed to the Google Groups 
"jallib" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to 
[email protected].
For more options, visit this group at 
http://groups.google.com/group/jallib?hl=en.

Reply via email to