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 error under VisualMicro IDE not under Arduino IDE (Read 861 times)
Roboftheweb
Newbies
*
Offline


Posts: 1
Joined: May 17th, 2020
error under VisualMicro IDE not under Arduino IDE
May 17th, 2020 at 2:54pm
Print Post  
The following compiles and uploads fine using the Arduino IDE

int len = message.length();
uint8_t buffer[len];

but the VisualMicro IDE reports it as an error, saying the value for len must be a constant.
  
Back to top
 
IP Logged
 
Tim@Visual Micro
Administrator
*****
Offline


Posts: 12188
Location: United Kingdom
Joined: Apr 10th, 2010
Re: error under VisualMicro IDE not under Arduino IDE
Reply #1 - May 17th, 2020 at 4:24pm
Print Post  
I suspect we are talking about intellisense errors and that if you click build it builds okay?

Either way please follow the guide in yellow above so we can see which board and config you are using.

Thanks
  
Back to top
IP Logged
 
Page Index Toggle Pages: 1
Send TopicPrint