| Documentation For Arduino users

- Main Page
- Related Pages
- Modules
- Classes
- Files
- Examples

- File List
- File Members

NexGauge.h
Go to the documentation of this file.
1
17 #ifndef __NEXGAUGE_H__
18 #define __NEXGAUGE_H__
19
20 #include "NexTouch.h"
21 #include "NexHardware.h"
30 class NexGauge: public NexObject
31 {
32 public: /* methods */
36 NexGauge(uint8_t pid, uint8_t cid, const char *name);
37
46 bool getValue(uint32_t *number);
47
56 bool setValue(uint32_t number);
57 };
58
63 #endif /* #ifndef __NEXGAUGE_H__ */
NexGauge
NexGauge component.
Definition: NexGauge.h:30
NexGauge::setValue
bool setValue(uint32_t number)
Set the value of gauge.
Definition: NexGauge.cpp:32
NexGauge::NexGauge
NexGauge(uint8_t pid, uint8_t cid, const char *name)
Constructor.
Definition: NexGauge.cpp:18
NexTouch.h
The definition of class NexTouch.
NexGauge::getValue
bool getValue(uint32_t *number)
Get the value of gauge.
Definition: NexGauge.cpp:23
NexHardware.h
The definition of base API for using Nextion.
NexObject
Root class of all Nextion components.
Definition: NexObject.h:32