API
For Arduino developers
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
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
Root Class of Nextion Components.
Definition: NexTouch.h:57