Project

General

Profile

Nextion » History » Version 2

Frédéric Blanc, 2022-01-20 15:26

1 1 Frédéric Blanc
h1. Nextion
2
3
h2. Lib
4
5
h2. Code
6
7
!clipboard-202201201522-uofla.png!
8 2 Frédéric Blanc
NexPage ( uint8_t pid, uint8_t cid, const char * name)
9
page CID is always zero! 
10
	
11 1 Frédéric Blanc
<pre><code class="cpp">
12
#include <Arduino.h>
13
#include "Nextion.h"
14
NexPage p0 = NexPage(0,0,"page0");
15
NexPage p1 = NexPage(1,0,"page1");
16 2 Frédéric Blanc
...
17
p1.show();
18
...
19 1 Frédéric Blanc
</code></pre>