ADc_count

Post general discussions on using our drivers to write your own software here
Post Reply
me

ADc_count

Post by me »

if I want to put a threshold of 30mV into the "adc_set_trigger" func
,how should I scale it with the ADC count?
and can you explain me how to use the adc200_set_timebase func in a more detailed way than in the help file?

Michael
Advanced User
Advanced User
Posts: 656
Joined: Thu Jul 07, 2005 12:41 pm
Location: St Neots, Cambridgeshire

Post by Michael »

Hello,

The set trigger function will work to the settings of the active channel chosen as the trigger source. So ChA set at ±20v will set the ADC count on the set trigger function to ±20v.

THe set timebase function only asks for one variable from you. YOu will need to declare the sample time as a pointer and check the return when you call the function. The timebase variable will be from 0-19 which starts with the fastest sampling rate which the divides by powers of 2.

Best regards,
Michael
Michael - Tech Support
Pico Technology
Web Support Forum

Post Reply