Project

General

Profile

Actions

Nextion » History » Revision 2

« Previous | Revision 2/5 (diff) | Next »
Frédéric Blanc, 2022-01-20 15:26


Nextion

Lib

Code


NexPage ( uint8_t pid, uint8_t cid, const char * name)
page CID is always zero!

#include <Arduino.h>
#include "Nextion.h" 
NexPage p0 = NexPage(0,0,"page0");
NexPage p1 = NexPage(1,0,"page1");
...
p1.show();
...

Updated by Frédéric Blanc almost 3 years ago · 5 revisions