Topic: Made changes, now won't compile
I had a previously working project (Teensy 3.2) that I made some cosmetic changes to, now it won't compile, and the errors I am getting are flagged up in the RemoteXY configuration copied from the online editor.
I am completely bemused by this error, and don't understand how it can have been introduced by any code changes I have made in the body code.
I have checked that I have library RemoteXY installed (Version 3.1.9)
These are the errors flagged...
In file included from C:\Users\Dave\Documents\Arduino Projects\pRojeCt_BEAT\pRojeCt_BEAT.ino:15:0:
Remote_XY.hpp:6: error: macro names must be identifiers
#define REMOTEXY_MODE__HARDSERIAL
^
Remote_XY.hpp:8: error: #include expects "FILENAME" or <FILENAME>
#include <RemoteXY.h>
^
Remote_XY.hpp:11: error: macro names must be identifiers
#define REMOTEXY_SERIAL Serial1
^
Remote_XY.hpp:12: error: macro names must be identifiers
#define REMOTEXY_SERIAL_SPEED 9600
^
macro names must be identifiers
My RemoteXY config is in a separate tab called "RemoteXY.hpp", which is where all the errors are being called out. This file is included in my body code, which used to work fine, and is the way I normally do things.
// include the RemoteXY setup
#include "Remote_XY.hpp"
Any help would be appreciated ...