| Documentation For Arduino users

- Main Page
- Related Pages
- Modules
- Classes
- Files
- Examples

- File List
- File Members

NexWaveform.h
Go to the documentation of this file.
1
16 #ifndef __NEXWAVEFORM_H__
17 #define __NEXWAVEFORM_H__
18
19 #include "NexTouch.h"
20 #include "NexHardware.h"
29 class NexWaveform: public NexObject
30 {
31 public: /* methods */
35 NexWaveform(uint8_t pid, uint8_t cid, const char *name);
36
46 bool addValue(uint8_t ch, uint8_t number);
47
54 uint32_t Get_background_color_bco(uint32_t *number);
55
62 bool Set_background_color_bco(uint32_t number);
63
70 uint32_t Get_grid_color_gdc(uint32_t *number);
71
78 bool Set_grid_color_gdc(uint32_t number);
79
86 uint32_t Get_grid_width_gdw(uint32_t *number);
87
94 bool Set_grid_width_gdw(uint32_t number);
95
102 uint32_t Get_grid_height_gdh(uint32_t *number);
103
110 bool Set_grid_height_gdh(uint32_t number);
111
118 uint32_t Get_channel_0_color_pco0(uint32_t *number);
119
126 bool Set_channel_0_color_pco0(uint32_t number);
127 };
128
133 #endif /* #ifndef __NEXWAVEFORM_H__ */
NexWaveform::Get_grid_width_gdw
uint32_t Get_grid_width_gdw(uint32_t *number)
Get gdw attribute of component.
Definition: NexWaveform.cpp:93
NexWaveform::Get_background_color_bco
uint32_t Get_background_color_bco(uint32_t *number)
Get bco attribute of component.
Definition: NexWaveform.cpp:37
NexWaveform::Set_grid_width_gdw
bool Set_grid_width_gdw(uint32_t number)
Set gdw attribute of component.
Definition: NexWaveform.cpp:103
NexWaveform::Set_grid_height_gdh
bool Set_grid_height_gdh(uint32_t number)
Set gdh attribute of component.
Definition: NexWaveform.cpp:131
NexWaveform::Get_grid_height_gdh
uint32_t Get_grid_height_gdh(uint32_t *number)
Get gdh attribute of component.
Definition: NexWaveform.cpp:121
NexWaveform::addValue
bool addValue(uint8_t ch, uint8_t number)
Add value to show.
Definition: NexWaveform.cpp:22
NexTouch.h
The definition of class NexTouch.
NexHardware.h
The definition of base API for using Nextion.
NexWaveform::Get_channel_0_color_pco0
uint32_t Get_channel_0_color_pco0(uint32_t *number)
Get pco0 attribute of component.
Definition: NexWaveform.cpp:149
NexWaveform::Set_background_color_bco
bool Set_background_color_bco(uint32_t number)
Set bco attribute of component.
Definition: NexWaveform.cpp:47
NexWaveform::NexWaveform
NexWaveform(uint8_t pid, uint8_t cid, const char *name)
Constructor.
Definition: NexWaveform.cpp:17
NexWaveform::Set_channel_0_color_pco0
bool Set_channel_0_color_pco0(uint32_t number)
Set pco0 attribute of component.
Definition: NexWaveform.cpp:159
NexObject
Root class of all Nextion components.
Definition: NexObject.h:32
NexWaveform
NexWaveform component.
Definition: NexWaveform.h:29
NexWaveform::Set_grid_color_gdc
bool Set_grid_color_gdc(uint32_t number)
Set gdc attribute of component.
Definition: NexWaveform.cpp:75
NexWaveform::Get_grid_color_gdc
uint32_t Get_grid_color_gdc(uint32_t *number)
Get gdc attribute of component.
Definition: NexWaveform.cpp:65