Quantcast
Channel: Infineon Forums
Viewing all articles
Browse latest Browse all 9892

XMC4500 ADC Result Variable

$
0
0
I am new to Dave and Micro controllers, so forgive me if this is a dumb question. I am working with Dave3 (I know its not up to date but it is necessary for my project) and I am attempting to store an ADC value converted from an external
potentiometer into a variable such as "ADC_Result" in the MCU's C code. I have been working with the examples written by infineon, however they all seem to store the results in a variable that can only be accessed via the debug mode, and I need my variable to be accessible dynamically within the code, such that it may be used to change the frequency of an LED for example.

Let me know if you need screenshots of the code or APPs setup.

Thanks

Viewing all articles
Browse latest Browse all 9892

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>