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....
  • 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
 
  HomeSearch Tutorials & Wiki visualmicro.com LoginHelpRegister  
 
Page Index Toggle Pages: 1
Send Topic Print
esp8266 stray '\' in code (Read 75 times)
Chris Molloy
Junior Member
**
Offline



Posts: 54
Ontario, Canada
esp8266 stray '\' in code
Mar 14th, 2021 at 10:38pm
 
Using esp8266 Nodemcu.  using EEPROM library.
When I try to compile, I get the following:

DustCollectorTimerV2.ino: 78:1: error: stray '\' in program
   int eeprom_run_time = EEPROM.read(0)

Compiling the same code in the Arduino IDE does not get this error.

in eeprom.cpp the debug statements all have'\' in them like:
DEBUGV("EEPROMClass::read error, address %d > %d or %d < 0\n", address, _size, address);
Back to top
« Last Edit: Mar 14th, 2021 at 10:47pm by Chris Molloy »  
 
IP Logged
 
Simon@Visual Micro
Administrator
*****
Offline



Posts: 774
Re: esp8266 stray '\' in code
Reply #1 - Mar 15th, 2021 at 9:46am
 
Thanks for the report.

Can you please attach the build output with the Show Build Properties, and Verbose settings enabled (as shown at the top of this page).

If you can also email or attach the combined DustCollectorTimerV2.CPP file from the build directory so we can analyse this issue further?
Back to top
 
 
IP Logged
 
Page Index Toggle Pages: 1
Send Topic Print