Welcome, Guest. Please Login or Register
Arduino IDE for Visual Studio
 
 
When Logging a Support Issue in the Forum, please ensure you have also:-
  • Enabled vMicro > Compiler > Show Build Properties and Verbose
  • Re-Compile your program with these settings enabled
 
Save the new Output to a Text File and....
Support requests without the output above may be impossible to answer, so please help us to help you
 
  HomeSearch Tutorials & Wiki visualmicro.com LoginHelpRegister  
 
Page Index Toggle Pages: 1
Send Topic Print
error under VisualMicro IDE not under Arduino IDE (Read 83 times)
Roboftheweb
Newbies
*
Offline



Posts: 1
error under VisualMicro IDE not under Arduino IDE
May 17th, 2020 at 3:54pm
 
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
 
Visual Micro
Administrator
*****
Offline



Posts: 10653
United Kingdom
Re: error under VisualMicro IDE not under Arduino IDE
Reply #1 - May 17th, 2020 at 5:24pm
 
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
 
WWW  
IP Logged
 
Page Index Toggle Pages: 1
Send Topic Print