Skip to content

Does Not Compile for SAMD21 Dev Board #6

@robomike

Description

@robomike

Arduino: 1.8.12 (Linux), Board: "Arduino M0"

00_Register_Operator:33:1: error: 'SoftwareSerial' does not name a type; did you mean 'HardwareSerial'?
SoftwareSerial lteSerial(8, 9);
^~~~~~~~~~~~~~
HardwareSerial
/tmp/arduino_modified_sketch_390629/00_Register_Operator.ino: In function 'void setup()':
00_Register_Operator:43:25: error: 'lteSerial' was not declared in this scope
#define LTEShieldSerial lteSerial
^
/tmp/arduino_modified_sketch_390629/00_Register_Operator.ino:84:18: note: in expansion of macro 'LTEShieldSerial'
if ( lte.begin(LTEShieldSerial, 9600) ) {
^~~~~~~~~~~~~~~
/tmp/arduino_modified_sketch_390629/00_Register_Operator.ino:43:25: note: suggested alternative: 'Serial'
#define LTEShieldSerial lteSerial
^
/tmp/arduino_modified_sketch_390629/00_Register_Operator.ino:84:18: note: in expansion of macro 'LTEShieldSerial'
if ( lte.begin(LTEShieldSerial, 9600) ) {
^~~~~~~~~~~~~~~
/tmp/arduino_modified_sketch_390629/00_Register_Operator.ino: In function 'void loop()':
00_Register_Operator:43:25: error: 'lteSerial' was not declared in this scope
#define LTEShieldSerial lteSerial
^
/tmp/arduino_modified_sketch_390629/00_Register_Operator.ino:171:7: note: in expansion of macro 'LTEShieldSerial'
if (LTEShieldSerial.available()) {
^~~~~~~~~~~~~~~
/tmp/arduino_modified_sketch_390629/00_Register_Operator.ino:43:25: note: suggested alternative: 'Serial'
#define LTEShieldSerial lteSerial
^
/tmp/arduino_modified_sketch_390629/00_Register_Operator.ino:171:7: note: in expansion of macro 'LTEShieldSerial'
if (LTEShieldSerial.available()) {
^~~~~~~~~~~~~~~
00_Register_Operator:43:25: error: 'lteSerial' was not declared in this scope
#define LTEShieldSerial lteSerial
^
/tmp/arduino_modified_sketch_390629/00_Register_Operator.ino:175:5: note: in expansion of macro 'LTEShieldSerial'
LTEShieldSerial.write((char) SerialMonitor.read());
^~~~~~~~~~~~~~~
/tmp/arduino_modified_sketch_390629/00_Register_Operator.ino:43:25: note: suggested alternative: 'Serial'
#define LTEShieldSerial lteSerial
^
/tmp/arduino_modified_sketch_390629/00_Register_Operator.ino:175:5: note: in expansion of macro 'LTEShieldSerial'
LTEShieldSerial.write((char) SerialMonitor.read());
^~~~~~~~~~~~~~~
exit status 1
'SoftwareSerial' does not name a type; did you mean 'HardwareSerial'?

This report would have more information with
"Show verbose output during compilation"
option enabled in File -> Preferences.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions