Documentation
For Arduino users
NexRadio.h
Go to the documentation of this file.
1 
17 #ifndef __NEXRADIO_H__
18 #define __NEXRADIO_H__
19 
20 #include "NexTouch.h"
21 #include "NexHardware.h"
35 class NexRadio:public NexTouch
36 {
37 public: /* methods */
38 
42  NexRadio(uint8_t pid, uint8_t cid, const char *name);
43 
50  uint32_t getValue(uint32_t *number);
51 
58  bool setValue(uint32_t number);
59 
66  uint32_t Get_background_color_bco(uint32_t *number);
67 
74  bool Set_background_color_bco(uint32_t number);
75 
82  uint32_t Get_font_color_pco(uint32_t *number);
83 
90  bool Set_font_color_pco(uint32_t number);
91 
92 };
98 #endif /* #ifndef __NEXRADION_H__ */
uint32_t Get_background_color_bco(uint32_t *number)
Get bco attribute of component.
Definition: NexRadio.cpp:45
uint32_t Get_font_color_pco(uint32_t *number)
Get pco attribute of component.
Definition: NexRadio.cpp:73
NexRadio component.
Definition: NexRadio.h:35
bool setValue(uint32_t number)
Set val attribute of component.
Definition: NexRadio.cpp:31
uint32_t getValue(uint32_t *number)
Get val attribute of component.
Definition: NexRadio.cpp:22
The definition of class NexTouch.
The definition of base API for using Nextion.
bool Set_background_color_bco(uint32_t number)
Set bco attribute of component.
Definition: NexRadio.cpp:55
bool Set_font_color_pco(uint32_t number)
Set pco attribute of component.
Definition: NexRadio.cpp:83
Father class of the components with touch events.
Definition: NexTouch.h:53
NexRadio(uint8_t pid, uint8_t cid, const char *name)
Constructor.
Definition: NexRadio.cpp:17