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