AnsweredAssumed Answered

Problems with adc multiple channels using processor expert

Question asked by Maikon Perin on Aug 28, 2015
Latest reply on Aug 30, 2015 by Alice_Yang

I'm using kl46z and kinetis design studio to measure two adc channels but it's not working. I just added 2 channels on the processor expert.

I'm using the code below.

 

static uint8_t value[AD1_CHANNEL_COUNT];

(void)AD1_Measure(TRUE);

 

   AD1_GetValue8(&value[0]);

   AD1_GetValue8(&value[1]);

 

Can someone help me? Thanks.

Outcomes