Tasmota/lib/lib_basic/IRremoteESP8266-2.7.13/docs/doxygen/html/classIRHitachiAc3.html

499 lines
24 KiB
HTML

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "https://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.17"/>
<meta name="viewport" content="width=device-width, initial-scale=1"/>
<title>IRremoteESP8266: IRHitachiAc3 Class Reference</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="search/search.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="search/searchdata.js"></script>
<script type="text/javascript" src="search/search.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="projectalign" style="padding-left: 0.5em;">
<div id="projectname">IRremoteESP8266
</div>
</td>
</tr>
</tbody>
</table>
</div>
<!-- end header part -->
<!-- Generated by Doxygen 1.8.17 -->
<script type="text/javascript">
/* @license magnet:?xt=urn:btih:cf05388f2679ee054f2beb29a391d25f4e673ac3&amp;dn=gpl-2.0.txt GPL-v2 */
var searchBox = new SearchBox("searchBox", "search",false,'Search');
/* @license-end */
</script>
<script type="text/javascript" src="menudata.js"></script>
<script type="text/javascript" src="menu.js"></script>
<script type="text/javascript">
/* @license magnet:?xt=urn:btih:cf05388f2679ee054f2beb29a391d25f4e673ac3&amp;dn=gpl-2.0.txt GPL-v2 */
$(function() {
initMenu('',true,false,'search.php','Search');
$(document).ready(function() { init_search(); });
});
/* @license-end */</script>
<div id="main-nav"></div>
<!-- window showing the filter options -->
<div id="MSearchSelectWindow"
onmouseover="return searchBox.OnSearchSelectShow()"
onmouseout="return searchBox.OnSearchSelectHide()"
onkeydown="return searchBox.OnSearchSelectKey(event)">
</div>
<!-- iframe showing the search results (closed by default) -->
<div id="MSearchResultsWindow">
<iframe src="javascript:void(0)" frameborder="0"
name="MSearchResults" id="MSearchResults">
</iframe>
</div>
</div><!-- top -->
<div class="header">
<div class="summary">
<a href="#pub-methods">Public Member Functions</a> &#124;
<a href="#pub-static-methods">Static Public Member Functions</a> &#124;
<a href="#pri-methods">Private Member Functions</a> &#124;
<a href="#pri-attribs">Private Attributes</a> &#124;
<a href="classIRHitachiAc3-members.html">List of all members</a> </div>
<div class="headertitle">
<div class="title">IRHitachiAc3 Class Reference</div> </div>
</div><!--header-->
<div class="contents">
<p>Class for handling detailed Hitachi 15to27-byte/120to216-bit A/C messages.
<a href="classIRHitachiAc3.html#details">More...</a></p>
<p><code>#include &lt;<a class="el" href="ir__Hitachi_8h_source.html">ir_Hitachi.h</a>&gt;</code></p>
<div class="dynheader">
Collaboration diagram for IRHitachiAc3:</div>
<div class="dyncontent">
<div class="center"><img src="classIRHitachiAc3__coll__graph.png" border="0" usemap="#IRHitachiAc3_coll__map" alt="Collaboration graph"/></div>
<map name="IRHitachiAc3_coll__map" id="IRHitachiAc3_coll__map">
<area shape="rect" title="Class for handling detailed Hitachi 15to27&#45;byte/120to216&#45;bit A/C messages." alt="" coords="5,95,111,121"/>
<area shape="rect" href="classIRsend.html" title="Class for sending all basic IR protocols." alt="" coords="25,5,91,32"/>
</map>
<center><span class="legend">[<a href="graph_legend.html">legend</a>]</span></center></div>
<table class="memberdecls">
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="pub-methods"></a>
Public Member Functions</h2></td></tr>
<tr class="memitem:adef0e7ad217f078ce418e3aa82b9cb86"><td class="memItemLeft" align="right" valign="top">&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classIRHitachiAc3.html#adef0e7ad217f078ce418e3aa82b9cb86">IRHitachiAc3</a> (const uint16_t pin, const bool inverted=false, const bool use_modulation=true)</td></tr>
<tr class="memdesc:adef0e7ad217f078ce418e3aa82b9cb86"><td class="mdescLeft">&#160;</td><td class="mdescRight">Class constructor. <a href="classIRHitachiAc3.html#adef0e7ad217f078ce418e3aa82b9cb86">More...</a><br /></td></tr>
<tr class="separator:adef0e7ad217f078ce418e3aa82b9cb86"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a7bdcddf9c7f85b7cb43a92198e422549"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classIRHitachiAc3.html#a7bdcddf9c7f85b7cb43a92198e422549">stateReset</a> (void)</td></tr>
<tr class="memdesc:a7bdcddf9c7f85b7cb43a92198e422549"><td class="mdescLeft">&#160;</td><td class="mdescRight">Reset the internal state to a fixed known good state. <a href="classIRHitachiAc3.html#a7bdcddf9c7f85b7cb43a92198e422549">More...</a><br /></td></tr>
<tr class="separator:a7bdcddf9c7f85b7cb43a92198e422549"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ab95fd527a4841c44d6e91c8b4afee8b4"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classIRHitachiAc3.html#ab95fd527a4841c44d6e91c8b4afee8b4">send</a> (const uint16_t repeat=<a class="el" href="IRremoteESP8266_8h.html#acc8510281d2ff9a808501d375c03ba21">kHitachiAcDefaultRepeat</a>)</td></tr>
<tr class="separator:ab95fd527a4841c44d6e91c8b4afee8b4"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a02e065c08f9ec4a3d9e6f71432087595"><td class="memItemLeft" align="right" valign="top">int8_t&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classIRHitachiAc3.html#a02e065c08f9ec4a3d9e6f71432087595">calibrate</a> (void)</td></tr>
<tr class="memdesc:a02e065c08f9ec4a3d9e6f71432087595"><td class="mdescLeft">&#160;</td><td class="mdescRight">Run the calibration to calculate uSec timing offsets for this platform. <a href="classIRHitachiAc3.html#a02e065c08f9ec4a3d9e6f71432087595">More...</a><br /></td></tr>
<tr class="separator:a02e065c08f9ec4a3d9e6f71432087595"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a6d79ac7b8ce977e8059019349d6991a7"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classIRHitachiAc3.html#a6d79ac7b8ce977e8059019349d6991a7">begin</a> (void)</td></tr>
<tr class="memdesc:a6d79ac7b8ce977e8059019349d6991a7"><td class="mdescLeft">&#160;</td><td class="mdescRight">Set up hardware to be able to send a message. <a href="classIRHitachiAc3.html#a6d79ac7b8ce977e8059019349d6991a7">More...</a><br /></td></tr>
<tr class="separator:a6d79ac7b8ce977e8059019349d6991a7"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a511c9b731a0367fd05b32b42a69adec2"><td class="memItemLeft" align="right" valign="top">uint8_t&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classIRHitachiAc3.html#a511c9b731a0367fd05b32b42a69adec2">getMode</a> (void)</td></tr>
<tr class="separator:a511c9b731a0367fd05b32b42a69adec2"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a915605ca6d0bf3ff6fc9b376ddd394ae"><td class="memItemLeft" align="right" valign="top">uint8_t *&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classIRHitachiAc3.html#a915605ca6d0bf3ff6fc9b376ddd394ae">getRaw</a> (void)</td></tr>
<tr class="memdesc:a915605ca6d0bf3ff6fc9b376ddd394ae"><td class="mdescLeft">&#160;</td><td class="mdescRight">Get a PTR to the internal state/code for this protocol. <a href="classIRHitachiAc3.html#a915605ca6d0bf3ff6fc9b376ddd394ae">More...</a><br /></td></tr>
<tr class="separator:a915605ca6d0bf3ff6fc9b376ddd394ae"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:acff4faf79a30df7b7e7c183dec4153a7"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classIRHitachiAc3.html#acff4faf79a30df7b7e7c183dec4153a7">setRaw</a> (const uint8_t new_code[], const uint16_t length=<a class="el" href="IRremoteESP8266_8h.html#a9cc230bac4f902d46049c7b2c2fdbd3d">kHitachiAc3StateLength</a>)</td></tr>
<tr class="memdesc:acff4faf79a30df7b7e7c183dec4153a7"><td class="mdescLeft">&#160;</td><td class="mdescRight">Set the internal state from a valid code for this protocol. <a href="classIRHitachiAc3.html#acff4faf79a30df7b7e7c183dec4153a7">More...</a><br /></td></tr>
<tr class="separator:acff4faf79a30df7b7e7c183dec4153a7"><td class="memSeparator" colspan="2">&#160;</td></tr>
</table><table class="memberdecls">
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="pub-static-methods"></a>
Static Public Member Functions</h2></td></tr>
<tr class="memitem:ac06b36245c85480d97c1a9f49cfaa005"><td class="memItemLeft" align="right" valign="top">static bool&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classIRHitachiAc3.html#ac06b36245c85480d97c1a9f49cfaa005">hasInvertedStates</a> (const uint8_t state[], const uint16_t length)</td></tr>
<tr class="memdesc:ac06b36245c85480d97c1a9f49cfaa005"><td class="mdescLeft">&#160;</td><td class="mdescRight">Check if every second byte of the state, after the fixed header is inverted to the previous byte. <a href="classIRHitachiAc3.html#ac06b36245c85480d97c1a9f49cfaa005">More...</a><br /></td></tr>
<tr class="separator:ac06b36245c85480d97c1a9f49cfaa005"><td class="memSeparator" colspan="2">&#160;</td></tr>
</table><table class="memberdecls">
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="pri-methods"></a>
Private Member Functions</h2></td></tr>
<tr class="memitem:af37c710449cd32df4753509749e31cad"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classIRHitachiAc3.html#af37c710449cd32df4753509749e31cad">setInvertedStates</a> (const uint16_t length=<a class="el" href="IRremoteESP8266_8h.html#a9cc230bac4f902d46049c7b2c2fdbd3d">kHitachiAc3StateLength</a>)</td></tr>
<tr class="memdesc:af37c710449cd32df4753509749e31cad"><td class="mdescLeft">&#160;</td><td class="mdescRight">Invert every second byte of the internal state, after the fixed header. <a href="classIRHitachiAc3.html#af37c710449cd32df4753509749e31cad">More...</a><br /></td></tr>
<tr class="separator:af37c710449cd32df4753509749e31cad"><td class="memSeparator" colspan="2">&#160;</td></tr>
</table><table class="memberdecls">
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="pri-attribs"></a>
Private Attributes</h2></td></tr>
<tr class="memitem:a8dc3b713e29f3ea96a106868451ba728"><td class="memItemLeft" align="right" valign="top"><a class="el" href="classIRsend.html">IRsend</a>&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classIRHitachiAc3.html#a8dc3b713e29f3ea96a106868451ba728">_irsend</a></td></tr>
<tr class="memdesc:a8dc3b713e29f3ea96a106868451ba728"><td class="mdescLeft">&#160;</td><td class="mdescRight">Instance of the IR send class. <a href="classIRHitachiAc3.html#a8dc3b713e29f3ea96a106868451ba728">More...</a><br /></td></tr>
<tr class="separator:a8dc3b713e29f3ea96a106868451ba728"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a5602ded229a41796c205519449f7d509"><td class="memItemLeft" align="right" valign="top">uint8_t&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classIRHitachiAc3.html#a5602ded229a41796c205519449f7d509">remote_state</a> [<a class="el" href="IRremoteESP8266_8h.html#a9cc230bac4f902d46049c7b2c2fdbd3d">kHitachiAc3StateLength</a>]</td></tr>
<tr class="memdesc:a5602ded229a41796c205519449f7d509"><td class="mdescLeft">&#160;</td><td class="mdescRight">The state in native code. <a href="classIRHitachiAc3.html#a5602ded229a41796c205519449f7d509">More...</a><br /></td></tr>
<tr class="separator:a5602ded229a41796c205519449f7d509"><td class="memSeparator" colspan="2">&#160;</td></tr>
</table>
<a name="details" id="details"></a><h2 class="groupheader">Detailed Description</h2>
<div class="textblock"><p>Class for handling detailed Hitachi 15to27-byte/120to216-bit A/C messages. </p>
</div><h2 class="groupheader">Constructor &amp; Destructor Documentation</h2>
<a id="adef0e7ad217f078ce418e3aa82b9cb86"></a>
<h2 class="memtitle"><span class="permalink"><a href="#adef0e7ad217f078ce418e3aa82b9cb86">&#9670;&nbsp;</a></span>IRHitachiAc3()</h2>
<div class="memitem">
<div class="memproto">
<table class="mlabels">
<tr>
<td class="mlabels-left">
<table class="memname">
<tr>
<td class="memname">IRHitachiAc3::IRHitachiAc3 </td>
<td>(</td>
<td class="paramtype">const uint16_t&#160;</td>
<td class="paramname"><em>pin</em>, </td>
</tr>
<tr>
<td class="paramkey"></td>
<td></td>
<td class="paramtype">const bool&#160;</td>
<td class="paramname"><em>inverted</em> = <code>false</code>, </td>
</tr>
<tr>
<td class="paramkey"></td>
<td></td>
<td class="paramtype">const bool&#160;</td>
<td class="paramname"><em>use_modulation</em> = <code>true</code>&#160;</td>
</tr>
<tr>
<td></td>
<td>)</td>
<td></td><td></td>
</tr>
</table>
</td>
<td class="mlabels-right">
<span class="mlabels"><span class="mlabel">explicit</span></span> </td>
</tr>
</table>
</div><div class="memdoc">
<p>Class constructor. </p>
<dl class="params"><dt>Parameters</dt><dd>
<table class="params">
<tr><td class="paramdir">[in]</td><td class="paramname">pin</td><td>GPIO to be used when sending. </td></tr>
<tr><td class="paramdir">[in]</td><td class="paramname">inverted</td><td>Is the output signal to be inverted? </td></tr>
<tr><td class="paramdir">[in]</td><td class="paramname">use_modulation</td><td>Is frequency modulation to be used? </td></tr>
</table>
</dd>
</dl>
</div>
</div>
<h2 class="groupheader">Member Function Documentation</h2>
<a id="a6d79ac7b8ce977e8059019349d6991a7"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a6d79ac7b8ce977e8059019349d6991a7">&#9670;&nbsp;</a></span>begin()</h2>
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">void IRHitachiAc3::begin </td>
<td>(</td>
<td class="paramtype">void&#160;</td>
<td class="paramname"></td><td>)</td>
<td></td>
</tr>
</table>
</div><div class="memdoc">
<p>Set up hardware to be able to send a message. </p>
</div>
</div>
<a id="a02e065c08f9ec4a3d9e6f71432087595"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a02e065c08f9ec4a3d9e6f71432087595">&#9670;&nbsp;</a></span>calibrate()</h2>
<div class="memitem">
<div class="memproto">
<table class="mlabels">
<tr>
<td class="mlabels-left">
<table class="memname">
<tr>
<td class="memname">int8_t IRHitachiAc3::calibrate </td>
<td>(</td>
<td class="paramtype">void&#160;</td>
<td class="paramname"></td><td>)</td>
<td></td>
</tr>
</table>
</td>
<td class="mlabels-right">
<span class="mlabels"><span class="mlabel">inline</span></span> </td>
</tr>
</table>
</div><div class="memdoc">
<p>Run the calibration to calculate uSec timing offsets for this platform. </p>
<dl class="section return"><dt>Returns</dt><dd>The uSec timing offset needed per modulation of the IR Led. </dd></dl>
<dl class="section note"><dt>Note</dt><dd>This will produce a 65ms IR signal pulse at 38kHz. Only ever needs to be run once per object instantiation, if at all. </dd></dl>
</div>
</div>
<a id="a511c9b731a0367fd05b32b42a69adec2"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a511c9b731a0367fd05b32b42a69adec2">&#9670;&nbsp;</a></span>getMode()</h2>
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">uint8_t IRHitachiAc3::getMode </td>
<td>(</td>
<td class="paramtype">void&#160;</td>
<td class="paramname"></td><td>)</td>
<td></td>
</tr>
</table>
</div><div class="memdoc">
</div>
</div>
<a id="a915605ca6d0bf3ff6fc9b376ddd394ae"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a915605ca6d0bf3ff6fc9b376ddd394ae">&#9670;&nbsp;</a></span>getRaw()</h2>
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">uint8_t * IRHitachiAc3::getRaw </td>
<td>(</td>
<td class="paramtype">void&#160;</td>
<td class="paramname"></td><td>)</td>
<td></td>
</tr>
</table>
</div><div class="memdoc">
<p>Get a PTR to the internal state/code for this protocol. </p>
<dl class="section return"><dt>Returns</dt><dd>PTR to a code for this protocol based on the current internal state. </dd></dl>
</div>
</div>
<a id="ac06b36245c85480d97c1a9f49cfaa005"></a>
<h2 class="memtitle"><span class="permalink"><a href="#ac06b36245c85480d97c1a9f49cfaa005">&#9670;&nbsp;</a></span>hasInvertedStates()</h2>
<div class="memitem">
<div class="memproto">
<table class="mlabels">
<tr>
<td class="mlabels-left">
<table class="memname">
<tr>
<td class="memname">bool IRHitachiAc3::hasInvertedStates </td>
<td>(</td>
<td class="paramtype">const uint8_t&#160;</td>
<td class="paramname"><em>state</em>[], </td>
</tr>
<tr>
<td class="paramkey"></td>
<td></td>
<td class="paramtype">const uint16_t&#160;</td>
<td class="paramname"><em>length</em>&#160;</td>
</tr>
<tr>
<td></td>
<td>)</td>
<td></td><td></td>
</tr>
</table>
</td>
<td class="mlabels-right">
<span class="mlabels"><span class="mlabel">static</span></span> </td>
</tr>
</table>
</div><div class="memdoc">
<p>Check if every second byte of the state, after the fixed header is inverted to the previous byte. </p>
<dl class="params"><dt>Parameters</dt><dd>
<table class="params">
<tr><td class="paramdir">[in]</td><td class="paramname">state</td><td>The state array to be checked. </td></tr>
<tr><td class="paramdir">[in]</td><td class="paramname">length</td><td>The size of the state array. </td></tr>
</table>
</dd>
</dl>
<dl class="section note"><dt>Note</dt><dd>This is this protocols integrity check. </dd></dl>
</div>
</div>
<a id="ab95fd527a4841c44d6e91c8b4afee8b4"></a>
<h2 class="memtitle"><span class="permalink"><a href="#ab95fd527a4841c44d6e91c8b4afee8b4">&#9670;&nbsp;</a></span>send()</h2>
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">void IRHitachiAc3::send </td>
<td>(</td>
<td class="paramtype">const uint16_t&#160;</td>
<td class="paramname"><em>repeat</em> = <code><a class="el" href="IRremoteESP8266_8h.html#acc8510281d2ff9a808501d375c03ba21">kHitachiAcDefaultRepeat</a></code></td><td>)</td>
<td></td>
</tr>
</table>
</div><div class="memdoc">
</div>
</div>
<a id="af37c710449cd32df4753509749e31cad"></a>
<h2 class="memtitle"><span class="permalink"><a href="#af37c710449cd32df4753509749e31cad">&#9670;&nbsp;</a></span>setInvertedStates()</h2>
<div class="memitem">
<div class="memproto">
<table class="mlabels">
<tr>
<td class="mlabels-left">
<table class="memname">
<tr>
<td class="memname">void IRHitachiAc3::setInvertedStates </td>
<td>(</td>
<td class="paramtype">const uint16_t&#160;</td>
<td class="paramname"><em>length</em> = <code><a class="el" href="IRremoteESP8266_8h.html#a9cc230bac4f902d46049c7b2c2fdbd3d">kHitachiAc3StateLength</a></code></td><td>)</td>
<td></td>
</tr>
</table>
</td>
<td class="mlabels-right">
<span class="mlabels"><span class="mlabel">private</span></span> </td>
</tr>
</table>
</div><div class="memdoc">
<p>Invert every second byte of the internal state, after the fixed header. </p>
<dl class="params"><dt>Parameters</dt><dd>
<table class="params">
<tr><td class="paramdir">[in]</td><td class="paramname">length</td><td>The size of the state array. </td></tr>
</table>
</dd>
</dl>
<dl class="section note"><dt>Note</dt><dd>This is this protocols integrity check. </dd></dl>
</div>
</div>
<a id="acff4faf79a30df7b7e7c183dec4153a7"></a>
<h2 class="memtitle"><span class="permalink"><a href="#acff4faf79a30df7b7e7c183dec4153a7">&#9670;&nbsp;</a></span>setRaw()</h2>
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">void IRHitachiAc3::setRaw </td>
<td>(</td>
<td class="paramtype">const uint8_t&#160;</td>
<td class="paramname"><em>new_code</em>[], </td>
</tr>
<tr>
<td class="paramkey"></td>
<td></td>
<td class="paramtype">const uint16_t&#160;</td>
<td class="paramname"><em>length</em> = <code><a class="el" href="IRremoteESP8266_8h.html#a9cc230bac4f902d46049c7b2c2fdbd3d">kHitachiAc3StateLength</a></code>&#160;</td>
</tr>
<tr>
<td></td>
<td>)</td>
<td></td><td></td>
</tr>
</table>
</div><div class="memdoc">
<p>Set the internal state from a valid code for this protocol. </p>
<dl class="params"><dt>Parameters</dt><dd>
<table class="params">
<tr><td class="paramdir">[in]</td><td class="paramname">new_code</td><td>A valid code for this protocol. </td></tr>
<tr><td class="paramdir">[in]</td><td class="paramname">length</td><td>The length of the new_code array. </td></tr>
</table>
</dd>
</dl>
</div>
</div>
<a id="a7bdcddf9c7f85b7cb43a92198e422549"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a7bdcddf9c7f85b7cb43a92198e422549">&#9670;&nbsp;</a></span>stateReset()</h2>
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">void IRHitachiAc3::stateReset </td>
<td>(</td>
<td class="paramtype">void&#160;</td>
<td class="paramname"></td><td>)</td>
<td></td>
</tr>
</table>
</div><div class="memdoc">
<p>Reset the internal state to a fixed known good state. </p>
<dl class="section note"><dt>Note</dt><dd>Reset to auto fan, cooling, 23° Celsius </dd></dl>
</div>
</div>
<h2 class="groupheader">Member Data Documentation</h2>
<a id="a8dc3b713e29f3ea96a106868451ba728"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a8dc3b713e29f3ea96a106868451ba728">&#9670;&nbsp;</a></span>_irsend</h2>
<div class="memitem">
<div class="memproto">
<table class="mlabels">
<tr>
<td class="mlabels-left">
<table class="memname">
<tr>
<td class="memname"><a class="el" href="classIRsend.html">IRsend</a> IRHitachiAc3::_irsend</td>
</tr>
</table>
</td>
<td class="mlabels-right">
<span class="mlabels"><span class="mlabel">private</span></span> </td>
</tr>
</table>
</div><div class="memdoc">
<p>Instance of the IR send class. </p>
</div>
</div>
<a id="a5602ded229a41796c205519449f7d509"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a5602ded229a41796c205519449f7d509">&#9670;&nbsp;</a></span>remote_state</h2>
<div class="memitem">
<div class="memproto">
<table class="mlabels">
<tr>
<td class="mlabels-left">
<table class="memname">
<tr>
<td class="memname">uint8_t IRHitachiAc3::remote_state[<a class="el" href="IRremoteESP8266_8h.html#a9cc230bac4f902d46049c7b2c2fdbd3d">kHitachiAc3StateLength</a>]</td>
</tr>
</table>
</td>
<td class="mlabels-right">
<span class="mlabels"><span class="mlabel">private</span></span> </td>
</tr>
</table>
</div><div class="memdoc">
<p>The state in native code. </p>
</div>
</div>
<hr/>The documentation for this class was generated from the following files:<ul>
<li>src/<a class="el" href="ir__Hitachi_8h_source.html">ir_Hitachi.h</a></li>
<li>src/<a class="el" href="ir__Hitachi_8cpp.html">ir_Hitachi.cpp</a></li>
</ul>
</div><!-- contents -->
<!-- start footer part -->
<hr class="footer"/><address class="footer"><small>
Generated by &#160;<a href="http://www.doxygen.org/index.html">
<img class="footer" src="doxygen.png" alt="doxygen"/>
</a> 1.8.17
</small></address>
</body>
</html>