Nextion User Manual
For Arduino developers
NexSlider.h
Go to the documentation of this file.
1 
17 #ifndef __NEXSLIDER_H__
18 #define __NEXSLIDER_H__
19 
20 #include "NexTouch.h"
21 #include "NexHardware.h"
30 class NexSlider: public NexTouch
31 {
32 public: /* methods */
36  NexSlider(uint8_t pid, uint8_t cid, const char *name);
37 
46  bool getValue(uint32_t *number);
47 
56  bool setValue(uint32_t number);
57 };
63 #endif /* #ifndef __NEXSLIDER_H__ */
NexSlider component.
Definition: NexSlider.h:30
bool setValue(uint32_t number)
Set the value of slider.
Definition: NexSlider.cpp:31
bool getValue(uint32_t *number)
Get the value of slider.
Definition: NexSlider.cpp:22
NexSlider(uint8_t pid, uint8_t cid, const char *name)
Constructor.
Definition: NexSlider.cpp:17
The definition of class NexTouch.
The definition of base API for using Nextion.
Father class of the components with touch events.
Definition: NexTouch.h:53