mirror of
https://github.com/itead/ITEADLIB_Arduino_Nextion.git
synced 2026-03-04 09:14:01 +01:00
129 lines
6.9 KiB
HTML
129 lines
6.9 KiB
HTML
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
|
|
<html xmlns="http://www.w3.org/1999/xhtml">
|
|
<head>
|
|
<meta http-equiv="Content-Type" content="text/xhtml;charset=UTF-8"/>
|
|
<meta http-equiv="X-UA-Compatible" content="IE=9"/>
|
|
<meta name="generator" content="Doxygen 1.8.7"/>
|
|
<title>API: Nextion</title>
|
|
<link href="tabs.css" rel="stylesheet" type="text/css"/>
|
|
<script type="text/javascript" src="jquery.js"></script>
|
|
<script type="text/javascript" src="dynsections.js"></script>
|
|
<link href="doxygen.css" rel="stylesheet" type="text/css" />
|
|
</head>
|
|
<body>
|
|
<div id="top"><!-- do not remove this div, it is closed by doxygen! -->
|
|
<div id="titlearea">
|
|
<table cellspacing="0" cellpadding="0">
|
|
<tbody>
|
|
<tr style="height: 56px;">
|
|
<td id="projectlogo"><img alt="Logo" src="Logo.png"/></td>
|
|
<td style="padding-left: 0.5em;">
|
|
<div id="projectname">API
|
|
</div>
|
|
<div id="projectbrief">For Arduino developers</div>
|
|
</td>
|
|
</tr>
|
|
</tbody>
|
|
</table>
|
|
</div>
|
|
<!-- end header part -->
|
|
<!-- Generated by Doxygen 1.8.7 -->
|
|
<div id="navrow1" class="tabs">
|
|
<ul class="tablist">
|
|
<li><a href="index.html"><span>Main Page</span></a></li>
|
|
<li><a href="pages.html"><span>Related Pages</span></a></li>
|
|
<li><a href="modules.html"><span>Modules</span></a></li>
|
|
<li><a href="annotated.html"><span>Classes</span></a></li>
|
|
<li><a href="files.html"><span>Files</span></a></li>
|
|
<li><a href="examples.html"><span>Examples</span></a></li>
|
|
</ul>
|
|
</div>
|
|
</div><!-- top -->
|
|
<div class="header">
|
|
<div class="summary">
|
|
<a href="#func-members">Functions</a> </div>
|
|
<div class="headertitle">
|
|
<div class="title">Nextion</div> </div>
|
|
</div><!--header-->
|
|
<div class="contents">
|
|
|
|
<p>Nextion API Documentation.
|
|
<a href="#details">More...</a></p>
|
|
<table class="memberdecls">
|
|
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="func-members"></a>
|
|
Functions</h2></td></tr>
|
|
<tr class="memitem:gab09ddba6b72334d30ae091a7b038d790"><td class="memItemLeft" align="right" valign="top">bool </td><td class="memItemRight" valign="bottom"><a class="el" href="group___nextion.html#gab09ddba6b72334d30ae091a7b038d790">nexInit</a> (void)</td></tr>
|
|
<tr class="memdesc:gab09ddba6b72334d30ae091a7b038d790"><td class="mdescLeft"> </td><td class="mdescRight">Init Nextion's baudrate,page id. <a href="#gab09ddba6b72334d30ae091a7b038d790">More...</a><br /></td></tr>
|
|
<tr class="separator:gab09ddba6b72334d30ae091a7b038d790"><td class="memSeparator" colspan="2"> </td></tr>
|
|
<tr class="memitem:gae4200065e323c18e6b11e91a916d8475"><td class="memItemLeft" align="right" valign="top">void </td><td class="memItemRight" valign="bottom"><a class="el" href="group___nextion.html#gae4200065e323c18e6b11e91a916d8475">nexLoop</a> (<a class="el" href="class_nex_touch.html">NexTouch</a> **nex_listen_list)</td></tr>
|
|
<tr class="memdesc:gae4200065e323c18e6b11e91a916d8475"><td class="mdescLeft"> </td><td class="mdescRight">Call mainEventLoop,watting for Nextion's touch event. <a href="#gae4200065e323c18e6b11e91a916d8475">More...</a><br /></td></tr>
|
|
<tr class="separator:gae4200065e323c18e6b11e91a916d8475"><td class="memSeparator" colspan="2"> </td></tr>
|
|
</table>
|
|
<a name="details" id="details"></a><h2 class="groupheader">Detailed Description</h2>
|
|
<p>Nextion API Documentation. </p>
|
|
<h2 class="groupheader">Function Documentation</h2>
|
|
<a class="anchor" id="gab09ddba6b72334d30ae091a7b038d790"></a>
|
|
<div class="memitem">
|
|
<div class="memproto">
|
|
<table class="memname">
|
|
<tr>
|
|
<td class="memname">bool nexInit </td>
|
|
<td>(</td>
|
|
<td class="paramtype">void </td>
|
|
<td class="paramname"></td><td>)</td>
|
|
<td></td>
|
|
</tr>
|
|
</table>
|
|
</div><div class="memdoc">
|
|
|
|
<p>Init Nextion's baudrate,page id. </p>
|
|
<dl class="retval"><dt>Return values</dt><dd>
|
|
<table class="retval">
|
|
<tr><td class="paramname">true</td><td>- success. </td></tr>
|
|
<tr><td class="paramname">false</td><td>- failed. </td></tr>
|
|
</table>
|
|
</dd>
|
|
</dl>
|
|
<dl><dt><b>Examples: </b></dt><dd><a class="el" href="_comp_button_8ino-example.html#a4">CompButton.ino</a>, <a class="el" href="_comp_crop_8ino-example.html#a4">CompCrop.ino</a>, <a class="el" href="_comp_gauge_8ino-example.html#a5">CompGauge.ino</a>, <a class="el" href="_comp_hotspot_8ino-example.html#a2">CompHotspot.ino</a>, <a class="el" href="_comp_page_8ino-example.html#a3">CompPage.ino</a>, <a class="el" href="_comp_picture_8ino-example.html#a4">CompPicture.ino</a>, <a class="el" href="_comp_progress_bar_8ino-example.html#a5">CompProgressBar.ino</a>, <a class="el" href="_comp_slider_8ino-example.html#a5">CompSlider.ino</a>, <a class="el" href="_comp_text_8ino-example.html#a5">CompText.ino</a>, and <a class="el" href="_comp_waveform_8ino-example.html#a1">CompWaveform.ino</a>.</dd>
|
|
</dl>
|
|
<p>Definition at line <a class="el" href="_nex_hardware_8cpp_source.html#l00272">272</a> of file <a class="el" href="_nex_hardware_8cpp_source.html">NexHardware.cpp</a>.</p>
|
|
|
|
</div>
|
|
</div>
|
|
<a class="anchor" id="gae4200065e323c18e6b11e91a916d8475"></a>
|
|
<div class="memitem">
|
|
<div class="memproto">
|
|
<table class="memname">
|
|
<tr>
|
|
<td class="memname">void nexLoop </td>
|
|
<td>(</td>
|
|
<td class="paramtype"><a class="el" href="class_nex_touch.html">NexTouch</a> ** </td>
|
|
<td class="paramname"><em>nex_listen_list</em></td><td>)</td>
|
|
<td></td>
|
|
</tr>
|
|
</table>
|
|
</div><div class="memdoc">
|
|
|
|
<p>Call mainEventLoop,watting for Nextion's touch event. </p>
|
|
<dl class="params"><dt>Parameters</dt><dd>
|
|
<table class="params">
|
|
<tr><td class="paramname">nex_listen_list</td><td>- index to Nextion Components list. </td></tr>
|
|
</table>
|
|
</dd>
|
|
</dl>
|
|
<dl><dt><b>Examples: </b></dt><dd><a class="el" href="_comp_button_8ino-example.html#a6">CompButton.ino</a>, <a class="el" href="_comp_crop_8ino-example.html#a6">CompCrop.ino</a>, <a class="el" href="_comp_gauge_8ino-example.html#a7">CompGauge.ino</a>, <a class="el" href="_comp_hotspot_8ino-example.html#a5">CompHotspot.ino</a>, <a class="el" href="_comp_page_8ino-example.html#a5">CompPage.ino</a>, <a class="el" href="_comp_picture_8ino-example.html#a6">CompPicture.ino</a>, <a class="el" href="_comp_progress_bar_8ino-example.html#a7">CompProgressBar.ino</a>, <a class="el" href="_comp_slider_8ino-example.html#a7">CompSlider.ino</a>, and <a class="el" href="_comp_text_8ino-example.html#a7">CompText.ino</a>.</dd>
|
|
</dl>
|
|
<p>Definition at line <a class="el" href="_nex_hardware_8cpp_source.html#l00293">293</a> of file <a class="el" href="_nex_hardware_8cpp_source.html">NexHardware.cpp</a>.</p>
|
|
|
|
</div>
|
|
</div>
|
|
</div><!-- contents -->
|
|
<!-- start footer part -->
|
|
<hr class="footer"/><address class="footer"><small>
|
|
Generated on Thu Aug 13 2015 18:10:27 for API by  <a href="http://www.doxygen.org/index.html">
|
|
<img class="footer" src="doxygen.png" alt="doxygen"/>
|
|
</a> 1.8.7
|
|
</small></address>
|
|
</body>
|
|
</html>
|