
Technical reference
15
© Copyright 2004-2007 Pico Technology Limited. All rights reserved. adc100.en
3.3.13
adc100_get_values
PREF 1 unsigned long PREF2 adc100_get_values (
unsigned short HUGE * buffer_a,
unsigned short HUGE * buffer_b,
unsigned long no_of_values);
This routine reads in a block of values. It collects readings at intervals and from
channels specified in the most recent adc100_set_interval call.
If a key is pressed while collecting, the routine will return immediately. The return
value will be zero if a key was pressed, and the total time in micro-seconds if a block
was successfully collected.
When collecting data from just one channel, the parameter for the other buffer can
either be set to NULL, or pointed at the same buffer.
Comentários a estes Manuais