VS Arduino
Visual Micro >> Usb/Serial/WiFi Debugging >> Can't get Report Digitals to work
https://www.visualmicro.com/forums/YaBB.pl?num=1655830945

Message started by Tom Costanza on Jun 21st, 2022 at 5:02pm

Title: Can't get Report Digitals to work
Post by Tom Costanza on Jun 21st, 2022 at 5:02pm
The only way I can see the digital pins change is if I use a breakpoint/tracepoint and log {@ReportDigital}.  I'd like to, and think it's possible to, have a periodic output of the digital pin states.  I have them enabled both in the Project Properties window and in the vMicro/Debugger menu.  I've tried different Report Frequency numbers, from 150 ms to 1 sec.  Can someone tell me each and every option I need to set to make this happen.  Or alternately, that I'm trying to do something I can't do (so I can give up).

I'm using VS-2017.  The board is an Arduino R3.  I don't know and can't find the version of vMicro.

Thanks and stay healthy,
-Tom

Title: Re: Can't get Report Digitals to work
Post by Simon@Visual Micro on Jun 21st, 2022 at 5:17pm
The digital reports are output once per iteration of the loop() code.

If you enable the vMicro > Debugger > Monitor Digital Pins (All Breaks) this will essentially add the {@ReportDigital} into every break/trace you have set in your sketch.

If there is no place in your code where you pass it in the time period you need from the above options where you can place a trace point then this is not simple to configure, unless of course you can add enough tracepoints to do this.

If you have a simple code example which you are struggling to get working we may be able to demonstrate more easily, however complex projects are too much for us to review for code advice.

Title: Re: Can't get Report Digitals to work
Post by Tom Costanza on Jun 21st, 2022 at 9:48pm
Thanks Simon.  That explains a lot.  It's not what I expected, but it is what I observe.

VS Arduino » Powered by YaBB 2.6.12!
YaBB Forum Software © 2000-2023. All Rights Reserved.