Hello,
I am using the Arduino IDE 1.8.13 and Teensyduino 1.5.3. On a Teensy 4.0, I want to use two serial ports as well as the USB port simultaneously.
This code was compiled without any issue a few months ago, before an upgrade to latest Arduino IDE and Teensyduino, as well as some other modifications in the code:
Now #define SenselDebugSerial Serial triggers this error message when compiling:
I haven't post the whole code as it's spread in five tabs in the IDE but let me know if I want to after all.
Thank you in advance.
I am using the Arduino IDE 1.8.13 and Teensyduino 1.5.3. On a Teensy 4.0, I want to use two serial ports as well as the USB port simultaneously.
This code was compiled without any issue a few months ago, before an upgrade to latest Arduino IDE and Teensyduino, as well as some other modifications in the code:
Code:
#define SenselSerialA Serial3
#define SenselSerialB Serial2
#define SenselDebugSerial Serial
Now #define SenselDebugSerial Serial triggers this error message when compiling:
sensel: In function 'void senselPrintFrameB(SenselFrameB*)':
sensel.h:33: error: expected ')' before 'Serial'
#define SenselDebugSerial Serial
I haven't post the whole code as it's spread in five tabs in the IDE but let me know if I want to after all.
Thank you in advance.