Re:Based on ADC value i am trying to on LED 's and Off LED' s

Tip / Sign in to post questions, reply, level up, and achieve exciting badges. Know more

cross mob
lock attach
Attachments are accessible only for community members.
Not applicable
Hi,I am trying to On/Off LED's Based on ADC Values ,I am using XMC1200 Evolution Board,with potentiometer i am changing the values of ADC.Here is the code please find the attachment,No errors in the code but after debugging it showing following error.Please suggest me how to solve.


Thanks&Regards
Prathibha
0 Likes
2 Replies
Not applicable
Hi Prathibha,

What did you do in the debug mode? Did you place any breakpoint in your code? Are you trying to step thru the API function?
You may try to build a project according to ADC003_Example1 and place the On/Off LEDs inside ChannelEventISR.

BR,
Zain
0 Likes
lock attach
Attachments are accessible only for community members.
Not applicable
Hi Zain,

I am not using any break points in the debug mode ,I am trying with app ADC_001 &NVIC002,IO001 for POT ,These are the app connectivity diagrams,Please find the attachment ,kindly advice how to solve.Please find the attachment.


Thnks&Regards
Prathibha
0 Likes