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