Nextion User Manual
For Arduino developers
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 component.
Definition: NexGauge.h:30
bool setValue(uint32_t number)
Set the value of gauge.
Definition: NexGauge.cpp:32
NexGauge(uint8_t pid, uint8_t cid, const char *name)
Constructor.
Definition: NexGauge.cpp:18
The definition of class NexTouch.
bool getValue(uint32_t *number)
Get the value of gauge.
Definition: NexGauge.cpp:23
The definition of base API for using Nextion.
Root class of all Nextion components.
Definition: NexObject.h:32