Before logging an issue, please update to the latest release of Visual Micro from the Downloads Page.

When Logging a Support Issue in the Forum, please ensure you have also:-

  • Enabled vMicro > Compiler > Show Build Properties
  • Re-Compile your program with these settings enabled
 
Save the new Output to a Text File and....
  • Click the Reply button and attach as .txt file OR
  • Click here to Email us with the file attached, and a link to your post
Support requests without the output above may be impossible to answer, so please help us to help you
 
Page Index Toggle Pages: 1 Send TopicPrint
Normal Topic unable to get @ReportDigital to display (Read 3301 times)
mikey
Junior Member
**
Offline


Posts: 17
Joined: Jun 26th, 2015
unable to get @ReportDigital to display
Jul 13th, 2015 at 6:34pm
Print Post  
Micro debug prints @ReportDigital when hit
  
Back to top
 
IP Logged
 
Tim@Visual Micro
Administrator
*****
Offline


Posts: 12188
Location: United Kingdom
Joined: Apr 10th, 2010
Re: unable to get @ReportDigital to display
Reply #1 - Jul 13th, 2015 at 10:11pm
Print Post  
I'll take a look. Another user report a problem with the digital report in recent builds but I only tested the "automatic debug report"=true in the project properties.

A workaround might be to switch on the project property so the digital viewer is updated automatically every few loops then see if @ReportDigital works.

If it doesn't work sorry for wasting time Smiley
« Last Edit: Jul 13th, 2015 at 10:11pm by Tim@Visual Micro »  
Back to top
IP Logged
 
Tim@Visual Micro
Administrator
*****
Offline


Posts: 12188
Location: United Kingdom
Joined: Apr 10th, 2010
Re: unable to get @ReportDigital to display
Reply #2 - Jul 17th, 2015 at 8:44pm
Print Post  
Hi,

I have tested this and it appears to work correctly.

I tried to work out where you might be going wrong and can only assume that you have not surrounded the @ReportDigital with {}

It needs to be like this:-

Code
Select All
{@ReportDigital} 



Or like this which prints hello world, shows the digitalPin state in green or red and watches a number of other variables and an expression

Code
Select All
Hello World. Millis is {millis()}{@ReportDigital}{A}{B}{analogRead(A1)} 

« Last Edit: Jul 17th, 2015 at 8:45pm by Tim@Visual Micro »  
Back to top
IP Logged
 
Page Index Toggle Pages: 1
Send TopicPrint