diff --git a/NexPointer.cpp b/NexPointer.cpp index 7d6e1d0..715f691 100644 --- a/NexPointer.cpp +++ b/NexPointer.cpp @@ -1,3 +1,18 @@ +/** + * @file Nexpointer.cpp + * + * API of Nexpointer. + * + * @author Wu Pengfei (email:) + * @date 2015/7/10 + * @copyright + * Copyright (C) 2014-2015 ITEAD Intelligent Systems Co., Ltd. \n + * This program is free software; you can redistribute it and/or + * modify it under the terms of the GNU General Public License as + * published by the Free Software Foundation; either version 2 of + * the License, or (at your option) any later version. + */ + #include "NexPointer.h" /** diff --git a/NexPointer.h b/NexPointer.h index 2d690b1..f20eba8 100644 --- a/NexPointer.h +++ b/NexPointer.h @@ -1,3 +1,18 @@ +/** + * @file NexPointer.h + * + * API of NexPointer. + * + * @author Wu Pengfei (email:) + * @date 2015/7/10 + * @copyright + * Copyright (C) 2014-2015 ITEAD Intelligent Systems Co., Ltd. \n + * This program is free software; you can redistribute it and/or + * modify it under the terms of the GNU General Public License as + * published by the Free Software Foundation; either version 2 of + * the License, or (at your option) any later version. + */ + #ifndef __NEXPOINTER_H__ #define __NEXPOINTER_H__ #ifdef __cplusplus diff --git a/doc/API-html/_comp_button_8ino-example.html b/doc/API-html/_comp_button_8ino-example.html index 16139e6..6fa69ac 100644 --- a/doc/API-html/_comp_button_8ino-example.html +++ b/doc/API-html/_comp_button_8ino-example.html @@ -94,7 +94,7 @@ This program is free software; you can redistribute it and/or modify it under th diff --git a/doc/API-html/_comp_button_8ino_source.html b/doc/API-html/_comp_button_8ino_source.html index d1fb977..a4212ed 100644 --- a/doc/API-html/_comp_button_8ino_source.html +++ b/doc/API-html/_comp_button_8ino_source.html @@ -107,7 +107,7 @@ diff --git a/doc/API-html/_comp_crop_8ino-example.html b/doc/API-html/_comp_crop_8ino-example.html index 12802fc..06a40fb 100644 --- a/doc/API-html/_comp_crop_8ino-example.html +++ b/doc/API-html/_comp_crop_8ino-example.html @@ -88,7 +88,7 @@ This program is free software; you can redistribute it and/or modify it under th diff --git a/doc/API-html/_comp_crop_8ino_source.html b/doc/API-html/_comp_crop_8ino_source.html index cc6c860..52b935e 100644 --- a/doc/API-html/_comp_crop_8ino_source.html +++ b/doc/API-html/_comp_crop_8ino_source.html @@ -99,7 +99,7 @@ diff --git a/doc/API-html/_comp_hotspot_8ino-example.html b/doc/API-html/_comp_hotspot_8ino-example.html index e1ff5f0..bf67efb 100644 --- a/doc/API-html/_comp_hotspot_8ino-example.html +++ b/doc/API-html/_comp_hotspot_8ino-example.html @@ -106,7 +106,7 @@ This program is free software; you can redistribute it and/or modify it under th diff --git a/doc/API-html/_comp_hotspot_8ino_source.html b/doc/API-html/_comp_hotspot_8ino_source.html index facba9d..153472b 100644 --- a/doc/API-html/_comp_hotspot_8ino_source.html +++ b/doc/API-html/_comp_hotspot_8ino_source.html @@ -118,7 +118,7 @@ diff --git a/doc/API-html/_comp_page_8ino-example.html b/doc/API-html/_comp_page_8ino-example.html index d659733..3ed6752 100644 --- a/doc/API-html/_comp_page_8ino-example.html +++ b/doc/API-html/_comp_page_8ino-example.html @@ -109,7 +109,7 @@ This program is free software; you can redistribute it and/or modify it under th diff --git a/doc/API-html/_comp_page_8ino_source.html b/doc/API-html/_comp_page_8ino_source.html index 83911dc..7efbbee 100644 --- a/doc/API-html/_comp_page_8ino_source.html +++ b/doc/API-html/_comp_page_8ino_source.html @@ -121,7 +121,7 @@ diff --git a/doc/API-html/_comp_picture_8ino-example.html b/doc/API-html/_comp_picture_8ino-example.html index ba72466..8566e87 100644 --- a/doc/API-html/_comp_picture_8ino-example.html +++ b/doc/API-html/_comp_picture_8ino-example.html @@ -94,7 +94,7 @@ This program is free software; you can redistribute it and/or modify it under th diff --git a/doc/API-html/_comp_picture_8ino_source.html b/doc/API-html/_comp_picture_8ino_source.html index e250158..0a483aa 100644 --- a/doc/API-html/_comp_picture_8ino_source.html +++ b/doc/API-html/_comp_picture_8ino_source.html @@ -107,7 +107,7 @@ diff --git a/doc/API-html/_comp_pointer_8ino-example.html b/doc/API-html/_comp_pointer_8ino-example.html index c4e0cf2..748081a 100644 --- a/doc/API-html/_comp_pointer_8ino-example.html +++ b/doc/API-html/_comp_pointer_8ino-example.html @@ -49,7 +49,7 @@
-
#include "NexPointer.h"
+
#include "NexPointer.h"
#include "NexButton.h"
NexPointer pointer = NexPointer(0, 1, "pointer");
@@ -111,7 +111,7 @@ This program is free software; you can redistribute it and/or modify it under th
diff --git a/doc/API-html/_comp_pointer_8ino_source.html b/doc/API-html/_comp_pointer_8ino_source.html index 2f3e3a2..daf2848 100644 --- a/doc/API-html/_comp_pointer_8ino_source.html +++ b/doc/API-html/_comp_pointer_8ino_source.html @@ -54,7 +54,7 @@
1 
-
16 #include "NexPointer.h"
+
16 #include "NexPointer.h"
17 #include "NexButton.h"
18 
19 NexPointer pointer = NexPointer(0, 1, "pointer");
@@ -116,16 +116,17 @@
bool nexInit(void)
Init Nextion's baudrate,page id.
Definition: NexTouch.cpp:398
API of NexButton.
void attachPop(NexTouchEventCb pop, void *ptr=NULL)
Register button pop callback function.
Definition: NexButton.cpp:70
-
bool getValue(uint32_t *number)
Get the value of pointer.
Definition: NexPointer.cpp:20
-
NexPointer,subclass of NexTouch,provides simple methods to control pointer component.
Definition: NexPointer.h:10
+
bool getValue(uint32_t *number)
Get the value of pointer.
Definition: NexPointer.cpp:35
+
NexPointer,subclass of NexTouch,provides simple methods to control pointer component.
Definition: NexPointer.h:25
NexButton,subclass of NexTouch,provides simple methods to control button component.
Definition: NexButton.h:25
bool nexLoop(NexTouch **nex_listen_list)
Call mainEventLoop,watting for Nextion's touch event.
Definition: NexTouch.cpp:415
-
bool setValue(uint32_t number)
Set the value of pointer.
Definition: NexPointer.cpp:37
+
bool setValue(uint32_t number)
Set the value of pointer.
Definition: NexPointer.cpp:52
Root Class of Nextion Components.
Definition: NexTouch.h:57
+
API of NexPointer.
diff --git a/doc/API-html/_comp_progress_bar_8ino-example.html b/doc/API-html/_comp_progress_bar_8ino-example.html index 10f3a84..5f74b3a 100644 --- a/doc/API-html/_comp_progress_bar_8ino-example.html +++ b/doc/API-html/_comp_progress_bar_8ino-example.html @@ -111,7 +111,7 @@ This program is free software; you can redistribute it and/or modify it under th diff --git a/doc/API-html/_comp_progress_bar_8ino_source.html b/doc/API-html/_comp_progress_bar_8ino_source.html index a044b0b..0036c08 100644 --- a/doc/API-html/_comp_progress_bar_8ino_source.html +++ b/doc/API-html/_comp_progress_bar_8ino_source.html @@ -126,7 +126,7 @@ diff --git a/doc/API-html/_comp_text_8ino-example.html b/doc/API-html/_comp_text_8ino-example.html index ede86e3..73d012f 100644 --- a/doc/API-html/_comp_text_8ino-example.html +++ b/doc/API-html/_comp_text_8ino-example.html @@ -128,7 +128,7 @@ This program is free software; you can redistribute it and/or modify it under th diff --git a/doc/API-html/_comp_text_8ino_source.html b/doc/API-html/_comp_text_8ino_source.html index 7a36c29..78f85c6 100644 --- a/doc/API-html/_comp_text_8ino_source.html +++ b/doc/API-html/_comp_text_8ino_source.html @@ -142,7 +142,7 @@ diff --git a/doc/API-html/_nex_button_8cpp.html b/doc/API-html/_nex_button_8cpp.html index d99d6b4..e16defa 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 diff --git a/doc/API-html/_nex_button_8cpp_source.html b/doc/API-html/_nex_button_8cpp_source.html index d77c77d..725c54b 100644 --- a/doc/API-html/_nex_button_8cpp_source.html +++ b/doc/API-html/_nex_button_8cpp_source.html @@ -103,7 +103,7 @@ diff --git a/doc/API-html/_nex_button_8h.html b/doc/API-html/_nex_button_8h.html index a8ace4e..b737d4b 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 diff --git a/doc/API-html/_nex_button_8h_source.html b/doc/API-html/_nex_button_8h_source.html index a25920b..428a014 100644 --- a/doc/API-html/_nex_button_8h_source.html +++ b/doc/API-html/_nex_button_8h_source.html @@ -80,7 +80,7 @@ diff --git a/doc/API-html/_nex_crop_8cpp.html b/doc/API-html/_nex_crop_8cpp.html index 7c260a8..540f124 100644 --- a/doc/API-html/_nex_crop_8cpp.html +++ b/doc/API-html/_nex_crop_8cpp.html @@ -66,7 +66,7 @@ This program is free software; you can redistribute it and/or modify it under th diff --git a/doc/API-html/_nex_crop_8cpp_source.html b/doc/API-html/_nex_crop_8cpp_source.html index 082c134..1ebfa61 100644 --- a/doc/API-html/_nex_crop_8cpp_source.html +++ b/doc/API-html/_nex_crop_8cpp_source.html @@ -118,7 +118,7 @@ diff --git a/doc/API-html/_nex_crop_8h.html b/doc/API-html/_nex_crop_8h.html index a804fc4..8d47ce6 100644 --- a/doc/API-html/_nex_crop_8h.html +++ b/doc/API-html/_nex_crop_8h.html @@ -75,7 +75,7 @@ This program is free software; you can redistribute it and/or modify it under th diff --git a/doc/API-html/_nex_crop_8h_source.html b/doc/API-html/_nex_crop_8h_source.html index 01e1d4f..db487c5 100644 --- a/doc/API-html/_nex_crop_8h_source.html +++ b/doc/API-html/_nex_crop_8h_source.html @@ -78,7 +78,7 @@ diff --git a/doc/API-html/_nex_hotspot_8cpp.html b/doc/API-html/_nex_hotspot_8cpp.html index 6a7edce..58245ff 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 diff --git a/doc/API-html/_nex_hotspot_8cpp_source.html b/doc/API-html/_nex_hotspot_8cpp_source.html index 319843a..3c20051 100644 --- a/doc/API-html/_nex_hotspot_8cpp_source.html +++ b/doc/API-html/_nex_hotspot_8cpp_source.html @@ -88,7 +88,7 @@ diff --git a/doc/API-html/_nex_hotspot_8h.html b/doc/API-html/_nex_hotspot_8h.html index cee7872..6c34e8e 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 diff --git a/doc/API-html/_nex_hotspot_8h_source.html b/doc/API-html/_nex_hotspot_8h_source.html index f4dc31e..b51fe8c 100644 --- a/doc/API-html/_nex_hotspot_8h_source.html +++ b/doc/API-html/_nex_hotspot_8h_source.html @@ -82,7 +82,7 @@ diff --git a/doc/API-html/_nex_page_8cpp.html b/doc/API-html/_nex_page_8cpp.html index 5b2fccd..93795bd 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 diff --git a/doc/API-html/_nex_page_8cpp_source.html b/doc/API-html/_nex_page_8cpp_source.html index 5a52df2..347454b 100644 --- a/doc/API-html/_nex_page_8cpp_source.html +++ b/doc/API-html/_nex_page_8cpp_source.html @@ -94,7 +94,7 @@ diff --git a/doc/API-html/_nex_page_8h.html b/doc/API-html/_nex_page_8h.html index ca59e1c..a8d6903 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 diff --git a/doc/API-html/_nex_page_8h_source.html b/doc/API-html/_nex_page_8h_source.html index d61787a..f0672ab 100644 --- a/doc/API-html/_nex_page_8h_source.html +++ b/doc/API-html/_nex_page_8h_source.html @@ -78,7 +78,7 @@ diff --git a/doc/API-html/_nex_picture_8cpp.html b/doc/API-html/_nex_picture_8cpp.html index 30545fb..f04aaed 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 diff --git a/doc/API-html/_nex_picture_8cpp_source.html b/doc/API-html/_nex_picture_8cpp_source.html index add4222..4e8b37f 100644 --- a/doc/API-html/_nex_picture_8cpp_source.html +++ b/doc/API-html/_nex_picture_8cpp_source.html @@ -104,7 +104,7 @@ diff --git a/doc/API-html/_nex_picture_8h.html b/doc/API-html/_nex_picture_8h.html index 0061ad4..71db89e 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 diff --git a/doc/API-html/_nex_picture_8h_source.html b/doc/API-html/_nex_picture_8h_source.html index 291df10..81e485f 100644 --- a/doc/API-html/_nex_picture_8h_source.html +++ b/doc/API-html/_nex_picture_8h_source.html @@ -80,7 +80,7 @@ diff --git a/doc/API-html/_nex_pointer_8cpp.html b/doc/API-html/_nex_pointer_8cpp.html new file mode 100644 index 00000000..8eef084 --- /dev/null +++ b/doc/API-html/_nex_pointer_8cpp.html @@ -0,0 +1,74 @@ + + + + + + +API: NexPointer.cpp File Reference + + + + + + +
+
+ + + + + + + +
+
API +
+
For Arduino developers
+
+
+ + + + +
+
+
+
NexPointer.cpp File Reference
+
+
+ +

API of Nexpointer. +More...

+
#include "NexPointer.h"
+
+

Go to the source code of this file.

+

Detailed Description

+

API of Nexpointer.

+
Author
Wu Pengfei (email:pengf.nosp@m.ei.w.nosp@m.u@ite.nosp@m.ad.c.nosp@m.c)
+
Date
2015/7/10
+ + +

Definition in file NexPointer.cpp.

+
+ + + + diff --git a/doc/API-html/_nex_pointer_8cpp_source.html b/doc/API-html/_nex_pointer_8cpp_source.html index 33e4e3f..1b6307e 100644 --- a/doc/API-html/_nex_pointer_8cpp_source.html +++ b/doc/API-html/_nex_pointer_8cpp_source.html @@ -49,48 +49,50 @@
NexPointer.cpp
-
1 #include "NexPointer.h"
-
2 
-
7 NexPointer::NexPointer(NexPid pid, NexCid cid, char *name)
-
8  :NexTouch(pid, cid, name)
-
9 {
-
10 }
-
11 
-
20 bool NexPointer::getValue(uint32_t *number)
-
21 {
-
22  String cmd = String("get ");
-
23  cmd += getObjName();
-
24  cmd += ".val";
-
25  sendCommand(cmd.c_str());
-
26  return recvRetNumber(number);
-
27 }
-
28 
-
37 bool NexPointer::setValue(uint32_t number)
-
38 {
-
39  char buf[10] = {0};
-
40  String cmd;
-
41 
-
42  utoa(number, buf, 10);
-
43  cmd += getObjName();
-
44  cmd += ".val=";
-
45  cmd += buf;
-
46 
-
47  sendCommand(cmd.c_str());
-
48  return recvRetCommandFinished();
-
49 }
-
50 
-
bool getValue(uint32_t *number)
Get the value of pointer.
Definition: NexPointer.cpp:20
+Go to the documentation of this file.
1 
+
16 #include "NexPointer.h"
+
17 
+
22 NexPointer::NexPointer(NexPid pid, NexCid cid, char *name)
+
23  :NexTouch(pid, cid, name)
+
24 {
+
25 }
+
26 
+
35 bool NexPointer::getValue(uint32_t *number)
+
36 {
+
37  String cmd = String("get ");
+
38  cmd += getObjName();
+
39  cmd += ".val";
+
40  sendCommand(cmd.c_str());
+
41  return recvRetNumber(number);
+
42 }
+
43 
+
52 bool NexPointer::setValue(uint32_t number)
+
53 {
+
54  char buf[10] = {0};
+
55  String cmd;
+
56 
+
57  utoa(number, buf, 10);
+
58  cmd += getObjName();
+
59  cmd += ".val=";
+
60  cmd += buf;
+
61 
+
62  sendCommand(cmd.c_str());
+
63  return recvRetCommandFinished();
+
64 }
+
65 
+
bool getValue(uint32_t *number)
Get the value of pointer.
Definition: NexPointer.cpp:35
static void sendCommand(const char *cmd)
Send command to Nextion.
Definition: NexTouch.cpp:256
const char * getObjName(void)
Get component name.
Definition: NexTouch.cpp:107
static bool recvRetNumber(uint32_t *number, uint32_t timeout=500)
Receive uint32_t data.
Definition: NexTouch.cpp:351
-
NexPointer(NexPid pid, NexCid cid, char *name)
Constructor,inherited NexTouch's constructor function.
Definition: NexPointer.cpp:7
-
bool setValue(uint32_t number)
Set the value of pointer.
Definition: NexPointer.cpp:37
+
NexPointer(NexPid pid, NexCid cid, char *name)
Constructor,inherited NexTouch's constructor function.
Definition: NexPointer.cpp:22
+
bool setValue(uint32_t number)
Set the value of pointer.
Definition: NexPointer.cpp:52
static bool recvRetCommandFinished(uint32_t timeout=100)
Command is executed successfully.
Definition: NexTouch.cpp:219
Root Class of Nextion Components.
Definition: NexTouch.h:57
+
API of NexPointer.
diff --git a/doc/API-html/_nex_pointer_8h.html b/doc/API-html/_nex_pointer_8h.html new file mode 100644 index 00000000..a52869b --- /dev/null +++ b/doc/API-html/_nex_pointer_8h.html @@ -0,0 +1,83 @@ + + + + + + +API: NexPointer.h File Reference + + + + + + +
+
+ + + + + + + +
+
API +
+
For Arduino developers
+
+
+ + + + +
+
+ +
+
NexPointer.h File Reference
+
+
+ +

API of NexPointer. +More...

+
#include "NexTouch.h"
+
+

Go to the source code of this file.

+ + + + + +

+Classes

class  NexPointer
 NexPointer,subclass of NexTouch,provides simple methods to control pointer component. More...
 
+

Detailed Description

+

API of NexPointer.

+
Author
Wu Pengfei (email:pengf.nosp@m.ei.w.nosp@m.u@ite.nosp@m.ad.c.nosp@m.c)
+
Date
2015/7/10
+ + +

Definition in file NexPointer.h.

+
+ + + + diff --git a/doc/API-html/_nex_pointer_8h_source.html b/doc/API-html/_nex_pointer_8h_source.html index 0bac0b9..905cf71 100644 --- a/doc/API-html/_nex_pointer_8h_source.html +++ b/doc/API-html/_nex_pointer_8h_source.html @@ -49,32 +49,33 @@
NexPointer.h
-
1 #ifndef __NEXPOINTER_H__
-
2 #define __NEXPOINTER_H__
-
3 #ifdef __cplusplus
-
4 #include "NexTouch.h"
-
5 
-
10 class NexPointer: public NexTouch
-
11 {
-
12 public: /* methods */
-
13  NexPointer(NexPid pid, NexCid cid, char *name);
-
14 
-
15  bool getValue(uint32_t *number);
-
16  bool setValue(uint32_t number);
-
17 };
-
18 
-
19 #endif /* #ifdef __cplusplus */
-
20 #endif /* #ifndef __NEXPOINTER_H__ */
-
bool getValue(uint32_t *number)
Get the value of pointer.
Definition: NexPointer.cpp:20
-
NexPointer,subclass of NexTouch,provides simple methods to control pointer component.
Definition: NexPointer.h:10
+Go to the documentation of this file.
1 
+
16 #ifndef __NEXPOINTER_H__
+
17 #define __NEXPOINTER_H__
+
18 #ifdef __cplusplus
+
19 #include "NexTouch.h"
+
20 
+
25 class NexPointer: public NexTouch
+
26 {
+
27 public: /* methods */
+
28  NexPointer(NexPid pid, NexCid cid, char *name);
+
29 
+
30  bool getValue(uint32_t *number);
+
31  bool setValue(uint32_t number);
+
32 };
+
33 
+
34 #endif /* #ifdef __cplusplus */
+
35 #endif /* #ifndef __NEXPOINTER_H__ */
+
bool getValue(uint32_t *number)
Get the value of pointer.
Definition: NexPointer.cpp:35
+
NexPointer,subclass of NexTouch,provides simple methods to control pointer component.
Definition: NexPointer.h:25
API of Nextion.
-
NexPointer(NexPid pid, NexCid cid, char *name)
Constructor,inherited NexTouch's constructor function.
Definition: NexPointer.cpp:7
-
bool setValue(uint32_t number)
Set the value of pointer.
Definition: NexPointer.cpp:37
+
NexPointer(NexPid pid, NexCid cid, char *name)
Constructor,inherited NexTouch's constructor function.
Definition: NexPointer.cpp:22
+
bool setValue(uint32_t number)
Set the value of pointer.
Definition: NexPointer.cpp:52
Root Class of Nextion Components.
Definition: NexTouch.h:57
diff --git a/doc/API-html/_nex_progress_bar_8cpp.html b/doc/API-html/_nex_progress_bar_8cpp.html index abe21f3..71c11ac 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
diff --git a/doc/API-html/_nex_progress_bar_8cpp_source.html b/doc/API-html/_nex_progress_bar_8cpp_source.html index 3169798..53ac057 100644 --- a/doc/API-html/_nex_progress_bar_8cpp_source.html +++ b/doc/API-html/_nex_progress_bar_8cpp_source.html @@ -92,7 +92,7 @@ diff --git a/doc/API-html/_nex_progress_bar_8h.html b/doc/API-html/_nex_progress_bar_8h.html index bd5d955..680112a 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 diff --git a/doc/API-html/_nex_progress_bar_8h_source.html b/doc/API-html/_nex_progress_bar_8h_source.html index 6204002..f5f62a6 100644 --- a/doc/API-html/_nex_progress_bar_8h_source.html +++ b/doc/API-html/_nex_progress_bar_8h_source.html @@ -75,7 +75,7 @@ diff --git a/doc/API-html/_nex_serial_config_8h.html b/doc/API-html/_nex_serial_config_8h.html index d9cb29f..79e5fe9 100644 --- a/doc/API-html/_nex_serial_config_8h.html +++ b/doc/API-html/_nex_serial_config_8h.html @@ -65,7 +65,7 @@ This program is free software; you can redistribute it and/or modify it under th diff --git a/doc/API-html/_nex_serial_config_8h_source.html b/doc/API-html/_nex_serial_config_8h_source.html index 987523c..2e18b58 100644 --- a/doc/API-html/_nex_serial_config_8h_source.html +++ b/doc/API-html/_nex_serial_config_8h_source.html @@ -76,7 +76,7 @@ diff --git a/doc/API-html/_nex_text_8cpp.html b/doc/API-html/_nex_text_8cpp.html index 388f931..d34a7fe 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 diff --git a/doc/API-html/_nex_text_8cpp_source.html b/doc/API-html/_nex_text_8cpp_source.html index d80ea13..5daef7f 100644 --- a/doc/API-html/_nex_text_8cpp_source.html +++ b/doc/API-html/_nex_text_8cpp_source.html @@ -102,7 +102,7 @@ diff --git a/doc/API-html/_nex_text_8h.html b/doc/API-html/_nex_text_8h.html index 43aad28..7a0fc9f 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 diff --git a/doc/API-html/_nex_text_8h_source.html b/doc/API-html/_nex_text_8h_source.html index a4b9dbc..d099c96 100644 --- a/doc/API-html/_nex_text_8h_source.html +++ b/doc/API-html/_nex_text_8h_source.html @@ -80,7 +80,7 @@ diff --git a/doc/API-html/_nex_touch_8cpp.html b/doc/API-html/_nex_touch_8cpp.html index fb2b4fb..9c4230b 100644 --- a/doc/API-html/_nex_touch_8cpp.html +++ b/doc/API-html/_nex_touch_8cpp.html @@ -140,7 +140,7 @@ This program is free software; you can redistribute it and/or modify it under th diff --git a/doc/API-html/_nex_touch_8cpp_source.html b/doc/API-html/_nex_touch_8cpp_source.html index 21e5699..70805eb 100644 --- a/doc/API-html/_nex_touch_8cpp_source.html +++ b/doc/API-html/_nex_touch_8cpp_source.html @@ -637,7 +637,7 @@ diff --git a/doc/API-html/_nex_touch_8h.html b/doc/API-html/_nex_touch_8h.html index d0a78b8..64cb132 100644 --- a/doc/API-html/_nex_touch_8h.html +++ b/doc/API-html/_nex_touch_8h.html @@ -146,7 +146,7 @@ This program is free software; you can redistribute it and/or modify it under th diff --git a/doc/API-html/_nex_touch_8h_source.html b/doc/API-html/_nex_touch_8h_source.html index e7bf2b3..b9cd71f 100644 --- a/doc/API-html/_nex_touch_8h_source.html +++ b/doc/API-html/_nex_touch_8h_source.html @@ -170,7 +170,7 @@ diff --git a/doc/API-html/annotated.html b/doc/API-html/annotated.html index 9387425..00b88d4 100644 --- a/doc/API-html/annotated.html +++ b/doc/API-html/annotated.html @@ -67,7 +67,7 @@ diff --git a/doc/API-html/class_nex_button-members.html b/doc/API-html/class_nex_button-members.html index 77eed5b..84a2aac 100644 --- a/doc/API-html/class_nex_button-members.html +++ b/doc/API-html/class_nex_button-members.html @@ -72,7 +72,7 @@ diff --git a/doc/API-html/class_nex_button.html b/doc/API-html/class_nex_button.html index 4672132..6648f05 100644 --- a/doc/API-html/class_nex_button.html +++ b/doc/API-html/class_nex_button.html @@ -249,7 +249,7 @@ Additional Inherited Members diff --git a/doc/API-html/class_nex_crop-members.html b/doc/API-html/class_nex_crop-members.html index 6001fbe..8300b4d 100644 --- a/doc/API-html/class_nex_crop-members.html +++ b/doc/API-html/class_nex_crop-members.html @@ -70,7 +70,7 @@ diff --git a/doc/API-html/class_nex_crop.html b/doc/API-html/class_nex_crop.html index 9ab95d2..d8c4d96 100644 --- a/doc/API-html/class_nex_crop.html +++ b/doc/API-html/class_nex_crop.html @@ -170,7 +170,7 @@ Additional Inherited Members diff --git a/doc/API-html/class_nex_hotspot-members.html b/doc/API-html/class_nex_hotspot-members.html index f3ea590..178cdeb 100644 --- a/doc/API-html/class_nex_hotspot-members.html +++ b/doc/API-html/class_nex_hotspot-members.html @@ -72,7 +72,7 @@ diff --git a/doc/API-html/class_nex_hotspot.html b/doc/API-html/class_nex_hotspot.html index 4a0d7b1..b973a29 100644 --- a/doc/API-html/class_nex_hotspot.html +++ b/doc/API-html/class_nex_hotspot.html @@ -215,7 +215,7 @@ Additional Inherited Members diff --git a/doc/API-html/class_nex_page-members.html b/doc/API-html/class_nex_page-members.html index 8e0f693..72719a5 100644 --- a/doc/API-html/class_nex_page-members.html +++ b/doc/API-html/class_nex_page-members.html @@ -71,7 +71,7 @@ diff --git a/doc/API-html/class_nex_page.html b/doc/API-html/class_nex_page.html index dbf289a..97286a3 100644 --- a/doc/API-html/class_nex_page.html +++ b/doc/API-html/class_nex_page.html @@ -201,7 +201,7 @@ Additional Inherited Members diff --git a/doc/API-html/class_nex_picture-members.html b/doc/API-html/class_nex_picture-members.html index f825a8b..3dab74d 100644 --- a/doc/API-html/class_nex_picture-members.html +++ b/doc/API-html/class_nex_picture-members.html @@ -72,7 +72,7 @@ diff --git a/doc/API-html/class_nex_picture.html b/doc/API-html/class_nex_picture.html index b55c432..ea82115 100644 --- a/doc/API-html/class_nex_picture.html +++ b/doc/API-html/class_nex_picture.html @@ -244,7 +244,7 @@ Additional Inherited Members diff --git a/doc/API-html/class_nex_pointer-members.html b/doc/API-html/class_nex_pointer-members.html index 2c4dbd5..dd440b0 100644 --- a/doc/API-html/class_nex_pointer-members.html +++ b/doc/API-html/class_nex_pointer-members.html @@ -70,7 +70,7 @@ diff --git a/doc/API-html/class_nex_pointer.html b/doc/API-html/class_nex_pointer.html index 522336e..87c0bc2 100644 --- a/doc/API-html/class_nex_pointer.html +++ b/doc/API-html/class_nex_pointer.html @@ -122,7 +122,7 @@ Additional Inherited Members

NexPointer,subclass of NexTouch,provides simple methods to control pointer component.

Examples:
CompPointer.ino.
-

Definition at line 10 of file NexPointer.h.

+

Definition at line 25 of file NexPointer.h.

Member Function Documentation

@@ -154,7 +154,7 @@ Additional Inherited Members
Examples:
CompPointer.ino.
-

Definition at line 20 of file NexPointer.cpp.

+

Definition at line 35 of file NexPointer.cpp.

@@ -188,7 +188,7 @@ Additional Inherited Members
Examples:
CompPointer.ino.
-

Definition at line 37 of file NexPointer.cpp.

+

Definition at line 52 of file NexPointer.cpp.

@@ -199,7 +199,7 @@ Additional Inherited Members diff --git a/doc/API-html/class_nex_progress_bar-members.html b/doc/API-html/class_nex_progress_bar-members.html index f4a86ba..3fbbc9b 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 @@ diff --git a/doc/API-html/class_nex_progress_bar.html b/doc/API-html/class_nex_progress_bar.html index c9b2bcb..7224dc5 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 diff --git a/doc/API-html/class_nex_text-members.html b/doc/API-html/class_nex_text-members.html index 6b76a3c..3f02e8a 100644 --- a/doc/API-html/class_nex_text-members.html +++ b/doc/API-html/class_nex_text-members.html @@ -72,7 +72,7 @@ diff --git a/doc/API-html/class_nex_text.html b/doc/API-html/class_nex_text.html index f0d0a4c..d2c5a38 100644 --- a/doc/API-html/class_nex_text.html +++ b/doc/API-html/class_nex_text.html @@ -248,7 +248,7 @@ Additional Inherited Members diff --git a/doc/API-html/class_nex_touch-members.html b/doc/API-html/class_nex_touch-members.html index 0566be6..93441b5 100644 --- a/doc/API-html/class_nex_touch-members.html +++ b/doc/API-html/class_nex_touch-members.html @@ -67,7 +67,7 @@ diff --git a/doc/API-html/class_nex_touch.html b/doc/API-html/class_nex_touch.html index d0784e7..f09f9d0 100644 --- a/doc/API-html/class_nex_touch.html +++ b/doc/API-html/class_nex_touch.html @@ -477,7 +477,7 @@ Static Public Member Functions diff --git a/doc/API-html/classes.html b/doc/API-html/classes.html index 38d1580..39201c5 100644 --- a/doc/API-html/classes.html +++ b/doc/API-html/classes.html @@ -63,7 +63,7 @@ diff --git a/doc/API-html/dir_376a8598cfd3d58455c161124a3e8051.html b/doc/API-html/dir_376a8598cfd3d58455c161124a3e8051.html index 470eaac..00ece6e 100644 --- a/doc/API-html/dir_376a8598cfd3d58455c161124a3e8051.html +++ b/doc/API-html/dir_376a8598cfd3d58455c161124a3e8051.html @@ -56,7 +56,7 @@ Files diff --git a/doc/API-html/dir_7962cac16a99e8bbaaea18abede03fcb.html b/doc/API-html/dir_7962cac16a99e8bbaaea18abede03fcb.html index 76f7b92..4776abe 100644 --- a/doc/API-html/dir_7962cac16a99e8bbaaea18abede03fcb.html +++ b/doc/API-html/dir_7962cac16a99e8bbaaea18abede03fcb.html @@ -56,7 +56,7 @@ Files diff --git a/doc/API-html/dir_8dcbebf38b229bfa7bb34d68bf824093.html b/doc/API-html/dir_8dcbebf38b229bfa7bb34d68bf824093.html index 41ca363..53b8fbf 100644 --- a/doc/API-html/dir_8dcbebf38b229bfa7bb34d68bf824093.html +++ b/doc/API-html/dir_8dcbebf38b229bfa7bb34d68bf824093.html @@ -56,7 +56,7 @@ Files diff --git a/doc/API-html/dir_9bbf8342b0f9a157b7af08fe1412fc17.html b/doc/API-html/dir_9bbf8342b0f9a157b7af08fe1412fc17.html index b39e6f3..17f83a2 100644 --- a/doc/API-html/dir_9bbf8342b0f9a157b7af08fe1412fc17.html +++ b/doc/API-html/dir_9bbf8342b0f9a157b7af08fe1412fc17.html @@ -56,7 +56,7 @@ Files diff --git a/doc/API-html/dir_c918e8bf3fc71f849978cdb0d900e61c.html b/doc/API-html/dir_c918e8bf3fc71f849978cdb0d900e61c.html index 6b911f3..6f0168e 100644 --- a/doc/API-html/dir_c918e8bf3fc71f849978cdb0d900e61c.html +++ b/doc/API-html/dir_c918e8bf3fc71f849978cdb0d900e61c.html @@ -56,7 +56,7 @@ Files diff --git a/doc/API-html/dir_ce36ac18ad3deaf5eae0bd2e09775a7d.html b/doc/API-html/dir_ce36ac18ad3deaf5eae0bd2e09775a7d.html index e27a953..d2e0e99 100644 --- a/doc/API-html/dir_ce36ac18ad3deaf5eae0bd2e09775a7d.html +++ b/doc/API-html/dir_ce36ac18ad3deaf5eae0bd2e09775a7d.html @@ -56,7 +56,7 @@ Files diff --git a/doc/API-html/dir_d28a4824dc47e487b107a5db32ef43c4.html b/doc/API-html/dir_d28a4824dc47e487b107a5db32ef43c4.html index d36802d..505c688 100644 --- a/doc/API-html/dir_d28a4824dc47e487b107a5db32ef43c4.html +++ b/doc/API-html/dir_d28a4824dc47e487b107a5db32ef43c4.html @@ -70,7 +70,7 @@ Directories diff --git a/doc/API-html/dir_f3d39c87bc262720c50d5e3885667b8a.html b/doc/API-html/dir_f3d39c87bc262720c50d5e3885667b8a.html index 63c83b1..7e6f99f 100644 --- a/doc/API-html/dir_f3d39c87bc262720c50d5e3885667b8a.html +++ b/doc/API-html/dir_f3d39c87bc262720c50d5e3885667b8a.html @@ -56,7 +56,7 @@ Files diff --git a/doc/API-html/dir_f76977d9ffe8ddf3ad01f3d689aa5df4.html b/doc/API-html/dir_f76977d9ffe8ddf3ad01f3d689aa5df4.html index 2c019dd..d9878d0 100644 --- a/doc/API-html/dir_f76977d9ffe8ddf3ad01f3d689aa5df4.html +++ b/doc/API-html/dir_f76977d9ffe8ddf3ad01f3d689aa5df4.html @@ -56,7 +56,7 @@ Files diff --git a/doc/API-html/examples.html b/doc/API-html/examples.html index c8cf638..0d22d8c 100644 --- a/doc/API-html/examples.html +++ b/doc/API-html/examples.html @@ -64,7 +64,7 @@ diff --git a/doc/API-html/files.html b/doc/API-html/files.html index 0581eda..2aa37c9 100644 --- a/doc/API-html/files.html +++ b/doc/API-html/files.html @@ -78,8 +78,8 @@  NexPage.hAPI of NexPage  NexPicture.cppAPI of NexPicture  NexPicture.hAPI of NexPicture - NexPointer.cpp - NexPointer.h + NexPointer.cppAPI of Nexpointer + NexPointer.hAPI of NexPointer  NexProgressBar.cppAPI of NexProgressBar  NexProgressBar.hAPI of NexProgressBar  NexSerialConfig.hSerial configure @@ -92,7 +92,7 @@ diff --git a/doc/API-html/functions.html b/doc/API-html/functions.html index 8095b55..81e13ad 100644 --- a/doc/API-html/functions.html +++ b/doc/API-html/functions.html @@ -201,7 +201,7 @@ diff --git a/doc/API-html/functions_func.html b/doc/API-html/functions_func.html index 357ee83..d4fa92e 100644 --- a/doc/API-html/functions_func.html +++ b/doc/API-html/functions_func.html @@ -201,7 +201,7 @@ diff --git a/doc/API-html/globals.html b/doc/API-html/globals.html index ac04f3e..96565df 100644 --- a/doc/API-html/globals.html +++ b/doc/API-html/globals.html @@ -64,7 +64,7 @@ diff --git a/doc/API-html/globals_func.html b/doc/API-html/globals_func.html index fa6bb22..01f53a1 100644 --- a/doc/API-html/globals_func.html +++ b/doc/API-html/globals_func.html @@ -64,7 +64,7 @@ diff --git a/doc/API-html/hierarchy.html b/doc/API-html/hierarchy.html index 4489fef..40df6d8 100644 --- a/doc/API-html/hierarchy.html +++ b/doc/API-html/hierarchy.html @@ -67,7 +67,7 @@ diff --git a/doc/API-html/index.hhc b/doc/API-html/index.hhc index c86ed48..6c3fe9d 100644 --- a/doc/API-html/index.hhc +++ b/doc/API-html/index.hhc @@ -192,8 +192,16 @@
  • -
  • -
  • +
  • +
  • +
      +
    • +
        +
      • +
      • +
      • +
      +
    • diff --git a/doc/API-html/index.hhp b/doc/API-html/index.hhp index 713d5b7..af26030 100644 --- a/doc/API-html/index.hhp +++ b/doc/API-html/index.hhp @@ -59,6 +59,8 @@ _nex_page_8cpp.html _nex_page_8h.html _nex_picture_8cpp.html _nex_picture_8h.html +_nex_pointer_8cpp.html +_nex_pointer_8h.html _nex_progress_bar_8cpp.html _nex_progress_bar_8h.html _nex_serial_config_8h.html diff --git a/doc/API-html/index.html b/doc/API-html/index.html index da47f42..87a49c4 100644 --- a/doc/API-html/index.html +++ b/doc/API-html/index.html @@ -72,7 +72,7 @@

      Note: the default configuration is for MEGA2560.

      Redirect dbSerial and nexSerial

      If you want to change the default serial to debug or communicate with Nextion , you need to modify the line in file NexSerialConfig.h:

      #define dbSerial Serial    ---> #define dbSerial Serialxxx
      -#define nexSerial Serial2  ---> #define dbSerial Serialxxx
      +#define nexSerial Serial2  ---> #define nexSeria Serialxxx
       

      Disable Debug Serial

      If you want to disable the debug information,you need to modify the line in file NexSerialConfig.h:

      #define DEBUG_SERIAL_ENABLE ---> //#define DEBUG_SERIAL_ENABLE
       

      UNO

      @@ -87,7 +87,7 @@ diff --git a/doc/API-html/md_readme.html b/doc/API-html/md_readme.html index a2bf1ce..b11ab5d 100644 --- a/doc/API-html/md_readme.html +++ b/doc/API-html/md_readme.html @@ -46,7 +46,7 @@
      diff --git a/doc/API-html/pages.html b/doc/API-html/pages.html index b98e048..48f134d 100644 --- a/doc/API-html/pages.html +++ b/doc/API-html/pages.html @@ -51,7 +51,7 @@ diff --git a/doc/API-html/readme_8md_source.html b/doc/API-html/readme_8md_source.html index fd22885..382601c 100644 --- a/doc/API-html/readme_8md_source.html +++ b/doc/API-html/readme_8md_source.html @@ -105,7 +105,7 @@
      54 you need to modify the line in file `NexSerialConfig.h`:
      55 
      56  #define dbSerial Serial ---> #define dbSerial Serialxxx
      -
      57  #define nexSerial Serial2 ---> #define dbSerial Serialxxx
      +
      57  #define nexSerial Serial2 ---> #define nexSeria Serialxxx
      58 
      59 ## Disable Debug Serial
      60 
      @@ -143,7 +143,7 @@ diff --git a/doc/API.chm b/doc/API.chm index 75a57af..78b381a 100644 Binary files a/doc/API.chm and b/doc/API.chm differ diff --git a/readme.md b/readme.md index 870fb96..6d2ca16 100644 --- a/readme.md +++ b/readme.md @@ -54,7 +54,7 @@ If you want to change the default serial to debug or communicate with Nextion , you need to modify the line in file `NexSerialConfig.h`: #define dbSerial Serial ---> #define dbSerial Serialxxx - #define nexSerial Serial2 ---> #define dbSerial Serialxxx + #define nexSerial Serial2 ---> #define nexSeria Serialxxx ## Disable Debug Serial