Sam Pearce

DSP56F807 : A/D getting started

Discussion created by Sam Pearce on Sep 13, 2006
Latest reply on Sep 15, 2006 by Processor Expert
I apologize in advance for such an elementary question. I can't get the ADC on a DSP56F807 to record a measurment. The following is the code (related to the ADC) I am using. The variable "value" does not change after the AD1 code is executed. Is there something additional that I need to add to my code?

float value;

void main(void)


AD1_MeasureChan(TRUE, 0);

AD1_GetChanValue(0, &value);

Also, if there are any examples of using ADC with the ADC bean I would greatly appreciate a link.



Message Edited by CrasyCat on 2007-04-13 02:17 PM