This discussion has been locked.
You can no longer post new replies to this discussion. If you have a question you can start a new discussion

How to update variable's value simultaneously on Keil u4 ?

Hi all,

I am using ADC on my project so want to observe adc value simultaneously in real-time.When i stopped the execution i can see the value in watch window but i have to run and stop everytime to see its changing.How can i observe this value simultaneously ? I've checked the periodic window update is already enabled.

  • If 'Periodic Window Update' is enabled, you should see the changing ADC value in the system viewer window or in the watch window.
    If your application copies the ADC result into a global variable, you could also put this variable into the uVision 'Logic Analyzer' to view it in a diagram. Trace needs to be enabled for this.