Nextion User Manual
For Arduino developers
NexWaveform Class Reference

NexWaveform component. More...

#include <NexWaveform.h>

Inheritance diagram for NexWaveform:
Collaboration diagram for NexWaveform:

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...
 

Detailed Description

NexWaveform component.

Examples:
CompWaveform.ino.

Definition at line 29 of file NexWaveform.h.

Constructor & Destructor Documentation

NexWaveform::NexWaveform ( uint8_t  pid,
uint8_t  cid,
const char *  name 
)

Constructor.

Parameters
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.

Member Function Documentation

bool NexWaveform::addValue ( uint8_t  ch,
uint8_t  number 
)

Add value to show.

Parameters
ch- channel of waveform(0-3).
number- the value of waveform.
Return values
true- success.
false- failed.
Examples:
CompWaveform.ino.

Definition at line 22 of file NexWaveform.cpp.


The documentation for this class was generated from the following files: