Replies: 2 comments
-
|
got it wokring - just removed the 2 after Serial |
Beta Was this translation helpful? Give feedback.
0 replies
-
|
got it wokring - just removed the 2 after Serial |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
Hi all
until now all was wokring fine - found the channel and network, but then when uploading the PurSpa.ino I got this errors below?
Any hints
Greetings
Mat
D:\UserData\hellma4a\Documents\Arduino\pureSpa\pureSpa.ino: In function 'void setup()':
D:\UserData\hellma4a\Documents\Arduino\pureSpa\pureSpa.ino:113:20: error: 'Serial2' was not declared in this scope
#define mySerial Serial2
^~~~~~~
D:\UserData\hellma4a\Documents\Arduino\pureSpa\pureSpa.ino:244:3: note: in expansion of macro 'mySerial'
mySerial.begin(9600);
^~~~~~~~
D:\UserData\hellma4a\Documents\Arduino\pureSpa\pureSpa.ino:113:20: note: suggested alternative: 'Serial1'
#define mySerial Serial2
^~~~~~~
D:\UserData\hellma4a\Documents\Arduino\pureSpa\pureSpa.ino:244:3: note: in expansion of macro 'mySerial'
mySerial.begin(9600);
^~~~~~~~
D:\UserData\hellma4a\Documents\Arduino\pureSpa\pureSpa.ino: In function 'void loop()':
D:\UserData\hellma4a\Documents\Arduino\pureSpa\pureSpa.ino:113:20: error: 'Serial2' was not declared in this scope
#define mySerial Serial2
^~~~~~~
D:\UserData\hellma4a\Documents\Arduino\pureSpa\pureSpa.ino:376:12: note: in expansion of macro 'mySerial'
if (mySerial.available() )
^~~~~~~~
D:\UserData\hellma4a\Documents\Arduino\pureSpa\pureSpa.ino:113:20: note: suggested alternative: 'Serial1'
#define mySerial Serial2
^~~~~~~
D:\UserData\hellma4a\Documents\Arduino\pureSpa\pureSpa.ino:376:12: note: in expansion of macro 'mySerial'
if (mySerial.available() )
^~~~~~~~
D:\UserData\hellma4a\Documents\Arduino\pureSpa\pureSpa.ino: In function 'void SendCommand(uint16_t)':
D:\UserData\hellma4a\Documents\Arduino\pureSpa\pureSpa.ino:113:20: error: 'Serial2' was not declared in this scope
#define mySerial Serial2
Beta Was this translation helpful? Give feedback.
All reactions