NexWaveform.h
Go to the documentation of this file.
#ifndef __NEXWAVEFORM_H__
#define __NEXWAVEFORM_H__
#include "NexTouch.h"
#include "NexHardware.h"
class NexWaveform: public NexObject
{
public: /* methods */
NexWaveform(uint8_t pid, uint8_t cid, const char *name);
bool addValue(uint8_t ch, uint8_t number);
uint32_t Get_background_color_bco(uint32_t *number);
bool Set_background_color_bco(uint32_t number);
uint32_t Get_grid_color_gdc(uint32_t *number);
bool Set_grid_color_gdc(uint32_t number);
uint32_t Get_grid_width_gdw(uint32_t *number);
bool Set_grid_width_gdw(uint32_t number);
uint32_t Get_grid_height_gdh(uint32_t *number);
bool Set_grid_height_gdh(uint32_t number);
uint32_t Get_channel_0_color_pco0(uint32_t *number);
bool Set_channel_0_color_pco0(uint32_t number);
};
#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