Nextion User Manual
For Arduino developers
|
NexWaveform component. More...
#include <NexWaveform.h>
Public Member Functions | |
NexWaveform (uint8_t pid, uint8_t cid, const char *name) | |
Constructor. More... | |
bool | addValue (uint8_t ch, uint8_t number) |
Add value to show. More... | |
Public Member Functions inherited from NexObject | |
NexObject (uint8_t pid, uint8_t cid, const char *name) | |
Constructor. More... | |
void | printObjInfo (void) |
Print current object'address, page id, component id and name. More... | |
NexWaveform::NexWaveform | ( | uint8_t | pid, |
uint8_t | cid, | ||
const char * | name | ||
) |
Constructor.
pid | - page id. |
cid | - component id. |
name | - pointer to an unique name in range of all components. |
Definition at line 17 of file NexWaveform.cpp.
bool NexWaveform::addValue | ( | uint8_t | ch, |
uint8_t | number | ||
) |
Add value to show.
ch | - channel of waveform(0-3). |
number | - the value of waveform. |
true | - success. |
false | - failed. |
Definition at line 22 of file NexWaveform.cpp.