Documentation
For Arduino users
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 Get_background_image_pic(uint32_t *number);
47 
56  bool Set_background_image_pic(uint32_t number);
57 
66  bool getPic(uint32_t *number);
67 
76  bool setPic(uint32_t number);
77 };
78 
83 #endif /* #ifndef __NEXPICTURE_H__ */
bool Set_background_image_pic(uint32_t number)
Set picture's number.
Definition: NexPicture.cpp:32
bool setPic(uint32_t number)
Set picture's number.
Definition: NexPicture.cpp:55
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 Get_background_image_pic(uint32_t *number)
Get picture's number.
Definition: NexPicture.cpp:23
bool getPic(uint32_t *number)
Get picture's number.
Definition: NexPicture.cpp:46
Father class of the components with touch events.
Definition: NexTouch.h:53