diff --git a/NexSerialConfig.h b/NexSerialConfig.h index b98e78a..8efb218 100644 --- a/NexSerialConfig.h +++ b/NexSerialConfig.h @@ -17,18 +17,22 @@ #define __NexSerialConfig_H__ /*enable debug serial*/ -#define DEBUG_SERIAL_ENABLE +#define DEBUG_SERIAL_ENABLE + +/*define serial for debug*/ +#define dbSerial Serial #ifdef DEBUG_SERIAL_ENABLE -#define dbSerialPrint(a) Serial.print(a) -#define dbSerialPrintln(a) Serial.println(a) -#define dbSerialBegin(a) Serial.begin(a) +#define dbSerialPrint(a) dbSerial.print(a) +#define dbSerialPrintln(a) dbSerial.println(a) +#define dbSerialBegin(a) dbSerial.begin(a) #else #define dbSerialPrint(a) #define dbSerialPrintln(a) #define dbSerialBegin(a) #endif -/*Define Nextion serial*/ +/*define serial for communicate with Nextion screen*/ #define nexSerial Serial2 + #endif diff --git a/doc/API-html/_comp_button_8ino-example.html b/doc/API-html/_comp_button_8ino-example.html index a995ac7..0c8b425 100644 --- a/doc/API-html/_comp_button_8ino-example.html +++ b/doc/API-html/_comp_button_8ino-example.html @@ -65,11 +65,9 @@ This program is free software; you can redistribute it and/or modify it under th
1.8.7
diff --git a/doc/API-html/_comp_button_8ino_source.html b/doc/API-html/_comp_button_8ino_source.html
index 787f387..4ac7041 100644
--- a/doc/API-html/_comp_button_8ino_source.html
+++ b/doc/API-html/_comp_button_8ino_source.html
@@ -70,48 +70,46 @@
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
1.8.7
diff --git a/doc/API-html/_comp_hotspot_8ino-example.html b/doc/API-html/_comp_hotspot_8ino-example.html
index 204d301..1533ea8 100644
--- a/doc/API-html/_comp_hotspot_8ino-example.html
+++ b/doc/API-html/_comp_hotspot_8ino-example.html
@@ -63,52 +63,52 @@ This program is free software; you can redistribute it and/or modify it under th
1.8.7
diff --git a/doc/API-html/_comp_hotspot_8ino_source.html b/doc/API-html/_comp_hotspot_8ino_source.html
index 43d34c2..0a71cb4 100644
--- a/doc/API-html/_comp_hotspot_8ino_source.html
+++ b/doc/API-html/_comp_hotspot_8ino_source.html
@@ -68,59 +68,59 @@
-
-
-
+
+
+
-
-
-
+
+
+
-
-
-
+
+
+
-
-
-
+
+
+
-
+
-
+
-
+
-
-
1.8.7
diff --git a/doc/API-html/_comp_page_8ino-example.html b/doc/API-html/_comp_page_8ino-example.html
index 998b645..c4c6792 100644
--- a/doc/API-html/_comp_page_8ino-example.html
+++ b/doc/API-html/_comp_page_8ino-example.html
@@ -67,51 +67,51 @@ This program is free software; you can redistribute it and/or modify it under th
1.8.7
diff --git a/doc/API-html/_comp_page_8ino_source.html b/doc/API-html/_comp_page_8ino_source.html
index 3982946..61642f5 100644
--- a/doc/API-html/_comp_page_8ino_source.html
+++ b/doc/API-html/_comp_page_8ino_source.html
@@ -72,58 +72,58 @@
-
+
-
+
-
+
-
+
-
+
-
+
-
+
-
+
-
-
1.8.7
diff --git a/doc/API-html/_comp_picture_8ino-example.html b/doc/API-html/_comp_picture_8ino-example.html
index 5c6dcaa..942f665 100644
--- a/doc/API-html/_comp_picture_8ino-example.html
+++ b/doc/API-html/_comp_picture_8ino-example.html
@@ -62,7 +62,7 @@ This program is free software; you can redistribute it and/or modify it under th
1.8.7
diff --git a/doc/API-html/_comp_picture_8ino_source.html b/doc/API-html/_comp_picture_8ino_source.html
index a6762a1..07480f0 100644
--- a/doc/API-html/_comp_picture_8ino_source.html
+++ b/doc/API-html/_comp_picture_8ino_source.html
@@ -67,7 +67,7 @@
-
+
@@ -86,30 +86,30 @@
-
+
-
+
-
+
-
+
-
1.8.7
diff --git a/doc/API-html/_comp_pointer_8ino-example.html b/doc/API-html/_comp_pointer_8ino-example.html
index 34f57d6..1503f5d 100644
--- a/doc/API-html/_comp_pointer_8ino-example.html
+++ b/doc/API-html/_comp_pointer_8ino-example.html
@@ -66,7 +66,7 @@ This program is free software; you can redistribute it and/or modify it under th
1.8.7
diff --git a/doc/API-html/_comp_pointer_8ino_source.html b/doc/API-html/_comp_pointer_8ino_source.html
index edaf980..68b0254 100644
--- a/doc/API-html/_comp_pointer_8ino_source.html
+++ b/doc/API-html/_comp_pointer_8ino_source.html
@@ -71,7 +71,7 @@
-
+
@@ -86,7 +86,7 @@
-
+
@@ -102,32 +102,32 @@
-
+
-
+
-
+
-
+
1.8.7
diff --git a/doc/API-html/_comp_progress_bar_8ino-example.html b/doc/API-html/_comp_progress_bar_8ino-example.html
index 054cc47..c9080c1 100644
--- a/doc/API-html/_comp_progress_bar_8ino-example.html
+++ b/doc/API-html/_comp_progress_bar_8ino-example.html
@@ -66,7 +66,7 @@ This program is free software; you can redistribute it and/or modify it under th
1.8.7
diff --git a/doc/API-html/_comp_progress_bar_8ino_source.html b/doc/API-html/_comp_progress_bar_8ino_source.html
index 9bcd845..1fa46c7 100644
--- a/doc/API-html/_comp_progress_bar_8ino_source.html
+++ b/doc/API-html/_comp_progress_bar_8ino_source.html
@@ -71,7 +71,7 @@
-
+
@@ -86,7 +86,7 @@
-
+
@@ -104,33 +104,33 @@
-
+
-
+
-
+
-
+
1.8.7
diff --git a/doc/API-html/_comp_slice_8ino-example.html b/doc/API-html/_comp_slice_8ino-example.html
index 417f145..4eeaa03 100644
--- a/doc/API-html/_comp_slice_8ino-example.html
+++ b/doc/API-html/_comp_slice_8ino-example.html
@@ -62,7 +62,7 @@ This program is free software; you can redistribute it and/or modify it under th
1.8.7
diff --git a/doc/API-html/_comp_slice_8ino_source.html b/doc/API-html/_comp_slice_8ino_source.html
index 550b53a..8afee7a 100644
--- a/doc/API-html/_comp_slice_8ino_source.html
+++ b/doc/API-html/_comp_slice_8ino_source.html
@@ -67,7 +67,7 @@
-
+
@@ -80,28 +80,28 @@
-
+
-
+
-
+
1.8.7
diff --git a/doc/API-html/_comp_text_8ino-example.html b/doc/API-html/_comp_text_8ino-example.html
index b7d1c39..974c223 100644
--- a/doc/API-html/_comp_text_8ino-example.html
+++ b/doc/API-html/_comp_text_8ino-example.html
@@ -72,7 +72,7 @@ This program is free software; you can redistribute it and/or modify it under th
1.8.7
diff --git a/doc/API-html/_comp_text_8ino_source.html b/doc/API-html/_comp_text_8ino_source.html
index 5e04be1..bf53676 100644
--- a/doc/API-html/_comp_text_8ino_source.html
+++ b/doc/API-html/_comp_text_8ino_source.html
@@ -77,7 +77,7 @@
-
+
@@ -86,7 +86,7 @@
-
+
@@ -105,7 +105,7 @@
-
+
@@ -121,30 +121,30 @@
-
+
-
+
-
+
-
+
1.8.7
diff --git a/doc/API-html/_nex_button_8cpp.html b/doc/API-html/_nex_button_8cpp.html
index 36aa867..f39e7f8 100644
--- a/doc/API-html/_nex_button_8cpp.html
+++ b/doc/API-html/_nex_button_8cpp.html
@@ -66,7 +66,7 @@ This program is free software; you can redistribute it and/or modify it under th
1.8.7
diff --git a/doc/API-html/_nex_button_8cpp_source.html b/doc/API-html/_nex_button_8cpp_source.html
index 1421eda..aee0243 100644
--- a/doc/API-html/_nex_button_8cpp_source.html
+++ b/doc/API-html/_nex_button_8cpp_source.html
@@ -99,11 +99,11 @@
1.8.7
diff --git a/doc/API-html/_nex_button_8h.html b/doc/API-html/_nex_button_8h.html
index f1d968d..fb64255 100644
--- a/doc/API-html/_nex_button_8h.html
+++ b/doc/API-html/_nex_button_8h.html
@@ -75,7 +75,7 @@ This program is free software; you can redistribute it and/or modify it under th
1.8.7
diff --git a/doc/API-html/_nex_button_8h_source.html b/doc/API-html/_nex_button_8h_source.html
index c746118..1915136 100644
--- a/doc/API-html/_nex_button_8h_source.html
+++ b/doc/API-html/_nex_button_8h_source.html
@@ -76,11 +76,11 @@
1.8.7
diff --git a/doc/API-html/_nex_hotspot_8cpp.html b/doc/API-html/_nex_hotspot_8cpp.html
index a6a6fcc..d0b865c 100644
--- a/doc/API-html/_nex_hotspot_8cpp.html
+++ b/doc/API-html/_nex_hotspot_8cpp.html
@@ -66,7 +66,7 @@ This program is free software; you can redistribute it and/or modify it under th
1.8.7
diff --git a/doc/API-html/_nex_hotspot_8cpp_source.html b/doc/API-html/_nex_hotspot_8cpp_source.html
index f70d152..d6a66ff 100644
--- a/doc/API-html/_nex_hotspot_8cpp_source.html
+++ b/doc/API-html/_nex_hotspot_8cpp_source.html
@@ -83,12 +83,12 @@
1.8.7
diff --git a/doc/API-html/_nex_hotspot_8h.html b/doc/API-html/_nex_hotspot_8h.html
index 840b867..9d0dd7b 100644
--- a/doc/API-html/_nex_hotspot_8h.html
+++ b/doc/API-html/_nex_hotspot_8h.html
@@ -75,7 +75,7 @@ This program is free software; you can redistribute it and/or modify it under th
1.8.7
diff --git a/doc/API-html/_nex_hotspot_8h_source.html b/doc/API-html/_nex_hotspot_8h_source.html
index 0d46de5..c24f5fd 100644
--- a/doc/API-html/_nex_hotspot_8h_source.html
+++ b/doc/API-html/_nex_hotspot_8h_source.html
@@ -77,12 +77,12 @@
1.8.7
diff --git a/doc/API-html/_nex_page_8cpp.html b/doc/API-html/_nex_page_8cpp.html
index ba8b513..220479f 100644
--- a/doc/API-html/_nex_page_8cpp.html
+++ b/doc/API-html/_nex_page_8cpp.html
@@ -66,7 +66,7 @@ This program is free software; you can redistribute it and/or modify it under th
1.8.7
diff --git a/doc/API-html/_nex_page_8cpp_source.html b/doc/API-html/_nex_page_8cpp_source.html
index c35bda6..a77dc3b 100644
--- a/doc/API-html/_nex_page_8cpp_source.html
+++ b/doc/API-html/_nex_page_8cpp_source.html
@@ -90,11 +90,11 @@
1.8.7
diff --git a/doc/API-html/_nex_page_8h.html b/doc/API-html/_nex_page_8h.html
index 9210a5f..fed821f 100644
--- a/doc/API-html/_nex_page_8h.html
+++ b/doc/API-html/_nex_page_8h.html
@@ -75,7 +75,7 @@ This program is free software; you can redistribute it and/or modify it under th
1.8.7
diff --git a/doc/API-html/_nex_page_8h_source.html b/doc/API-html/_nex_page_8h_source.html
index 47053ca..7ccb850 100644
--- a/doc/API-html/_nex_page_8h_source.html
+++ b/doc/API-html/_nex_page_8h_source.html
@@ -74,11 +74,11 @@
1.8.7
diff --git a/doc/API-html/_nex_picture_8cpp.html b/doc/API-html/_nex_picture_8cpp.html
index e475cb6..9caf15b 100644
--- a/doc/API-html/_nex_picture_8cpp.html
+++ b/doc/API-html/_nex_picture_8cpp.html
@@ -66,7 +66,7 @@ This program is free software; you can redistribute it and/or modify it under th
1.8.7
diff --git a/doc/API-html/_nex_picture_8cpp_source.html b/doc/API-html/_nex_picture_8cpp_source.html
index 17387f2..bc11702 100644
--- a/doc/API-html/_nex_picture_8cpp_source.html
+++ b/doc/API-html/_nex_picture_8cpp_source.html
@@ -99,12 +99,12 @@
1.8.7
diff --git a/doc/API-html/_nex_picture_8h.html b/doc/API-html/_nex_picture_8h.html
index 57c5802..4b639bf 100644
--- a/doc/API-html/_nex_picture_8h.html
+++ b/doc/API-html/_nex_picture_8h.html
@@ -75,7 +75,7 @@ This program is free software; you can redistribute it and/or modify it under th
1.8.7
diff --git a/doc/API-html/_nex_picture_8h_source.html b/doc/API-html/_nex_picture_8h_source.html
index 9ece8de..6a6c374 100644
--- a/doc/API-html/_nex_picture_8h_source.html
+++ b/doc/API-html/_nex_picture_8h_source.html
@@ -76,11 +76,11 @@
1.8.7
diff --git a/doc/API-html/_nex_pointer_8cpp_source.html b/doc/API-html/_nex_pointer_8cpp_source.html
index 32322b1..05cda0a 100644
--- a/doc/API-html/_nex_pointer_8cpp_source.html
+++ b/doc/API-html/_nex_pointer_8cpp_source.html
@@ -86,11 +86,11 @@
1.8.7
diff --git a/doc/API-html/_nex_pointer_8h_source.html b/doc/API-html/_nex_pointer_8h_source.html
index 6eb2af5..c59be0c 100644
--- a/doc/API-html/_nex_pointer_8h_source.html
+++ b/doc/API-html/_nex_pointer_8h_source.html
@@ -70,11 +70,11 @@
1.8.7
diff --git a/doc/API-html/_nex_progress_bar_8cpp.html b/doc/API-html/_nex_progress_bar_8cpp.html
index a6d7309..73fe426 100644
--- a/doc/API-html/_nex_progress_bar_8cpp.html
+++ b/doc/API-html/_nex_progress_bar_8cpp.html
@@ -66,7 +66,7 @@ This program is free software; you can redistribute it and/or modify it under th
1.8.7
diff --git a/doc/API-html/_nex_progress_bar_8cpp_source.html b/doc/API-html/_nex_progress_bar_8cpp_source.html
index be20d7f..1ee65e3 100644
--- a/doc/API-html/_nex_progress_bar_8cpp_source.html
+++ b/doc/API-html/_nex_progress_bar_8cpp_source.html
@@ -88,11 +88,11 @@
1.8.7
diff --git a/doc/API-html/_nex_progress_bar_8h.html b/doc/API-html/_nex_progress_bar_8h.html
index 684572e..4def6b0 100644
--- a/doc/API-html/_nex_progress_bar_8h.html
+++ b/doc/API-html/_nex_progress_bar_8h.html
@@ -75,7 +75,7 @@ This program is free software; you can redistribute it and/or modify it under th
1.8.7
diff --git a/doc/API-html/_nex_progress_bar_8h_source.html b/doc/API-html/_nex_progress_bar_8h_source.html
index 1a0fcab..2c1ffc4 100644
--- a/doc/API-html/_nex_progress_bar_8h_source.html
+++ b/doc/API-html/_nex_progress_bar_8h_source.html
@@ -70,12 +70,12 @@
1.8.7
diff --git a/doc/API-html/_nex_serial_config_8h.html b/doc/API-html/_nex_serial_config_8h.html
new file mode 100644
index 00000000..5328c39
--- /dev/null
+++ b/doc/API-html/_nex_serial_config_8h.html
@@ -0,0 +1,73 @@
+
+
+
+
+
+
+|
+ API
+
+ For Arduino developers
+ |
+
Serial configure. +More...
+ +Go to the source code of this file.
+Serial configure.
+ +Definition in file NexSerialConfig.h.
+
+ 1.8.7
+
+
+
diff --git a/doc/API-html/_nex_serial_config_8h_source.html b/doc/API-html/_nex_serial_config_8h_source.html
new file mode 100644
index 00000000..d102954
--- /dev/null
+++ b/doc/API-html/_nex_serial_config_8h_source.html
@@ -0,0 +1,84 @@
+
+
+
+
+
+
+|
+ API
+
+ For Arduino developers
+ |
+
+ 1.8.7
+
+
+
diff --git a/doc/API-html/_nex_slice_8cpp.html b/doc/API-html/_nex_slice_8cpp.html
index 3aa24ea..a56c993 100644
--- a/doc/API-html/_nex_slice_8cpp.html
+++ b/doc/API-html/_nex_slice_8cpp.html
@@ -66,7 +66,7 @@ This program is free software; you can redistribute it and/or modify it under th
1.8.7
diff --git a/doc/API-html/_nex_slice_8cpp_source.html b/doc/API-html/_nex_slice_8cpp_source.html
index c75d6df..0d6e66e 100644
--- a/doc/API-html/_nex_slice_8cpp_source.html
+++ b/doc/API-html/_nex_slice_8cpp_source.html
@@ -114,11 +114,11 @@
1.8.7
diff --git a/doc/API-html/_nex_slice_8h.html b/doc/API-html/_nex_slice_8h.html
index b22b582..594eee5 100644
--- a/doc/API-html/_nex_slice_8h.html
+++ b/doc/API-html/_nex_slice_8h.html
@@ -75,7 +75,7 @@ This program is free software; you can redistribute it and/or modify it under th
1.8.7
diff --git a/doc/API-html/_nex_slice_8h_source.html b/doc/API-html/_nex_slice_8h_source.html
index f8e2cc5..50611b4 100644
--- a/doc/API-html/_nex_slice_8h_source.html
+++ b/doc/API-html/_nex_slice_8h_source.html
@@ -74,11 +74,11 @@
1.8.7
diff --git a/doc/API-html/_nex_text_8cpp.html b/doc/API-html/_nex_text_8cpp.html
index a3a519e..0fc1c77 100644
--- a/doc/API-html/_nex_text_8cpp.html
+++ b/doc/API-html/_nex_text_8cpp.html
@@ -66,7 +66,7 @@ This program is free software; you can redistribute it and/or modify it under th
1.8.7
diff --git a/doc/API-html/_nex_text_8cpp_source.html b/doc/API-html/_nex_text_8cpp_source.html
index c070ab9..025e0fa 100644
--- a/doc/API-html/_nex_text_8cpp_source.html
+++ b/doc/API-html/_nex_text_8cpp_source.html
@@ -98,11 +98,11 @@
1.8.7
diff --git a/doc/API-html/_nex_text_8h.html b/doc/API-html/_nex_text_8h.html
index e9f6050..bbf65cb 100644
--- a/doc/API-html/_nex_text_8h.html
+++ b/doc/API-html/_nex_text_8h.html
@@ -75,7 +75,7 @@ This program is free software; you can redistribute it and/or modify it under th
1.8.7
diff --git a/doc/API-html/_nex_text_8h_source.html b/doc/API-html/_nex_text_8h_source.html
index 7cf9237..1ba1ac4 100644
--- a/doc/API-html/_nex_text_8h_source.html
+++ b/doc/API-html/_nex_text_8h_source.html
@@ -75,12 +75,12 @@
1.8.7
diff --git a/doc/API-html/_nex_touch_8cpp.html b/doc/API-html/_nex_touch_8cpp.html
index 2ed6729..4f03156 100644
--- a/doc/API-html/_nex_touch_8cpp.html
+++ b/doc/API-html/_nex_touch_8cpp.html
@@ -66,6 +66,36 @@ Functions
API of Nextion.
@@ -76,6 +106,33 @@ This program is free software; you can redistribute it and/or modify it under thDefinition in file NexTouch.cpp.
| bool disableTouchFocus | +( | +void | +) | ++ |
Disable all touch hot.
+| true | - success. |
| false | - failed. |
Definition at line 513 of file NexTouch.cpp.
+ +Definition at line 423 of file NexTouch.cpp.
+Definition at line 409 of file NexTouch.cpp.
Definition at line 440 of file NexTouch.cpp.
+Definition at line 425 of file NexTouch.cpp.
+ + + + +| bool pauseSerialCommand | +( | +void | +) | ++ |
Pause serial instruction execution.
+| true | - success. |
| false | - failed. |
Definition at line 537 of file NexTouch.cpp.
+ +| bool recoverySerialCommand | +( | +void | +) | ++ |
Recovery serial instruction execution.
+| true | - success. |
| false | - failed. |
Definition at line 562 of file NexTouch.cpp.
+ +| bool sendCurrentPageId | +( | +uint8_t * | +pageId | ) | ++ |
Return current page id.
+| pageId | - output parameter,to save page id. |
| true | - success. |
| false | - failed. |
Definition at line 439 of file NexTouch.cpp.
+ +| bool setCurrentBaudrate | +( | +uint32_t | +baudrate | ) | ++ |
Set current baudrate.
+| baudrate | - current baudrate,it surrpots 2400,4800,9600,19200,38400,57600,38400. |
| true | - success. |
| false | - failed. |
Definition at line 694 of file NexTouch.cpp.
+ +| bool setCurrentBrightness | +( | +uint8_t | +dimValue | ) | ++ |
Set current backlight brightness value.
+| dimValue | - current backlight brightness value. |
| true | - success. |
| false | - failed. |
Definition at line 588 of file NexTouch.cpp.
+ +| bool setDefaultBaudrate | +( | +uint32_t | +defaultBaudrate | ) | ++ |
Set default baudrate.
+| defaultBaudrate | - default baudrate,it surrpots 2400,4800,9600,19200,38400,57600,38400. |
| true | - success. |
| false | - failed. |
Definition at line 726 of file NexTouch.cpp.
+ +| bool setDefaultBrightness | +( | +uint8_t | +dimDefaultValue | ) | ++ |
Set default backlight brightness value.
+| dimDefaultValue | - default backlight brightness value. |
| true | - success. |
| false | - failed. |
Definition at line 623 of file NexTouch.cpp.
+ +| bool sleepMode | +( | +uint8_t | +mode | ) | ++ |
Set device in sleep mode.
+| mode | - 1:into sleep mode,0:exit sleep mode. |
| true | - success. |
| false | - failed. |
Definition at line 657 of file NexTouch.cpp.
+ +| bool touchCalibration | +( | +void | +) | ++ |
Touch screen calibration.
+| true | - success. |
| false | - failed. |
Definition at line 489 of file NexTouch.cpp.
1.8.7
diff --git a/doc/API-html/_nex_touch_8cpp_source.html b/doc/API-html/_nex_touch_8cpp_source.html
index cec7317..d51c8fd 100644
--- a/doc/API-html/_nex_touch_8cpp_source.html
+++ b/doc/API-html/_nex_touch_8cpp_source.html
@@ -120,26 +120,26 @@
-
-
-
-
-
-
-
+
+
+
+
+
+
+
-
+
-
+
-
-
-
-
-
+
+
+
+
+
@@ -233,11 +233,11 @@
-
+
-
+
@@ -309,11 +309,11 @@
-
-
-
-
-
+
+
+
+
+
@@ -348,72 +348,333 @@
-
-
+
+
-
+
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
1.8.7
diff --git a/doc/API-html/_nex_touch_8h.html b/doc/API-html/_nex_touch_8h.html
index 06bab51..97385e6 100644
--- a/doc/API-html/_nex_touch_8h.html
+++ b/doc/API-html/_nex_touch_8h.html
@@ -56,6 +56,7 @@
API of Nextion. More...
Go to the source code of this file.
| bool | nexLoop (NexTouch **nexListenList) |
| Call mainEventLoop,watting for Nextion's touch event. More... | |
| bool | sendCurrentPageId (uint8_t *pageId) |
| Return current page id. More... | |
| bool | touchCalibration (void) |
| Touch screen calibration. More... | |
| bool | disableTouchFocus (void) |
| Disable all touch hot. More... | |
| bool | pauseSerialCommand (void) |
| Pause serial instruction execution. More... | |
| bool | recoverySerialCommand (void) |
| Recovery serial instruction execution. More... | |
| bool | setCurrentBrightness (uint8_t dimValue) |
| Set current backlight brightness value. More... | |
| bool | setDefaultBrightness (uint8_t dimDefaultValue) |
| Set default backlight brightness value. More... | |
| bool | sleepMode (uint8_t mode) |
| Set device in sleep mode. More... | |
| bool | setCurrentBaudrate (uint32_t baudrate) |
| Set current baudrate. More... | |
| bool | setDefaultBaudrate (uint32_t baudrate) |
| Set default baudrate. More... | |
API of Nextion.
@@ -83,6 +114,33 @@ This program is free software; you can redistribute it and/or modify it under thDefinition in file NexTouch.h.
| bool disableTouchFocus | +( | +void | +) | ++ |
Disable all touch hot.
+| true | - success. |
| false | - failed. |
Definition at line 513 of file NexTouch.cpp.
+ +Definition at line 423 of file NexTouch.cpp.
+Definition at line 409 of file NexTouch.cpp.
Definition at line 440 of file NexTouch.cpp.
+Definition at line 425 of file NexTouch.cpp.
+ + + + +| bool pauseSerialCommand | +( | +void | +) | ++ |
Pause serial instruction execution.
+| true | - success. |
| false | - failed. |
Definition at line 537 of file NexTouch.cpp.
+ +| bool recoverySerialCommand | +( | +void | +) | ++ |
Recovery serial instruction execution.
+| true | - success. |
| false | - failed. |
Definition at line 562 of file NexTouch.cpp.
+ +| bool sendCurrentPageId | +( | +uint8_t * | +pageId | ) | ++ |
Return current page id.
+| pageId | - output parameter,to save page id. |
| true | - success. |
| false | - failed. |
Definition at line 439 of file NexTouch.cpp.
+ +| bool setCurrentBaudrate | +( | +uint32_t | +baudrate | ) | ++ |
Set current baudrate.
+| baudrate | - current baudrate,it surrpots 2400,4800,9600,19200,38400,57600,38400. |
| true | - success. |
| false | - failed. |
Definition at line 694 of file NexTouch.cpp.
+ +| bool setCurrentBrightness | +( | +uint8_t | +dimValue | ) | ++ |
Set current backlight brightness value.
+| dimValue | - current backlight brightness value. |
| true | - success. |
| false | - failed. |
Definition at line 588 of file NexTouch.cpp.
+ +| bool setDefaultBaudrate | +( | +uint32_t | +defaultBaudrate | ) | ++ |
Set default baudrate.
+| defaultBaudrate | - default baudrate,it surrpots 2400,4800,9600,19200,38400,57600,38400. |
| true | - success. |
| false | - failed. |
Definition at line 726 of file NexTouch.cpp.
+ +| bool setDefaultBrightness | +( | +uint8_t | +dimDefaultValue | ) | ++ |
Set default backlight brightness value.
+| dimDefaultValue | - default backlight brightness value. |
| true | - success. |
| false | - failed. |
Definition at line 623 of file NexTouch.cpp.
+ +| bool sleepMode | +( | +uint8_t | +mode | ) | ++ |
Set device in sleep mode.
+| mode | - 1:into sleep mode,0:exit sleep mode. |
| true | - success. |
| false | - failed. |
Definition at line 657 of file NexTouch.cpp.
+ +| bool touchCalibration | +( | +void | +) | ++ |
Touch screen calibration.
+| true | - success. |
| false | - failed. |
Definition at line 489 of file NexTouch.cpp.
1.8.7
diff --git a/doc/API-html/_nex_touch_8h_source.html b/doc/API-html/_nex_touch_8h_source.html
index cd29b88..6d5e363 100644
--- a/doc/API-html/_nex_touch_8h_source.html
+++ b/doc/API-html/_nex_touch_8h_source.html
@@ -54,116 +54,132 @@
-
+
-
-
+
+
-
-
-
-
-
+
+
+
+
+
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
1.8.7
diff --git a/doc/API-html/annotated.html b/doc/API-html/annotated.html
index 120d96b..6b1097c 100644
--- a/doc/API-html/annotated.html
+++ b/doc/API-html/annotated.html
@@ -67,7 +67,7 @@
1.8.7
diff --git a/doc/API-html/class_nex_button-members.html b/doc/API-html/class_nex_button-members.html
index c0fd45f..68f790d 100644
--- a/doc/API-html/class_nex_button-members.html
+++ b/doc/API-html/class_nex_button-members.html
@@ -72,7 +72,7 @@
1.8.7
diff --git a/doc/API-html/class_nex_button.html b/doc/API-html/class_nex_button.html
index 5655eab..59a3436 100644
--- a/doc/API-html/class_nex_button.html
+++ b/doc/API-html/class_nex_button.html
@@ -249,7 +249,7 @@ Additional Inherited Members
1.8.7
diff --git a/doc/API-html/class_nex_hotspot-members.html b/doc/API-html/class_nex_hotspot-members.html
index e1132f0..f416663 100644
--- a/doc/API-html/class_nex_hotspot-members.html
+++ b/doc/API-html/class_nex_hotspot-members.html
@@ -72,7 +72,7 @@
1.8.7
diff --git a/doc/API-html/class_nex_hotspot.html b/doc/API-html/class_nex_hotspot.html
index 6a93d85..55853f0 100644
--- a/doc/API-html/class_nex_hotspot.html
+++ b/doc/API-html/class_nex_hotspot.html
@@ -215,7 +215,7 @@ Additional Inherited Members
1.8.7
diff --git a/doc/API-html/class_nex_page-members.html b/doc/API-html/class_nex_page-members.html
index c77954a..ea98ce0 100644
--- a/doc/API-html/class_nex_page-members.html
+++ b/doc/API-html/class_nex_page-members.html
@@ -71,7 +71,7 @@
1.8.7
diff --git a/doc/API-html/class_nex_page.html b/doc/API-html/class_nex_page.html
index 052b940..33a39cd 100644
--- a/doc/API-html/class_nex_page.html
+++ b/doc/API-html/class_nex_page.html
@@ -201,7 +201,7 @@ Additional Inherited Members
1.8.7
diff --git a/doc/API-html/class_nex_picture-members.html b/doc/API-html/class_nex_picture-members.html
index d17c635..2cd991f 100644
--- a/doc/API-html/class_nex_picture-members.html
+++ b/doc/API-html/class_nex_picture-members.html
@@ -72,7 +72,7 @@
1.8.7
diff --git a/doc/API-html/class_nex_picture.html b/doc/API-html/class_nex_picture.html
index eae0850..3440ee3 100644
--- a/doc/API-html/class_nex_picture.html
+++ b/doc/API-html/class_nex_picture.html
@@ -244,7 +244,7 @@ Additional Inherited Members
1.8.7
diff --git a/doc/API-html/class_nex_pointer-members.html b/doc/API-html/class_nex_pointer-members.html
index 9532ec1..8673dd9 100644
--- a/doc/API-html/class_nex_pointer-members.html
+++ b/doc/API-html/class_nex_pointer-members.html
@@ -70,7 +70,7 @@
1.8.7
diff --git a/doc/API-html/class_nex_pointer.html b/doc/API-html/class_nex_pointer.html
index 67d46a5..81b431d 100644
--- a/doc/API-html/class_nex_pointer.html
+++ b/doc/API-html/class_nex_pointer.html
@@ -199,7 +199,7 @@ Additional Inherited Members
1.8.7
diff --git a/doc/API-html/class_nex_progress_bar-members.html b/doc/API-html/class_nex_progress_bar-members.html
index 23aa697..1282688 100644
--- a/doc/API-html/class_nex_progress_bar-members.html
+++ b/doc/API-html/class_nex_progress_bar-members.html
@@ -70,7 +70,7 @@
1.8.7
diff --git a/doc/API-html/class_nex_progress_bar.html b/doc/API-html/class_nex_progress_bar.html
index d118707..945d042 100644
--- a/doc/API-html/class_nex_progress_bar.html
+++ b/doc/API-html/class_nex_progress_bar.html
@@ -199,7 +199,7 @@ Additional Inherited Members
1.8.7
diff --git a/doc/API-html/class_nex_slice-members.html b/doc/API-html/class_nex_slice-members.html
index 4f3a848..a5614b3 100644
--- a/doc/API-html/class_nex_slice-members.html
+++ b/doc/API-html/class_nex_slice-members.html
@@ -70,7 +70,7 @@
1.8.7
diff --git a/doc/API-html/class_nex_slice.html b/doc/API-html/class_nex_slice.html
index f56f9d1..97b1bbc 100644
--- a/doc/API-html/class_nex_slice.html
+++ b/doc/API-html/class_nex_slice.html
@@ -170,7 +170,7 @@ Additional Inherited Members
1.8.7
diff --git a/doc/API-html/class_nex_text-members.html b/doc/API-html/class_nex_text-members.html
index 6059e6e..e361b72 100644
--- a/doc/API-html/class_nex_text-members.html
+++ b/doc/API-html/class_nex_text-members.html
@@ -72,7 +72,7 @@
1.8.7
diff --git a/doc/API-html/class_nex_text.html b/doc/API-html/class_nex_text.html
index cf4fed9..c4e17bc 100644
--- a/doc/API-html/class_nex_text.html
+++ b/doc/API-html/class_nex_text.html
@@ -248,7 +248,7 @@ Additional Inherited Members
1.8.7
diff --git a/doc/API-html/class_nex_touch-members.html b/doc/API-html/class_nex_touch-members.html
index 79b363d..21c1bee 100644
--- a/doc/API-html/class_nex_touch-members.html
+++ b/doc/API-html/class_nex_touch-members.html
@@ -67,7 +67,7 @@
1.8.7
diff --git a/doc/API-html/class_nex_touch.html b/doc/API-html/class_nex_touch.html
index 53ce127..b756ebb 100644
--- a/doc/API-html/class_nex_touch.html
+++ b/doc/API-html/class_nex_touch.html
@@ -118,7 +118,7 @@ Static Public Member Functions
Root Class of Nextion Components.
Definition at line 63 of file NexTouch.h.
+Definition at line 57 of file NexTouch.h.
1.8.7
diff --git a/doc/API-html/classes.html b/doc/API-html/classes.html
index 87a8170..8ec100f 100644
--- a/doc/API-html/classes.html
+++ b/doc/API-html/classes.html
@@ -63,7 +63,7 @@
1.8.7
diff --git a/doc/API-html/dir_0726b97e666c2e7f518aadd1fe5118dc.html b/doc/API-html/dir_0726b97e666c2e7f518aadd1fe5118dc.html
index 7707294..54d1266 100644
--- a/doc/API-html/dir_0726b97e666c2e7f518aadd1fe5118dc.html
+++ b/doc/API-html/dir_0726b97e666c2e7f518aadd1fe5118dc.html
@@ -56,7 +56,7 @@ Files
1.8.7
diff --git a/doc/API-html/dir_376a8598cfd3d58455c161124a3e8051.html b/doc/API-html/dir_376a8598cfd3d58455c161124a3e8051.html
index 4c4d428..ec4b29a 100644
--- a/doc/API-html/dir_376a8598cfd3d58455c161124a3e8051.html
+++ b/doc/API-html/dir_376a8598cfd3d58455c161124a3e8051.html
@@ -56,7 +56,7 @@ Files
1.8.7
diff --git a/doc/API-html/dir_7962cac16a99e8bbaaea18abede03fcb.html b/doc/API-html/dir_7962cac16a99e8bbaaea18abede03fcb.html
index 741b62e..f319c7c 100644
--- a/doc/API-html/dir_7962cac16a99e8bbaaea18abede03fcb.html
+++ b/doc/API-html/dir_7962cac16a99e8bbaaea18abede03fcb.html
@@ -56,7 +56,7 @@ Files
1.8.7
diff --git a/doc/API-html/dir_9bbf8342b0f9a157b7af08fe1412fc17.html b/doc/API-html/dir_9bbf8342b0f9a157b7af08fe1412fc17.html
index 65b7088..1c83635 100644
--- a/doc/API-html/dir_9bbf8342b0f9a157b7af08fe1412fc17.html
+++ b/doc/API-html/dir_9bbf8342b0f9a157b7af08fe1412fc17.html
@@ -56,7 +56,7 @@ Files
1.8.7
diff --git a/doc/API-html/dir_c918e8bf3fc71f849978cdb0d900e61c.html b/doc/API-html/dir_c918e8bf3fc71f849978cdb0d900e61c.html
index dd7fa88..038dad2 100644
--- a/doc/API-html/dir_c918e8bf3fc71f849978cdb0d900e61c.html
+++ b/doc/API-html/dir_c918e8bf3fc71f849978cdb0d900e61c.html
@@ -56,7 +56,7 @@ Files
1.8.7
diff --git a/doc/API-html/dir_ce36ac18ad3deaf5eae0bd2e09775a7d.html b/doc/API-html/dir_ce36ac18ad3deaf5eae0bd2e09775a7d.html
index 7c69329..9a2f0a7 100644
--- a/doc/API-html/dir_ce36ac18ad3deaf5eae0bd2e09775a7d.html
+++ b/doc/API-html/dir_ce36ac18ad3deaf5eae0bd2e09775a7d.html
@@ -56,7 +56,7 @@ Files
1.8.7
diff --git a/doc/API-html/dir_d28a4824dc47e487b107a5db32ef43c4.html b/doc/API-html/dir_d28a4824dc47e487b107a5db32ef43c4.html
index 8d75edb..b952b15 100644
--- a/doc/API-html/dir_d28a4824dc47e487b107a5db32ef43c4.html
+++ b/doc/API-html/dir_d28a4824dc47e487b107a5db32ef43c4.html
@@ -70,7 +70,7 @@ Directories
1.8.7
diff --git a/doc/API-html/dir_f3d39c87bc262720c50d5e3885667b8a.html b/doc/API-html/dir_f3d39c87bc262720c50d5e3885667b8a.html
index a61e6b1..b41bbcb 100644
--- a/doc/API-html/dir_f3d39c87bc262720c50d5e3885667b8a.html
+++ b/doc/API-html/dir_f3d39c87bc262720c50d5e3885667b8a.html
@@ -56,7 +56,7 @@ Files
1.8.7
diff --git a/doc/API-html/dir_f76977d9ffe8ddf3ad01f3d689aa5df4.html b/doc/API-html/dir_f76977d9ffe8ddf3ad01f3d689aa5df4.html
index 4372684..2bef0b5 100644
--- a/doc/API-html/dir_f76977d9ffe8ddf3ad01f3d689aa5df4.html
+++ b/doc/API-html/dir_f76977d9ffe8ddf3ad01f3d689aa5df4.html
@@ -56,7 +56,7 @@ Files
1.8.7
diff --git a/doc/API-html/examples.html b/doc/API-html/examples.html
index 42bdbf4..745d428 100644
--- a/doc/API-html/examples.html
+++ b/doc/API-html/examples.html
@@ -64,7 +64,7 @@
1.8.7
diff --git a/doc/API-html/files.html b/doc/API-html/files.html
index 58eefd1..202786b 100644
--- a/doc/API-html/files.html
+++ b/doc/API-html/files.html
@@ -80,18 +80,19 @@
1.8.7
diff --git a/doc/API-html/functions.html b/doc/API-html/functions.html
index 0651ed0..05d25e7 100644
--- a/doc/API-html/functions.html
+++ b/doc/API-html/functions.html
@@ -201,7 +201,7 @@
1.8.7
diff --git a/doc/API-html/functions_func.html b/doc/API-html/functions_func.html
index 16cb051..827810a 100644
--- a/doc/API-html/functions_func.html
+++ b/doc/API-html/functions_func.html
@@ -201,7 +201,7 @@
1.8.7
diff --git a/doc/API-html/globals.html b/doc/API-html/globals.html
index 83069ed..22d8d42 100644
--- a/doc/API-html/globals.html
+++ b/doc/API-html/globals.html
@@ -52,6 +52,10 @@
1.8.7
diff --git a/doc/API-html/globals_func.html b/doc/API-html/globals_func.html
index 1457b87..9b40a2d 100644
--- a/doc/API-html/globals_func.html
+++ b/doc/API-html/globals_func.html
@@ -52,6 +52,10 @@
1.8.7
diff --git a/doc/API-html/hierarchy.html b/doc/API-html/hierarchy.html
index 668283b..91b9fbb 100644
--- a/doc/API-html/hierarchy.html
+++ b/doc/API-html/hierarchy.html
@@ -67,7 +67,7 @@
1.8.7
diff --git a/doc/API-html/index.hhc b/doc/API-html/index.hhc
index e5c8d8f..92f5dc2 100644
--- a/doc/API-html/index.hhc
+++ b/doc/API-html/index.hhc
@@ -194,6 +194,9 @@