Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- Arduino: 1.8.3 (Windows 10), Board: "Arduino/Genuino Uno"
- In file included from C:\Users\User\Documents\Arduino\libraries\ITEADLIB_Arduino_Nextion-master\NexHardware.h:18:0,
- from C:\Users\User\Documents\Arduino\libraries\ITEADLIB_Arduino_Nextion-master\NexHardware.cpp:15:
- C:\Users\User\Documents\Arduino\libraries\ITEADLIB_Arduino_Nextion-master\NexHardware.cpp: In function 'bool recvRetNumber(uint32_t*, uint32_t)':
- C:\Users\User\Documents\Arduino\libraries\ITEADLIB_Arduino_Nextion-master\NexConfig.h:37:19: error: 'Serial2' was not declared in this scope
- #define nexSerial Serial2
- ^
- C:\Users\User\Documents\Arduino\libraries\ITEADLIB_Arduino_Nextion-master\NexHardware.cpp:55:5: note: in expansion of macro 'nexSerial'
- nexSerial.setTimeout(timeout);
- ^
- C:\Users\User\Documents\Arduino\libraries\ITEADLIB_Arduino_Nextion-master\NexHardware.cpp: In function 'uint16_t recvRetString(char*, uint16_t, uint32_t)':
- C:\Users\User\Documents\Arduino\libraries\ITEADLIB_Arduino_Nextion-master\NexConfig.h:37:19: error: 'Serial2' was not declared in this scope
- #define nexSerial Serial2
- ^
- C:\Users\User\Documents\Arduino\libraries\ITEADLIB_Arduino_Nextion-master\NexHardware.cpp:114:16: note: in expansion of macro 'nexSerial'
- while (nexSerial.available())
- ^
- C:\Users\User\Documents\Arduino\libraries\ITEADLIB_Arduino_Nextion-master\NexHardware.cpp: In function 'void sendCommand(const char*)':
- C:\Users\User\Documents\Arduino\libraries\ITEADLIB_Arduino_Nextion-master\NexConfig.h:37:19: error: 'Serial2' was not declared in this scope
- #define nexSerial Serial2
- ^
- C:\Users\User\Documents\Arduino\libraries\ITEADLIB_Arduino_Nextion-master\NexHardware.cpp:166:12: note: in expansion of macro 'nexSerial'
- while (nexSerial.available())
- ^
- C:\Users\User\Documents\Arduino\libraries\ITEADLIB_Arduino_Nextion-master\NexConfig.h:37:19: error: 'Serial2' was not declared in this scope
- #define nexSerial Serial2
- ^
- C:\Users\User\Documents\Arduino\libraries\ITEADLIB_Arduino_Nextion-master\NexHardware.cpp:171:5: note: in expansion of macro 'nexSerial'
- nexSerial.print(cmd);
- ^
- C:\Users\User\Documents\Arduino\libraries\ITEADLIB_Arduino_Nextion-master\NexHardware.cpp: In function 'bool recvRetCommandFinished(uint32_t)':
- C:\Users\User\Documents\Arduino\libraries\ITEADLIB_Arduino_Nextion-master\NexConfig.h:37:19: error: 'Serial2' was not declared in this scope
- #define nexSerial Serial2
- ^
- C:\Users\User\Documents\Arduino\libraries\ITEADLIB_Arduino_Nextion-master\NexHardware.cpp:192:5: note: in expansion of macro 'nexSerial'
- nexSerial.setTimeout(timeout);
- ^
- C:\Users\User\Documents\Arduino\libraries\ITEADLIB_Arduino_Nextion-master\NexHardware.cpp: In function 'bool nexInit()':
- C:\Users\User\Documents\Arduino\libraries\ITEADLIB_Arduino_Nextion-master\NexConfig.h:37:19: error: 'Serial2' was not declared in this scope
- #define nexSerial Serial2
- ^
- C:\Users\User\Documents\Arduino\libraries\ITEADLIB_Arduino_Nextion-master\NexHardware.cpp:226:5: note: in expansion of macro 'nexSerial'
- nexSerial.begin(9600);
- ^
- C:\Users\User\Documents\Arduino\libraries\ITEADLIB_Arduino_Nextion-master\NexHardware.cpp: In function 'void nexLoop(NexTouch**)':
- C:\Users\User\Documents\Arduino\libraries\ITEADLIB_Arduino_Nextion-master\NexConfig.h:37:19: error: 'Serial2' was not declared in this scope
- #define nexSerial Serial2
- ^
- C:\Users\User\Documents\Arduino\libraries\ITEADLIB_Arduino_Nextion-master\NexHardware.cpp:242:12: note: in expansion of macro 'nexSerial'
- while (nexSerial.available() > 0)
- ^
- exit status 1
- Error compiling for board Arduino/Genuino Uno.
- This report would have more information with
- "Show verbose output during compilation"
- option enabled in File -> Preferences.
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement