View difference between Paste ID: 57XfYtbG and U0pWaDfk
SHOW: | | - or go back to the newest paste.
1
Arduino: 1.8.3 (Windows 10), Board: "Arduino/Genuino Uno"
2
3
In file included from C:\Users\User\Documents\Arduino\libraries\ITEADLIB_Arduino_Nextion-master\NexHardware.h:18:0,
4
5
                 from C:\Users\User\Documents\Arduino\libraries\ITEADLIB_Arduino_Nextion-master\NexHardware.cpp:15:
6
7
C:\Users\User\Documents\Arduino\libraries\ITEADLIB_Arduino_Nextion-master\NexHardware.cpp: In function 'bool recvRetNumber(uint32_t*, uint32_t)':
8
9
C:\Users\User\Documents\Arduino\libraries\ITEADLIB_Arduino_Nextion-master\NexConfig.h:37:19: error: 'Serial2' was not declared in this scope
10
11
 #define nexSerial Serial2
12
13
                   ^
14
15
C:\Users\User\Documents\Arduino\libraries\ITEADLIB_Arduino_Nextion-master\NexHardware.cpp:55:5: note: in expansion of macro 'nexSerial'
16
17
     nexSerial.setTimeout(timeout);
18
19
     ^
20
21
C:\Users\User\Documents\Arduino\libraries\ITEADLIB_Arduino_Nextion-master\NexHardware.cpp: In function 'uint16_t recvRetString(char*, uint16_t, uint32_t)':
22
23
C:\Users\User\Documents\Arduino\libraries\ITEADLIB_Arduino_Nextion-master\NexConfig.h:37:19: error: 'Serial2' was not declared in this scope
24
25
 #define nexSerial Serial2
26
27
                   ^
28
29
C:\Users\User\Documents\Arduino\libraries\ITEADLIB_Arduino_Nextion-master\NexHardware.cpp:114:16: note: in expansion of macro 'nexSerial'
30
31
         while (nexSerial.available())
32
33
                ^
34
35
C:\Users\User\Documents\Arduino\libraries\ITEADLIB_Arduino_Nextion-master\NexHardware.cpp: In function 'void sendCommand(const char*)':
36
37
C:\Users\User\Documents\Arduino\libraries\ITEADLIB_Arduino_Nextion-master\NexConfig.h:37:19: error: 'Serial2' was not declared in this scope
38
39
 #define nexSerial Serial2
40
41
                   ^
42
43
C:\Users\User\Documents\Arduino\libraries\ITEADLIB_Arduino_Nextion-master\NexHardware.cpp:166:12: note: in expansion of macro 'nexSerial'
44
45
     while (nexSerial.available())
46
47
            ^
48
49
C:\Users\User\Documents\Arduino\libraries\ITEADLIB_Arduino_Nextion-master\NexConfig.h:37:19: error: 'Serial2' was not declared in this scope
50
51
 #define nexSerial Serial2
52
53
                   ^
54
55
C:\Users\User\Documents\Arduino\libraries\ITEADLIB_Arduino_Nextion-master\NexHardware.cpp:171:5: note: in expansion of macro 'nexSerial'
56
57
     nexSerial.print(cmd);
58
59
     ^
60
61
C:\Users\User\Documents\Arduino\libraries\ITEADLIB_Arduino_Nextion-master\NexHardware.cpp: In function 'bool recvRetCommandFinished(uint32_t)':
62
63
C:\Users\User\Documents\Arduino\libraries\ITEADLIB_Arduino_Nextion-master\NexConfig.h:37:19: error: 'Serial2' was not declared in this scope
64
65
 #define nexSerial Serial2
66
67
                   ^
68
69
C:\Users\User\Documents\Arduino\libraries\ITEADLIB_Arduino_Nextion-master\NexHardware.cpp:192:5: note: in expansion of macro 'nexSerial'
70
71
     nexSerial.setTimeout(timeout);
72
73
     ^
74
75
C:\Users\User\Documents\Arduino\libraries\ITEADLIB_Arduino_Nextion-master\NexHardware.cpp: In function 'bool nexInit()':
76
77
C:\Users\User\Documents\Arduino\libraries\ITEADLIB_Arduino_Nextion-master\NexConfig.h:37:19: error: 'Serial2' was not declared in this scope
78
79
 #define nexSerial Serial2
80
81
                   ^
82
83
C:\Users\User\Documents\Arduino\libraries\ITEADLIB_Arduino_Nextion-master\NexHardware.cpp:226:5: note: in expansion of macro 'nexSerial'
84
85
     nexSerial.begin(9600);
86
87
     ^
88
89
C:\Users\User\Documents\Arduino\libraries\ITEADLIB_Arduino_Nextion-master\NexHardware.cpp: In function 'void nexLoop(NexTouch**)':
90
91
C:\Users\User\Documents\Arduino\libraries\ITEADLIB_Arduino_Nextion-master\NexConfig.h:37:19: error: 'Serial2' was not declared in this scope
92
93
 #define nexSerial Serial2
94
95
                   ^
96
97
C:\Users\User\Documents\Arduino\libraries\ITEADLIB_Arduino_Nextion-master\NexHardware.cpp:242:12: note: in expansion of macro 'nexSerial'
98
99
     while (nexSerial.available() > 0)
100
101
            ^
102
103
exit status 1
104
Error compiling for board Arduino/Genuino Uno.
105
106
This report would have more information with
107
"Show verbose output during compilation"
108
option enabled in File -> Preferences.