mirror of
https://github.com/taigrr/arduinolibs
synced 2025-01-18 04:33:12 -08:00
Update docs
This commit is contained in:
parent
ac10b9ed5e
commit
448ca56a5a
@ -651,7 +651,7 @@ var searchBox = new SearchBox("searchBox", "search",false,'Search');
|
|||||||
</iframe>
|
</iframe>
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
<hr class="footer"/><address class="footer"><small>Generated on Fri Jun 1 2012 14:29:16 for ArduinoLibs by 
|
<hr class="footer"/><address class="footer"><small>Generated on Sun Jun 10 2012 10:51:56 for ArduinoLibs by 
|
||||||
<a href="http://www.doxygen.org/index.html">
|
<a href="http://www.doxygen.org/index.html">
|
||||||
<img class="footer" src="doxygen.png" alt="doxygen"/></a> 1.7.4 </small></address>
|
<img class="footer" src="doxygen.png" alt="doxygen"/></a> 1.7.4 </small></address>
|
||||||
</body>
|
</body>
|
||||||
|
@ -214,7 +214,7 @@ var searchBox = new SearchBox("searchBox", "search",false,'Search');
|
|||||||
</iframe>
|
</iframe>
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
<hr class="footer"/><address class="footer"><small>Generated on Fri Jun 1 2012 14:29:16 for ArduinoLibs by 
|
<hr class="footer"/><address class="footer"><small>Generated on Sun Jun 10 2012 10:51:56 for ArduinoLibs by 
|
||||||
<a href="http://www.doxygen.org/index.html">
|
<a href="http://www.doxygen.org/index.html">
|
||||||
<img class="footer" src="doxygen.png" alt="doxygen"/></a> 1.7.4 </small></address>
|
<img class="footer" src="doxygen.png" alt="doxygen"/></a> 1.7.4 </small></address>
|
||||||
</body>
|
</body>
|
||||||
|
@ -173,7 +173,7 @@ var searchBox = new SearchBox("searchBox", "search",false,'Search');
|
|||||||
</iframe>
|
</iframe>
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
<hr class="footer"/><address class="footer"><small>Generated on Fri Jun 1 2012 14:29:16 for ArduinoLibs by 
|
<hr class="footer"/><address class="footer"><small>Generated on Sun Jun 10 2012 10:51:56 for ArduinoLibs by 
|
||||||
<a href="http://www.doxygen.org/index.html">
|
<a href="http://www.doxygen.org/index.html">
|
||||||
<img class="footer" src="doxygen.png" alt="doxygen"/></a> 1.7.4 </small></address>
|
<img class="footer" src="doxygen.png" alt="doxygen"/></a> 1.7.4 </small></address>
|
||||||
</body>
|
</body>
|
||||||
|
@ -131,7 +131,7 @@ var searchBox = new SearchBox("searchBox", "search",false,'Search');
|
|||||||
</iframe>
|
</iframe>
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
<hr class="footer"/><address class="footer"><small>Generated on Fri Jun 1 2012 14:29:16 for ArduinoLibs by 
|
<hr class="footer"/><address class="footer"><small>Generated on Sun Jun 10 2012 10:51:56 for ArduinoLibs by 
|
||||||
<a href="http://www.doxygen.org/index.html">
|
<a href="http://www.doxygen.org/index.html">
|
||||||
<img class="footer" src="doxygen.png" alt="doxygen"/></a> 1.7.4 </small></address>
|
<img class="footer" src="doxygen.png" alt="doxygen"/></a> 1.7.4 </small></address>
|
||||||
</body>
|
</body>
|
||||||
|
@ -173,7 +173,7 @@ var searchBox = new SearchBox("searchBox", "search",false,'Search');
|
|||||||
</iframe>
|
</iframe>
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
<hr class="footer"/><address class="footer"><small>Generated on Fri Jun 1 2012 14:29:16 for ArduinoLibs by 
|
<hr class="footer"/><address class="footer"><small>Generated on Sun Jun 10 2012 10:51:56 for ArduinoLibs by 
|
||||||
<a href="http://www.doxygen.org/index.html">
|
<a href="http://www.doxygen.org/index.html">
|
||||||
<img class="footer" src="doxygen.png" alt="doxygen"/></a> 1.7.4 </small></address>
|
<img class="footer" src="doxygen.png" alt="doxygen"/></a> 1.7.4 </small></address>
|
||||||
</body>
|
</body>
|
||||||
|
@ -131,7 +131,7 @@ var searchBox = new SearchBox("searchBox", "search",false,'Search');
|
|||||||
</iframe>
|
</iframe>
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
<hr class="footer"/><address class="footer"><small>Generated on Fri Jun 1 2012 14:29:16 for ArduinoLibs by 
|
<hr class="footer"/><address class="footer"><small>Generated on Sun Jun 10 2012 10:51:56 for ArduinoLibs by 
|
||||||
<a href="http://www.doxygen.org/index.html">
|
<a href="http://www.doxygen.org/index.html">
|
||||||
<img class="footer" src="doxygen.png" alt="doxygen"/></a> 1.7.4 </small></address>
|
<img class="footer" src="doxygen.png" alt="doxygen"/></a> 1.7.4 </small></address>
|
||||||
</body>
|
</body>
|
||||||
|
@ -213,7 +213,7 @@ var searchBox = new SearchBox("searchBox", "search",false,'Search');
|
|||||||
</iframe>
|
</iframe>
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
<hr class="footer"/><address class="footer"><small>Generated on Fri Jun 1 2012 14:29:16 for ArduinoLibs by 
|
<hr class="footer"/><address class="footer"><small>Generated on Sun Jun 10 2012 10:51:56 for ArduinoLibs by 
|
||||||
<a href="http://www.doxygen.org/index.html">
|
<a href="http://www.doxygen.org/index.html">
|
||||||
<img class="footer" src="doxygen.png" alt="doxygen"/></a> 1.7.4 </small></address>
|
<img class="footer" src="doxygen.png" alt="doxygen"/></a> 1.7.4 </small></address>
|
||||||
</body>
|
</body>
|
||||||
|
@ -135,7 +135,7 @@ var searchBox = new SearchBox("searchBox", "search",false,'Search');
|
|||||||
</iframe>
|
</iframe>
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
<hr class="footer"/><address class="footer"><small>Generated on Fri Jun 1 2012 14:29:16 for ArduinoLibs by 
|
<hr class="footer"/><address class="footer"><small>Generated on Sun Jun 10 2012 10:51:56 for ArduinoLibs by 
|
||||||
<a href="http://www.doxygen.org/index.html">
|
<a href="http://www.doxygen.org/index.html">
|
||||||
<img class="footer" src="doxygen.png" alt="doxygen"/></a> 1.7.4 </small></address>
|
<img class="footer" src="doxygen.png" alt="doxygen"/></a> 1.7.4 </small></address>
|
||||||
</body>
|
</body>
|
||||||
|
@ -141,7 +141,7 @@ var searchBox = new SearchBox("searchBox", "search",false,'Search');
|
|||||||
</iframe>
|
</iframe>
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
<hr class="footer"/><address class="footer"><small>Generated on Fri Jun 1 2012 14:29:16 for ArduinoLibs by 
|
<hr class="footer"/><address class="footer"><small>Generated on Sun Jun 10 2012 10:51:56 for ArduinoLibs by 
|
||||||
<a href="http://www.doxygen.org/index.html">
|
<a href="http://www.doxygen.org/index.html">
|
||||||
<img class="footer" src="doxygen.png" alt="doxygen"/></a> 1.7.4 </small></address>
|
<img class="footer" src="doxygen.png" alt="doxygen"/></a> 1.7.4 </small></address>
|
||||||
</body>
|
</body>
|
||||||
|
@ -127,7 +127,7 @@ var searchBox = new SearchBox("searchBox", "search",false,'Search');
|
|||||||
</iframe>
|
</iframe>
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
<hr class="footer"/><address class="footer"><small>Generated on Fri Jun 1 2012 14:29:16 for ArduinoLibs by 
|
<hr class="footer"/><address class="footer"><small>Generated on Sun Jun 10 2012 10:51:56 for ArduinoLibs by 
|
||||||
<a href="http://www.doxygen.org/index.html">
|
<a href="http://www.doxygen.org/index.html">
|
||||||
<img class="footer" src="doxygen.png" alt="doxygen"/></a> 1.7.4 </small></address>
|
<img class="footer" src="doxygen.png" alt="doxygen"/></a> 1.7.4 </small></address>
|
||||||
</body>
|
</body>
|
||||||
|
@ -424,7 +424,7 @@ var searchBox = new SearchBox("searchBox", "search",false,'Search');
|
|||||||
</iframe>
|
</iframe>
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
<hr class="footer"/><address class="footer"><small>Generated on Fri Jun 1 2012 14:29:16 for ArduinoLibs by 
|
<hr class="footer"/><address class="footer"><small>Generated on Sun Jun 10 2012 10:51:56 for ArduinoLibs by 
|
||||||
<a href="http://www.doxygen.org/index.html">
|
<a href="http://www.doxygen.org/index.html">
|
||||||
<img class="footer" src="doxygen.png" alt="doxygen"/></a> 1.7.4 </small></address>
|
<img class="footer" src="doxygen.png" alt="doxygen"/></a> 1.7.4 </small></address>
|
||||||
</body>
|
</body>
|
||||||
|
@ -139,7 +139,7 @@ var searchBox = new SearchBox("searchBox", "search",false,'Search');
|
|||||||
</iframe>
|
</iframe>
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
<hr class="footer"/><address class="footer"><small>Generated on Fri Jun 1 2012 14:29:16 for ArduinoLibs by 
|
<hr class="footer"/><address class="footer"><small>Generated on Sun Jun 10 2012 10:51:56 for ArduinoLibs by 
|
||||||
<a href="http://www.doxygen.org/index.html">
|
<a href="http://www.doxygen.org/index.html">
|
||||||
<img class="footer" src="doxygen.png" alt="doxygen"/></a> 1.7.4 </small></address>
|
<img class="footer" src="doxygen.png" alt="doxygen"/></a> 1.7.4 </small></address>
|
||||||
</body>
|
</body>
|
||||||
|
@ -362,7 +362,7 @@ var searchBox = new SearchBox("searchBox", "search",false,'Search');
|
|||||||
</iframe>
|
</iframe>
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
<hr class="footer"/><address class="footer"><small>Generated on Fri Jun 1 2012 14:29:16 for ArduinoLibs by 
|
<hr class="footer"/><address class="footer"><small>Generated on Sun Jun 10 2012 10:51:56 for ArduinoLibs by 
|
||||||
<a href="http://www.doxygen.org/index.html">
|
<a href="http://www.doxygen.org/index.html">
|
||||||
<img class="footer" src="doxygen.png" alt="doxygen"/></a> 1.7.4 </small></address>
|
<img class="footer" src="doxygen.png" alt="doxygen"/></a> 1.7.4 </small></address>
|
||||||
</body>
|
</body>
|
||||||
|
@ -139,7 +139,7 @@ var searchBox = new SearchBox("searchBox", "search",false,'Search');
|
|||||||
</iframe>
|
</iframe>
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
<hr class="footer"/><address class="footer"><small>Generated on Fri Jun 1 2012 14:29:16 for ArduinoLibs by 
|
<hr class="footer"/><address class="footer"><small>Generated on Sun Jun 10 2012 10:51:56 for ArduinoLibs by 
|
||||||
<a href="http://www.doxygen.org/index.html">
|
<a href="http://www.doxygen.org/index.html">
|
||||||
<img class="footer" src="doxygen.png" alt="doxygen"/></a> 1.7.4 </small></address>
|
<img class="footer" src="doxygen.png" alt="doxygen"/></a> 1.7.4 </small></address>
|
||||||
</body>
|
</body>
|
||||||
|
@ -515,7 +515,7 @@ var searchBox = new SearchBox("searchBox", "search",false,'Search');
|
|||||||
</iframe>
|
</iframe>
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
<hr class="footer"/><address class="footer"><small>Generated on Fri Jun 1 2012 14:29:16 for ArduinoLibs by 
|
<hr class="footer"/><address class="footer"><small>Generated on Sun Jun 10 2012 10:51:56 for ArduinoLibs by 
|
||||||
<a href="http://www.doxygen.org/index.html">
|
<a href="http://www.doxygen.org/index.html">
|
||||||
<img class="footer" src="doxygen.png" alt="doxygen"/></a> 1.7.4 </small></address>
|
<img class="footer" src="doxygen.png" alt="doxygen"/></a> 1.7.4 </small></address>
|
||||||
</body>
|
</body>
|
||||||
|
@ -151,7 +151,7 @@ var searchBox = new SearchBox("searchBox", "search",false,'Search');
|
|||||||
</iframe>
|
</iframe>
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
<hr class="footer"/><address class="footer"><small>Generated on Fri Jun 1 2012 14:29:16 for ArduinoLibs by 
|
<hr class="footer"/><address class="footer"><small>Generated on Sun Jun 10 2012 10:51:56 for ArduinoLibs by 
|
||||||
<a href="http://www.doxygen.org/index.html">
|
<a href="http://www.doxygen.org/index.html">
|
||||||
<img class="footer" src="doxygen.png" alt="doxygen"/></a> 1.7.4 </small></address>
|
<img class="footer" src="doxygen.png" alt="doxygen"/></a> 1.7.4 </small></address>
|
||||||
</body>
|
</body>
|
||||||
|
@ -242,7 +242,7 @@ var searchBox = new SearchBox("searchBox", "search",false,'Search');
|
|||||||
</iframe>
|
</iframe>
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
<hr class="footer"/><address class="footer"><small>Generated on Fri Jun 1 2012 14:29:16 for ArduinoLibs by 
|
<hr class="footer"/><address class="footer"><small>Generated on Sun Jun 10 2012 10:51:56 for ArduinoLibs by 
|
||||||
<a href="http://www.doxygen.org/index.html">
|
<a href="http://www.doxygen.org/index.html">
|
||||||
<img class="footer" src="doxygen.png" alt="doxygen"/></a> 1.7.4 </small></address>
|
<img class="footer" src="doxygen.png" alt="doxygen"/></a> 1.7.4 </small></address>
|
||||||
</body>
|
</body>
|
||||||
|
@ -242,7 +242,7 @@ var searchBox = new SearchBox("searchBox", "search",false,'Search');
|
|||||||
</iframe>
|
</iframe>
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
<hr class="footer"/><address class="footer"><small>Generated on Fri Jun 1 2012 14:29:16 for ArduinoLibs by 
|
<hr class="footer"/><address class="footer"><small>Generated on Sun Jun 10 2012 10:51:56 for ArduinoLibs by 
|
||||||
<a href="http://www.doxygen.org/index.html">
|
<a href="http://www.doxygen.org/index.html">
|
||||||
<img class="footer" src="doxygen.png" alt="doxygen"/></a> 1.7.4 </small></address>
|
<img class="footer" src="doxygen.png" alt="doxygen"/></a> 1.7.4 </small></address>
|
||||||
</body>
|
</body>
|
||||||
|
@ -242,7 +242,7 @@ var searchBox = new SearchBox("searchBox", "search",false,'Search');
|
|||||||
</iframe>
|
</iframe>
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
<hr class="footer"/><address class="footer"><small>Generated on Fri Jun 1 2012 14:29:16 for ArduinoLibs by 
|
<hr class="footer"/><address class="footer"><small>Generated on Sun Jun 10 2012 10:51:56 for ArduinoLibs by 
|
||||||
<a href="http://www.doxygen.org/index.html">
|
<a href="http://www.doxygen.org/index.html">
|
||||||
<img class="footer" src="doxygen.png" alt="doxygen"/></a> 1.7.4 </small></address>
|
<img class="footer" src="doxygen.png" alt="doxygen"/></a> 1.7.4 </small></address>
|
||||||
</body>
|
</body>
|
||||||
|
@ -166,7 +166,7 @@ var searchBox = new SearchBox("searchBox", "search",false,'Search');
|
|||||||
</iframe>
|
</iframe>
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
<hr class="footer"/><address class="footer"><small>Generated on Fri Jun 1 2012 14:29:16 for ArduinoLibs by 
|
<hr class="footer"/><address class="footer"><small>Generated on Sun Jun 10 2012 10:51:56 for ArduinoLibs by 
|
||||||
<a href="http://www.doxygen.org/index.html">
|
<a href="http://www.doxygen.org/index.html">
|
||||||
<img class="footer" src="doxygen.png" alt="doxygen"/></a> 1.7.4 </small></address>
|
<img class="footer" src="doxygen.png" alt="doxygen"/></a> 1.7.4 </small></address>
|
||||||
</body>
|
</body>
|
||||||
|
@ -136,7 +136,7 @@ var searchBox = new SearchBox("searchBox", "search",false,'Search');
|
|||||||
</iframe>
|
</iframe>
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
<hr class="footer"/><address class="footer"><small>Generated on Fri Jun 1 2012 14:29:16 for ArduinoLibs by 
|
<hr class="footer"/><address class="footer"><small>Generated on Sun Jun 10 2012 10:51:56 for ArduinoLibs by 
|
||||||
<a href="http://www.doxygen.org/index.html">
|
<a href="http://www.doxygen.org/index.html">
|
||||||
<img class="footer" src="doxygen.png" alt="doxygen"/></a> 1.7.4 </small></address>
|
<img class="footer" src="doxygen.png" alt="doxygen"/></a> 1.7.4 </small></address>
|
||||||
</body>
|
</body>
|
||||||
|
@ -248,7 +248,7 @@ var searchBox = new SearchBox("searchBox", "search",false,'Search');
|
|||||||
</iframe>
|
</iframe>
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
<hr class="footer"/><address class="footer"><small>Generated on Fri Jun 1 2012 14:29:16 for ArduinoLibs by 
|
<hr class="footer"/><address class="footer"><small>Generated on Sun Jun 10 2012 10:51:56 for ArduinoLibs by 
|
||||||
<a href="http://www.doxygen.org/index.html">
|
<a href="http://www.doxygen.org/index.html">
|
||||||
<img class="footer" src="doxygen.png" alt="doxygen"/></a> 1.7.4 </small></address>
|
<img class="footer" src="doxygen.png" alt="doxygen"/></a> 1.7.4 </small></address>
|
||||||
</body>
|
</body>
|
||||||
|
@ -141,7 +141,7 @@ var searchBox = new SearchBox("searchBox", "search",false,'Search');
|
|||||||
</iframe>
|
</iframe>
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
<hr class="footer"/><address class="footer"><small>Generated on Fri Jun 1 2012 14:29:16 for ArduinoLibs by 
|
<hr class="footer"/><address class="footer"><small>Generated on Sun Jun 10 2012 10:51:56 for ArduinoLibs by 
|
||||||
<a href="http://www.doxygen.org/index.html">
|
<a href="http://www.doxygen.org/index.html">
|
||||||
<img class="footer" src="doxygen.png" alt="doxygen"/></a> 1.7.4 </small></address>
|
<img class="footer" src="doxygen.png" alt="doxygen"/></a> 1.7.4 </small></address>
|
||||||
</body>
|
</body>
|
||||||
|
@ -100,7 +100,7 @@ var searchBox = new SearchBox("searchBox", "search",false,'Search');
|
|||||||
</iframe>
|
</iframe>
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
<hr class="footer"/><address class="footer"><small>Generated on Fri Jun 1 2012 14:29:16 for ArduinoLibs by 
|
<hr class="footer"/><address class="footer"><small>Generated on Sun Jun 10 2012 10:51:56 for ArduinoLibs by 
|
||||||
<a href="http://www.doxygen.org/index.html">
|
<a href="http://www.doxygen.org/index.html">
|
||||||
<img class="footer" src="doxygen.png" alt="doxygen"/></a> 1.7.4 </small></address>
|
<img class="footer" src="doxygen.png" alt="doxygen"/></a> 1.7.4 </small></address>
|
||||||
</body>
|
</body>
|
||||||
|
@ -117,7 +117,7 @@ var searchBox = new SearchBox("searchBox", "search",false,'Search');
|
|||||||
</iframe>
|
</iframe>
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
<hr class="footer"/><address class="footer"><small>Generated on Fri Jun 1 2012 14:29:16 for ArduinoLibs by 
|
<hr class="footer"/><address class="footer"><small>Generated on Sun Jun 10 2012 10:51:56 for ArduinoLibs by 
|
||||||
<a href="http://www.doxygen.org/index.html">
|
<a href="http://www.doxygen.org/index.html">
|
||||||
<img class="footer" src="doxygen.png" alt="doxygen"/></a> 1.7.4 </small></address>
|
<img class="footer" src="doxygen.png" alt="doxygen"/></a> 1.7.4 </small></address>
|
||||||
</body>
|
</body>
|
||||||
|
249
IRreceiver_8cpp_source.html
Normal file
249
IRreceiver_8cpp_source.html
Normal file
@ -0,0 +1,249 @@
|
|||||||
|
<!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"/>
|
||||||
|
<title>ArduinoLibs: IRreceiver.cpp Source File</title>
|
||||||
|
<link href="tabs.css" rel="stylesheet" type="text/css"/>
|
||||||
|
<link href="search/search.css" rel="stylesheet" type="text/css"/>
|
||||||
|
<script type="text/javascript" src="search/search.js"></script>
|
||||||
|
<link href="doxygen.css" rel="stylesheet" type="text/css"/>
|
||||||
|
</head>
|
||||||
|
<body onload='searchBox.OnSelectItem(0);'>
|
||||||
|
<!-- Generated by Doxygen 1.7.4 -->
|
||||||
|
<script type="text/javascript"><!--
|
||||||
|
var searchBox = new SearchBox("searchBox", "search",false,'Search');
|
||||||
|
--></script>
|
||||||
|
<div id="top">
|
||||||
|
<div id="titlearea">
|
||||||
|
<table cellspacing="0" cellpadding="0">
|
||||||
|
<tbody>
|
||||||
|
<tr style="height: 56px;">
|
||||||
|
<td style="padding-left: 0.5em;">
|
||||||
|
<div id="projectname">ArduinoLibs</div>
|
||||||
|
</td>
|
||||||
|
</tr>
|
||||||
|
</tbody>
|
||||||
|
</table>
|
||||||
|
</div>
|
||||||
|
<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 class="current"><a href="files.html"><span>Files</span></a></li>
|
||||||
|
<li id="searchli">
|
||||||
|
<div id="MSearchBox" class="MSearchBoxInactive">
|
||||||
|
<span class="left">
|
||||||
|
<img id="MSearchSelect" src="search/mag_sel.png"
|
||||||
|
onmouseover="return searchBox.OnSearchSelectShow()"
|
||||||
|
onmouseout="return searchBox.OnSearchSelectHide()"
|
||||||
|
alt=""/>
|
||||||
|
<input type="text" id="MSearchField" value="Search" accesskey="S"
|
||||||
|
onfocus="searchBox.OnSearchFieldFocus(true)"
|
||||||
|
onblur="searchBox.OnSearchFieldFocus(false)"
|
||||||
|
onkeyup="searchBox.OnSearchFieldChange(event)"/>
|
||||||
|
</span><span class="right">
|
||||||
|
<a id="MSearchClose" href="javascript:searchBox.CloseResultsWindow()"><img id="MSearchCloseImg" border="0" src="search/close.png" alt=""/></a>
|
||||||
|
</span>
|
||||||
|
</div>
|
||||||
|
</li>
|
||||||
|
</ul>
|
||||||
|
</div>
|
||||||
|
<div id="navrow2" class="tabs2">
|
||||||
|
<ul class="tablist">
|
||||||
|
<li><a href="files.html"><span>File List</span></a></li>
|
||||||
|
</ul>
|
||||||
|
</div>
|
||||||
|
<div class="header">
|
||||||
|
<div class="headertitle">
|
||||||
|
<div class="title">IRreceiver.cpp</div> </div>
|
||||||
|
</div>
|
||||||
|
<div class="contents">
|
||||||
|
<div class="fragment"><pre class="fragment"><a name="l00001"></a>00001 <span class="comment">/*</span>
|
||||||
|
<a name="l00002"></a>00002 <span class="comment"> * Copyright (C) 2012 Southern Storm Software, Pty Ltd.</span>
|
||||||
|
<a name="l00003"></a>00003 <span class="comment"> *</span>
|
||||||
|
<a name="l00004"></a>00004 <span class="comment"> * Permission is hereby granted, free of charge, to any person obtaining a</span>
|
||||||
|
<a name="l00005"></a>00005 <span class="comment"> * copy of this software and associated documentation files (the "Software"),</span>
|
||||||
|
<a name="l00006"></a>00006 <span class="comment"> * to deal in the Software without restriction, including without limitation</span>
|
||||||
|
<a name="l00007"></a>00007 <span class="comment"> * the rights to use, copy, modify, merge, publish, distribute, sublicense,</span>
|
||||||
|
<a name="l00008"></a>00008 <span class="comment"> * and/or sell copies of the Software, and to permit persons to whom the</span>
|
||||||
|
<a name="l00009"></a>00009 <span class="comment"> * Software is furnished to do so, subject to the following conditions:</span>
|
||||||
|
<a name="l00010"></a>00010 <span class="comment"> *</span>
|
||||||
|
<a name="l00011"></a>00011 <span class="comment"> * The above copyright notice and this permission notice shall be included</span>
|
||||||
|
<a name="l00012"></a>00012 <span class="comment"> * in all copies or substantial portions of the Software.</span>
|
||||||
|
<a name="l00013"></a>00013 <span class="comment"> *</span>
|
||||||
|
<a name="l00014"></a>00014 <span class="comment"> * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS</span>
|
||||||
|
<a name="l00015"></a>00015 <span class="comment"> * OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,</span>
|
||||||
|
<a name="l00016"></a>00016 <span class="comment"> * FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE</span>
|
||||||
|
<a name="l00017"></a>00017 <span class="comment"> * AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER</span>
|
||||||
|
<a name="l00018"></a>00018 <span class="comment"> * LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING</span>
|
||||||
|
<a name="l00019"></a>00019 <span class="comment"> * FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER</span>
|
||||||
|
<a name="l00020"></a>00020 <span class="comment"> * DEALINGS IN THE SOFTWARE.</span>
|
||||||
|
<a name="l00021"></a>00021 <span class="comment"> */</span>
|
||||||
|
<a name="l00022"></a>00022
|
||||||
|
<a name="l00023"></a>00023 <span class="preprocessor">#include "IRreceiver.h"</span>
|
||||||
|
<a name="l00024"></a>00024 <span class="preprocessor">#if defined(ARDUINO) && ARDUINO >= 100</span>
|
||||||
|
<a name="l00025"></a>00025 <span class="preprocessor"></span><span class="preprocessor">#include <Arduino.h></span>
|
||||||
|
<a name="l00026"></a>00026 <span class="preprocessor">#else</span>
|
||||||
|
<a name="l00027"></a>00027 <span class="preprocessor"></span><span class="preprocessor">#include <WProgram.h></span>
|
||||||
|
<a name="l00028"></a>00028 <span class="preprocessor">#endif</span>
|
||||||
|
<a name="l00029"></a>00029 <span class="preprocessor"></span>
|
||||||
|
<a name="l00159"></a>00159 <span class="keyword">static</span> <a class="code" href="classIRreceiver.html" title="Manages the reception of RC-5 commands from an infrared remote control.">IRreceiver</a> *receiver = 0;
|
||||||
|
<a name="l00160"></a>00160
|
||||||
|
<a name="l00161"></a>00161 <span class="keywordtype">void</span> _IR_receive_interrupt(<span class="keywordtype">void</span>)
|
||||||
|
<a name="l00162"></a>00162 {
|
||||||
|
<a name="l00163"></a>00163 receiver->handleInterrupt();
|
||||||
|
<a name="l00164"></a>00164 }
|
||||||
|
<a name="l00165"></a>00165
|
||||||
|
<a name="l00176"></a><a class="code" href="classIRreceiver.html#a06eccb8b8311eac395e4b20c4e0163e3">00176</a> <a class="code" href="classIRreceiver.html#a06eccb8b8311eac395e4b20c4e0163e3" title="Constructs a new infrared remote control receiver that is attached to interruptNumber.">IRreceiver::IRreceiver</a>(<span class="keywordtype">int</span> interruptNumber)
|
||||||
|
<a name="l00177"></a>00177 : _system(0)
|
||||||
|
<a name="l00178"></a>00178 , _systemFilter(-1)
|
||||||
|
<a name="l00179"></a>00179 , started(false)
|
||||||
|
<a name="l00180"></a>00180 , halfChange(false)
|
||||||
|
<a name="l00181"></a>00181 , lastChange(0)
|
||||||
|
<a name="l00182"></a>00182 , bits(0)
|
||||||
|
<a name="l00183"></a>00183 , bitCount(0)
|
||||||
|
<a name="l00184"></a>00184 , buffer(0)
|
||||||
|
<a name="l00185"></a>00185 , lastBuffer(0)
|
||||||
|
<a name="l00186"></a>00186 {
|
||||||
|
<a name="l00187"></a>00187 <span class="keywordflow">switch</span> (interruptNumber) {
|
||||||
|
<a name="l00188"></a>00188 <span class="keywordflow">case</span> 0: <span class="keywordflow">default</span>: pin = 2; <span class="keywordflow">break</span>;
|
||||||
|
<a name="l00189"></a>00189 <span class="keywordflow">case</span> 1: pin = 3; <span class="keywordflow">break</span>;
|
||||||
|
<a name="l00190"></a>00190 <span class="keywordflow">case</span> 2: pin = 21; <span class="keywordflow">break</span>; <span class="comment">// Arduino Mega only</span>
|
||||||
|
<a name="l00191"></a>00191 <span class="keywordflow">case</span> 3: pin = 20; <span class="keywordflow">break</span>; <span class="comment">// Arduino Mega only</span>
|
||||||
|
<a name="l00192"></a>00192 <span class="keywordflow">case</span> 4: pin = 19; <span class="keywordflow">break</span>; <span class="comment">// Arduino Mega only</span>
|
||||||
|
<a name="l00193"></a>00193 <span class="keywordflow">case</span> 5: pin = 18; <span class="keywordflow">break</span>; <span class="comment">// Arduino Mega only</span>
|
||||||
|
<a name="l00194"></a>00194 }
|
||||||
|
<a name="l00195"></a>00195 receiver = <span class="keyword">this</span>;
|
||||||
|
<a name="l00196"></a>00196 attachInterrupt(interruptNumber, _IR_receive_interrupt, CHANGE);
|
||||||
|
<a name="l00197"></a>00197 }
|
||||||
|
<a name="l00198"></a>00198
|
||||||
|
<a name="l00220"></a><a class="code" href="classIRreceiver.html#a4b021592a2b089dc2f1e138a38506fda">00220</a> <span class="keywordtype">int</span> <a class="code" href="classIRreceiver.html#a4b021592a2b089dc2f1e138a38506fda" title="Returns the next command from the remote control.">IRreceiver::command</a>()
|
||||||
|
<a name="l00221"></a>00221 {
|
||||||
|
<a name="l00222"></a>00222 <span class="keywordtype">unsigned</span> buf;
|
||||||
|
<a name="l00223"></a>00223
|
||||||
|
<a name="l00224"></a>00224 <span class="comment">// Read the last-delivered sequence from the buffer and clear it.</span>
|
||||||
|
<a name="l00225"></a>00225 cli();
|
||||||
|
<a name="l00226"></a>00226 buf = buffer;
|
||||||
|
<a name="l00227"></a>00227 buffer = 0;
|
||||||
|
<a name="l00228"></a>00228 sei();
|
||||||
|
<a name="l00229"></a>00229
|
||||||
|
<a name="l00230"></a>00230 <span class="comment">// Bail out if no sequence or it is not for us.</span>
|
||||||
|
<a name="l00231"></a>00231 <span class="keywordflow">if</span> (!buf) {
|
||||||
|
<a name="l00232"></a>00232 _system = -1;
|
||||||
|
<a name="l00233"></a>00233 <span class="keywordflow">return</span> -1;
|
||||||
|
<a name="l00234"></a>00234 }
|
||||||
|
<a name="l00235"></a>00235 <span class="keywordflow">if</span> (_systemFilter != -1) {
|
||||||
|
<a name="l00236"></a>00236 <span class="keywordflow">if</span> (((buf >> 6) & 0x1F) != _systemFilter) {
|
||||||
|
<a name="l00237"></a>00237 _system = -1;
|
||||||
|
<a name="l00238"></a>00238 <span class="keywordflow">return</span> -1;
|
||||||
|
<a name="l00239"></a>00239 }
|
||||||
|
<a name="l00240"></a>00240 }
|
||||||
|
<a name="l00241"></a>00241
|
||||||
|
<a name="l00242"></a>00242 <span class="comment">// Extract the command.</span>
|
||||||
|
<a name="l00243"></a>00243 <span class="keywordtype">int</span> cmd = buf & 0x3F;
|
||||||
|
<a name="l00244"></a>00244 <span class="keywordflow">if</span> ((buf & 0x1000) == 0)
|
||||||
|
<a name="l00245"></a>00245 cmd += 64;
|
||||||
|
<a name="l00246"></a>00246
|
||||||
|
<a name="l00247"></a>00247 <span class="comment">// Is this a new command or an auto-repeat of the previous command?</span>
|
||||||
|
<a name="l00248"></a>00248 <span class="comment">// Bit 11 will toggle whenever a new button press is started.</span>
|
||||||
|
<a name="l00249"></a>00249 <span class="keywordflow">if</span> (lastBuffer == buf)
|
||||||
|
<a name="l00250"></a>00250 cmd += <a class="code" href="classIRreceiver.html#a9c37631cc1291dc47cabcfef2f631cf9" title="Flag that is added to the output of command() when the command is an auto-repeated button press rathe...">AUTO_REPEAT</a>;
|
||||||
|
<a name="l00251"></a>00251 <span class="keywordflow">else</span>
|
||||||
|
<a name="l00252"></a>00252 lastBuffer = buf;
|
||||||
|
<a name="l00253"></a>00253 _system = (buf >> 6) & 0x1F;
|
||||||
|
<a name="l00254"></a>00254 <span class="keywordflow">return</span> cmd;
|
||||||
|
<a name="l00255"></a>00255 }
|
||||||
|
<a name="l00256"></a>00256
|
||||||
|
<a name="l00304"></a>00304 <span class="comment">// Number of microseconds that the signal is HIGH or LOW for</span>
|
||||||
|
<a name="l00305"></a>00305 <span class="comment">// indicating a bit. A 1 bit is transmitted as LOW for 889us</span>
|
||||||
|
<a name="l00306"></a>00306 <span class="comment">// followed by HIGH for 889us. A 0 bit is HIGH, then LOW.</span>
|
||||||
|
<a name="l00307"></a>00307 <span class="preprocessor">#define IR_BIT_TIME 889</span>
|
||||||
|
<a name="l00308"></a>00308 <span class="preprocessor"></span>
|
||||||
|
<a name="l00309"></a>00309 <span class="comment">// Number of microseconds to detect a long gap in the coding</span>
|
||||||
|
<a name="l00310"></a>00310 <span class="comment">// corresponding to 2 time units HIGH or LOW. We actually check</span>
|
||||||
|
<a name="l00311"></a>00311 <span class="comment">// for at least 1.5 time units to allow for slight variations</span>
|
||||||
|
<a name="l00312"></a>00312 <span class="comment">// in timing on different remote controls.</span>
|
||||||
|
<a name="l00313"></a>00313 <span class="preprocessor">#define IR_LONG_BIT_TIME (889 * 6 / 4)</span>
|
||||||
|
<a name="l00314"></a>00314 <span class="preprocessor"></span>
|
||||||
|
<a name="l00315"></a>00315 <span class="comment">// Maximum timeout for a single bit. If we don't see a rising edge</span>
|
||||||
|
<a name="l00316"></a>00316 <span class="comment">// within this time, then we have lost sync and need to restart.</span>
|
||||||
|
<a name="l00317"></a>00317 <span class="preprocessor">#define IR_MAX_TIME (IR_BIT_TIME * 4)</span>
|
||||||
|
<a name="l00318"></a>00318 <span class="preprocessor"></span>
|
||||||
|
<a name="l00319"></a>00319 <span class="comment">// Protocol details from http://en.wikipedia.org/wiki/RC-5</span>
|
||||||
|
<a name="l00320"></a>00320 <span class="keywordtype">void</span> IRreceiver::handleInterrupt()
|
||||||
|
<a name="l00321"></a>00321 {
|
||||||
|
<a name="l00322"></a>00322 <span class="keywordtype">bool</span> value = digitalRead(pin);
|
||||||
|
<a name="l00323"></a>00323 <span class="keywordtype">unsigned</span> <span class="keywordtype">long</span> currentTime = micros();
|
||||||
|
<a name="l00324"></a>00324 <span class="keywordflow">if</span> (!value) {
|
||||||
|
<a name="l00325"></a>00325 <span class="comment">// Rising edge (input is active-LOW)</span>
|
||||||
|
<a name="l00326"></a>00326 <span class="keywordflow">if</span> (started && (currentTime - lastChange) > IR_MAX_TIME) {
|
||||||
|
<a name="l00327"></a>00327 <span class="comment">// Too long since the last received bit, so restart the process.</span>
|
||||||
|
<a name="l00328"></a>00328 started = <span class="keyword">false</span>;
|
||||||
|
<a name="l00329"></a>00329 }
|
||||||
|
<a name="l00330"></a>00330 <span class="keywordflow">if</span> (started) {
|
||||||
|
<a name="l00331"></a>00331 <span class="comment">// We recognize bits on the falling edges, so merely</span>
|
||||||
|
<a name="l00332"></a>00332 <span class="comment">// adjust the "changed at last half-cycle" flag.</span>
|
||||||
|
<a name="l00333"></a>00333 <span class="keywordflow">if</span> ((currentTime - lastChange) > IR_LONG_BIT_TIME) {
|
||||||
|
<a name="l00334"></a>00334 <span class="comment">// Long time since last falling edge indicates that the</span>
|
||||||
|
<a name="l00335"></a>00335 <span class="comment">// next bit will definitely be a 1.</span>
|
||||||
|
<a name="l00336"></a>00336 halfChange = <span class="keyword">true</span>;
|
||||||
|
<a name="l00337"></a>00337 } <span class="keywordflow">else</span> {
|
||||||
|
<a name="l00338"></a>00338 halfChange = !halfChange;
|
||||||
|
<a name="l00339"></a>00339 }
|
||||||
|
<a name="l00340"></a>00340 lastChange = currentTime;
|
||||||
|
<a name="l00341"></a>00341 } <span class="keywordflow">else</span> {
|
||||||
|
<a name="l00342"></a>00342 <span class="comment">// Encountered the start bit - start receiving up to 14 bits.</span>
|
||||||
|
<a name="l00343"></a>00343 lastChange = currentTime;
|
||||||
|
<a name="l00344"></a>00344 started = <span class="keyword">true</span>;
|
||||||
|
<a name="l00345"></a>00345 halfChange = <span class="keyword">true</span>;
|
||||||
|
<a name="l00346"></a>00346 bits = 0;
|
||||||
|
<a name="l00347"></a>00347 bitCount = 14;
|
||||||
|
<a name="l00348"></a>00348 }
|
||||||
|
<a name="l00349"></a>00349 } <span class="keywordflow">else</span> <span class="keywordflow">if</span> (started) {
|
||||||
|
<a name="l00350"></a>00350 <span class="comment">// Falling edge</span>
|
||||||
|
<a name="l00351"></a>00351 <span class="keywordflow">if</span> ((currentTime - lastChange) > IR_LONG_BIT_TIME) {
|
||||||
|
<a name="l00352"></a>00352 <span class="comment">// Long time since last rise indicates 1 followed by 0.</span>
|
||||||
|
<a name="l00353"></a>00353 bits = (bits << 2) | 0x02;
|
||||||
|
<a name="l00354"></a>00354 --bitCount;
|
||||||
|
<a name="l00355"></a>00355 halfChange = <span class="keyword">true</span>;
|
||||||
|
<a name="l00356"></a>00356 } <span class="keywordflow">else</span> <span class="keywordflow">if</span> (halfChange) {
|
||||||
|
<a name="l00357"></a>00357 <span class="comment">// Rise was halfway through, so falling edge indicates a 1.</span>
|
||||||
|
<a name="l00358"></a>00358 bits = (bits << 1) | 0x01;
|
||||||
|
<a name="l00359"></a>00359 halfChange = <span class="keyword">false</span>;
|
||||||
|
<a name="l00360"></a>00360 } <span class="keywordflow">else</span> {
|
||||||
|
<a name="l00361"></a>00361 <span class="comment">// Rise was at the start, so falling edge indicates a 0.</span>
|
||||||
|
<a name="l00362"></a>00362 bits <<= 1;
|
||||||
|
<a name="l00363"></a>00363 halfChange = <span class="keyword">true</span>;
|
||||||
|
<a name="l00364"></a>00364 }
|
||||||
|
<a name="l00365"></a>00365 lastChange = currentTime;
|
||||||
|
<a name="l00366"></a>00366 --bitCount;
|
||||||
|
<a name="l00367"></a>00367 <span class="keywordflow">if</span> (bitCount <= 0) {
|
||||||
|
<a name="l00368"></a>00368 <span class="comment">// All 14 bits have been received, so deliver the value.</span>
|
||||||
|
<a name="l00369"></a>00369 started = <span class="keyword">false</span>;
|
||||||
|
<a name="l00370"></a>00370 buffer = bits;
|
||||||
|
<a name="l00371"></a>00371 }
|
||||||
|
<a name="l00372"></a>00372 }
|
||||||
|
<a name="l00373"></a>00373 }
|
||||||
|
</pre></div></div>
|
||||||
|
</div>
|
||||||
|
<!-- window showing the filter options -->
|
||||||
|
<div id="MSearchSelectWindow"
|
||||||
|
onmouseover="return searchBox.OnSearchSelectShow()"
|
||||||
|
onmouseout="return searchBox.OnSearchSelectHide()"
|
||||||
|
onkeydown="return searchBox.OnSearchSelectKey(event)">
|
||||||
|
<a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(0)"><span class="SelectionMark"> </span>All</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(1)"><span class="SelectionMark"> </span>Classes</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(2)"><span class="SelectionMark"> </span>Files</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(3)"><span class="SelectionMark"> </span>Functions</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(4)"><span class="SelectionMark"> </span>Variables</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(5)"><span class="SelectionMark"> </span>Typedefs</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(6)"><span class="SelectionMark"> </span>Enumerations</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(7)"><span class="SelectionMark"> </span>Enumerator</a></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>
|
||||||
|
|
||||||
|
<hr class="footer"/><address class="footer"><small>Generated on Sun Jun 10 2012 10:51:56 for ArduinoLibs by 
|
||||||
|
<a href="http://www.doxygen.org/index.html">
|
||||||
|
<img class="footer" src="doxygen.png" alt="doxygen"/></a> 1.7.4 </small></address>
|
||||||
|
</body>
|
||||||
|
</html>
|
142
IRreceiver_8h_source.html
Normal file
142
IRreceiver_8h_source.html
Normal file
@ -0,0 +1,142 @@
|
|||||||
|
<!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"/>
|
||||||
|
<title>ArduinoLibs: IRreceiver.h Source File</title>
|
||||||
|
<link href="tabs.css" rel="stylesheet" type="text/css"/>
|
||||||
|
<link href="search/search.css" rel="stylesheet" type="text/css"/>
|
||||||
|
<script type="text/javascript" src="search/search.js"></script>
|
||||||
|
<link href="doxygen.css" rel="stylesheet" type="text/css"/>
|
||||||
|
</head>
|
||||||
|
<body onload='searchBox.OnSelectItem(0);'>
|
||||||
|
<!-- Generated by Doxygen 1.7.4 -->
|
||||||
|
<script type="text/javascript"><!--
|
||||||
|
var searchBox = new SearchBox("searchBox", "search",false,'Search');
|
||||||
|
--></script>
|
||||||
|
<div id="top">
|
||||||
|
<div id="titlearea">
|
||||||
|
<table cellspacing="0" cellpadding="0">
|
||||||
|
<tbody>
|
||||||
|
<tr style="height: 56px;">
|
||||||
|
<td style="padding-left: 0.5em;">
|
||||||
|
<div id="projectname">ArduinoLibs</div>
|
||||||
|
</td>
|
||||||
|
</tr>
|
||||||
|
</tbody>
|
||||||
|
</table>
|
||||||
|
</div>
|
||||||
|
<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 class="current"><a href="files.html"><span>Files</span></a></li>
|
||||||
|
<li id="searchli">
|
||||||
|
<div id="MSearchBox" class="MSearchBoxInactive">
|
||||||
|
<span class="left">
|
||||||
|
<img id="MSearchSelect" src="search/mag_sel.png"
|
||||||
|
onmouseover="return searchBox.OnSearchSelectShow()"
|
||||||
|
onmouseout="return searchBox.OnSearchSelectHide()"
|
||||||
|
alt=""/>
|
||||||
|
<input type="text" id="MSearchField" value="Search" accesskey="S"
|
||||||
|
onfocus="searchBox.OnSearchFieldFocus(true)"
|
||||||
|
onblur="searchBox.OnSearchFieldFocus(false)"
|
||||||
|
onkeyup="searchBox.OnSearchFieldChange(event)"/>
|
||||||
|
</span><span class="right">
|
||||||
|
<a id="MSearchClose" href="javascript:searchBox.CloseResultsWindow()"><img id="MSearchCloseImg" border="0" src="search/close.png" alt=""/></a>
|
||||||
|
</span>
|
||||||
|
</div>
|
||||||
|
</li>
|
||||||
|
</ul>
|
||||||
|
</div>
|
||||||
|
<div id="navrow2" class="tabs2">
|
||||||
|
<ul class="tablist">
|
||||||
|
<li><a href="files.html"><span>File List</span></a></li>
|
||||||
|
</ul>
|
||||||
|
</div>
|
||||||
|
<div class="header">
|
||||||
|
<div class="headertitle">
|
||||||
|
<div class="title">IRreceiver.h</div> </div>
|
||||||
|
</div>
|
||||||
|
<div class="contents">
|
||||||
|
<div class="fragment"><pre class="fragment"><a name="l00001"></a>00001 <span class="comment">/*</span>
|
||||||
|
<a name="l00002"></a>00002 <span class="comment"> * Copyright (C) 2012 Southern Storm Software, Pty Ltd.</span>
|
||||||
|
<a name="l00003"></a>00003 <span class="comment"> *</span>
|
||||||
|
<a name="l00004"></a>00004 <span class="comment"> * Permission is hereby granted, free of charge, to any person obtaining a</span>
|
||||||
|
<a name="l00005"></a>00005 <span class="comment"> * copy of this software and associated documentation files (the "Software"),</span>
|
||||||
|
<a name="l00006"></a>00006 <span class="comment"> * to deal in the Software without restriction, including without limitation</span>
|
||||||
|
<a name="l00007"></a>00007 <span class="comment"> * the rights to use, copy, modify, merge, publish, distribute, sublicense,</span>
|
||||||
|
<a name="l00008"></a>00008 <span class="comment"> * and/or sell copies of the Software, and to permit persons to whom the</span>
|
||||||
|
<a name="l00009"></a>00009 <span class="comment"> * Software is furnished to do so, subject to the following conditions:</span>
|
||||||
|
<a name="l00010"></a>00010 <span class="comment"> *</span>
|
||||||
|
<a name="l00011"></a>00011 <span class="comment"> * The above copyright notice and this permission notice shall be included</span>
|
||||||
|
<a name="l00012"></a>00012 <span class="comment"> * in all copies or substantial portions of the Software.</span>
|
||||||
|
<a name="l00013"></a>00013 <span class="comment"> *</span>
|
||||||
|
<a name="l00014"></a>00014 <span class="comment"> * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS</span>
|
||||||
|
<a name="l00015"></a>00015 <span class="comment"> * OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,</span>
|
||||||
|
<a name="l00016"></a>00016 <span class="comment"> * FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE</span>
|
||||||
|
<a name="l00017"></a>00017 <span class="comment"> * AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER</span>
|
||||||
|
<a name="l00018"></a>00018 <span class="comment"> * LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING</span>
|
||||||
|
<a name="l00019"></a>00019 <span class="comment"> * FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER</span>
|
||||||
|
<a name="l00020"></a>00020 <span class="comment"> * DEALINGS IN THE SOFTWARE.</span>
|
||||||
|
<a name="l00021"></a>00021 <span class="comment"> */</span>
|
||||||
|
<a name="l00022"></a>00022
|
||||||
|
<a name="l00023"></a>00023 <span class="preprocessor">#ifndef IRreceiver_h</span>
|
||||||
|
<a name="l00024"></a>00024 <span class="preprocessor"></span><span class="preprocessor">#define IRreceiver_h</span>
|
||||||
|
<a name="l00025"></a>00025 <span class="preprocessor"></span>
|
||||||
|
<a name="l00026"></a>00026 <span class="preprocessor">#include <inttypes.h></span>
|
||||||
|
<a name="l00027"></a>00027 <span class="preprocessor">#include "RC5.h"</span>
|
||||||
|
<a name="l00028"></a>00028
|
||||||
|
<a name="l00029"></a><a class="code" href="classIRreceiver.html">00029</a> <span class="keyword">class </span><a class="code" href="classIRreceiver.html" title="Manages the reception of RC-5 commands from an infrared remote control.">IRreceiver</a>
|
||||||
|
<a name="l00030"></a>00030 {
|
||||||
|
<a name="l00031"></a>00031 <span class="keyword">public</span>:
|
||||||
|
<a name="l00032"></a>00032 <span class="keyword">explicit</span> <a class="code" href="classIRreceiver.html#a06eccb8b8311eac395e4b20c4e0163e3" title="Constructs a new infrared remote control receiver that is attached to interruptNumber.">IRreceiver</a>(<span class="keywordtype">int</span> interruptNumber = 0);
|
||||||
|
<a name="l00033"></a>00033
|
||||||
|
<a name="l00034"></a><a class="code" href="classIRreceiver.html#a9c37631cc1291dc47cabcfef2f631cf9">00034</a> <span class="keyword">static</span> <span class="keyword">const</span> <span class="keywordtype">int</span> <a class="code" href="classIRreceiver.html#a9c37631cc1291dc47cabcfef2f631cf9" title="Flag that is added to the output of command() when the command is an auto-repeated button press rathe...">AUTO_REPEAT</a> = 128;
|
||||||
|
<a name="l00035"></a>00035
|
||||||
|
<a name="l00036"></a>00036 <span class="keywordtype">int</span> <a class="code" href="classIRreceiver.html#a4b021592a2b089dc2f1e138a38506fda" title="Returns the next command from the remote control.">command</a>();
|
||||||
|
<a name="l00037"></a><a class="code" href="classIRreceiver.html#a19e9334ae97812fa85078507d105478f">00037</a> <span class="keywordtype">int</span> <a class="code" href="classIRreceiver.html#a19e9334ae97812fa85078507d105478f" title="Returns the system number of the previous command(), indicating whether the command was for a TV...">system</a>()<span class="keyword"> const </span>{ <span class="keywordflow">return</span> _system; }
|
||||||
|
<a name="l00038"></a>00038
|
||||||
|
<a name="l00039"></a><a class="code" href="classIRreceiver.html#a2c6adc404f71f263ba535ec1ed9cff1a">00039</a> <span class="keywordtype">int</span> <a class="code" href="classIRreceiver.html#a2c6adc404f71f263ba535ec1ed9cff1a" title="Returns the system to filter commands against, or -1 if no filter is set.">systemFilter</a>()<span class="keyword"> const </span>{ <span class="keywordflow">return</span> _systemFilter; }
|
||||||
|
<a name="l00040"></a><a class="code" href="classIRreceiver.html#a920828f1411fa12d1856cd933066bd08">00040</a> <span class="keywordtype">void</span> <a class="code" href="classIRreceiver.html#a920828f1411fa12d1856cd933066bd08" title="Sets the system to filter commands against, or -1 to turn off the system filter.">setSystemFilter</a>(<span class="keywordtype">int</span> <a class="code" href="classIRreceiver.html#a19e9334ae97812fa85078507d105478f" title="Returns the system number of the previous command(), indicating whether the command was for a TV...">system</a>) { _systemFilter = <a class="code" href="classIRreceiver.html#a19e9334ae97812fa85078507d105478f" title="Returns the system number of the previous command(), indicating whether the command was for a TV...">system</a>; }
|
||||||
|
<a name="l00041"></a>00041
|
||||||
|
<a name="l00042"></a>00042 <span class="keyword">private</span>:
|
||||||
|
<a name="l00043"></a>00043 <span class="keywordtype">int</span> _system;
|
||||||
|
<a name="l00044"></a>00044 <span class="keywordtype">int</span> _systemFilter;
|
||||||
|
<a name="l00045"></a>00045 uint8_t pin;
|
||||||
|
<a name="l00046"></a>00046 <span class="keywordtype">bool</span> started;
|
||||||
|
<a name="l00047"></a>00047 <span class="keywordtype">bool</span> halfChange; <span class="comment">// Value last changed half-way through bit cycle time.</span>
|
||||||
|
<a name="l00048"></a>00048 <span class="keywordtype">unsigned</span> <span class="keywordtype">long</span> lastChange;
|
||||||
|
<a name="l00049"></a>00049 <span class="keywordtype">unsigned</span> bits;
|
||||||
|
<a name="l00050"></a>00050 int8_t bitCount;
|
||||||
|
<a name="l00051"></a>00051 <span class="keyword">volatile</span> <span class="keywordtype">unsigned</span> buffer;
|
||||||
|
<a name="l00052"></a>00052 <span class="keywordtype">unsigned</span> lastBuffer;
|
||||||
|
<a name="l00053"></a>00053
|
||||||
|
<a name="l00054"></a>00054 <span class="keywordtype">void</span> handleInterrupt();
|
||||||
|
<a name="l00055"></a>00055
|
||||||
|
<a name="l00056"></a>00056 <span class="keyword">friend</span> <span class="keywordtype">void</span> _IR_receive_interrupt(<span class="keywordtype">void</span>);
|
||||||
|
<a name="l00057"></a>00057 };
|
||||||
|
<a name="l00058"></a>00058
|
||||||
|
<a name="l00059"></a>00059 <span class="preprocessor">#endif</span>
|
||||||
|
</pre></div></div>
|
||||||
|
</div>
|
||||||
|
<!-- window showing the filter options -->
|
||||||
|
<div id="MSearchSelectWindow"
|
||||||
|
onmouseover="return searchBox.OnSearchSelectShow()"
|
||||||
|
onmouseout="return searchBox.OnSearchSelectHide()"
|
||||||
|
onkeydown="return searchBox.OnSearchSelectKey(event)">
|
||||||
|
<a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(0)"><span class="SelectionMark"> </span>All</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(1)"><span class="SelectionMark"> </span>Classes</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(2)"><span class="SelectionMark"> </span>Files</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(3)"><span class="SelectionMark"> </span>Functions</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(4)"><span class="SelectionMark"> </span>Variables</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(5)"><span class="SelectionMark"> </span>Typedefs</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(6)"><span class="SelectionMark"> </span>Enumerations</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(7)"><span class="SelectionMark"> </span>Enumerator</a></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>
|
||||||
|
|
||||||
|
<hr class="footer"/><address class="footer"><small>Generated on Sun Jun 10 2012 10:51:56 for ArduinoLibs by 
|
||||||
|
<a href="http://www.doxygen.org/index.html">
|
||||||
|
<img class="footer" src="doxygen.png" alt="doxygen"/></a> 1.7.4 </small></address>
|
||||||
|
</body>
|
||||||
|
</html>
|
@ -181,7 +181,7 @@ var searchBox = new SearchBox("searchBox", "search",false,'Search');
|
|||||||
</iframe>
|
</iframe>
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
<hr class="footer"/><address class="footer"><small>Generated on Fri Jun 1 2012 14:29:16 for ArduinoLibs by 
|
<hr class="footer"/><address class="footer"><small>Generated on Sun Jun 10 2012 10:51:56 for ArduinoLibs by 
|
||||||
<a href="http://www.doxygen.org/index.html">
|
<a href="http://www.doxygen.org/index.html">
|
||||||
<img class="footer" src="doxygen.png" alt="doxygen"/></a> 1.7.4 </small></address>
|
<img class="footer" src="doxygen.png" alt="doxygen"/></a> 1.7.4 </small></address>
|
||||||
</body>
|
</body>
|
||||||
|
@ -140,7 +140,7 @@ var searchBox = new SearchBox("searchBox", "search",false,'Search');
|
|||||||
</iframe>
|
</iframe>
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
<hr class="footer"/><address class="footer"><small>Generated on Fri Jun 1 2012 14:29:16 for ArduinoLibs by 
|
<hr class="footer"/><address class="footer"><small>Generated on Sun Jun 10 2012 10:51:56 for ArduinoLibs by 
|
||||||
<a href="http://www.doxygen.org/index.html">
|
<a href="http://www.doxygen.org/index.html">
|
||||||
<img class="footer" src="doxygen.png" alt="doxygen"/></a> 1.7.4 </small></address>
|
<img class="footer" src="doxygen.png" alt="doxygen"/></a> 1.7.4 </small></address>
|
||||||
</body>
|
</body>
|
||||||
|
@ -90,138 +90,165 @@ var searchBox = new SearchBox("searchBox", "search",false,'Search');
|
|||||||
<a name="l00028"></a>00028 <span class="preprocessor"></span><span class="preprocessor">#include <WProgram.h></span>
|
<a name="l00028"></a>00028 <span class="preprocessor"></span><span class="preprocessor">#include <WProgram.h></span>
|
||||||
<a name="l00029"></a>00029 <span class="preprocessor">#endif</span>
|
<a name="l00029"></a>00029 <span class="preprocessor">#endif</span>
|
||||||
<a name="l00030"></a>00030 <span class="preprocessor"></span>
|
<a name="l00030"></a>00030 <span class="preprocessor"></span>
|
||||||
<a name="l00031"></a>00031 <span class="preprocessor">#define LCD_BACK_LIGHT 3 // LCD backlight is on D3</span>
|
<a name="l00031"></a>00031 <span class="preprocessor">#define LCD_BACK_LIGHT 3 // Default LCD backlight is on D3</span>
|
||||||
<a name="l00032"></a>00032 <span class="preprocessor"></span><span class="preprocessor">#define LCD_BUTTON_PIN A0 // Button state is on A0</span>
|
<a name="l00032"></a>00032 <span class="preprocessor"></span><span class="preprocessor">#define LCD_BUTTON_PIN A0 // Button state is on A0</span>
|
||||||
<a name="l00033"></a>00033 <span class="preprocessor"></span>
|
<a name="l00033"></a>00033 <span class="preprocessor"></span>
|
||||||
<a name="l00034"></a>00034 <span class="preprocessor">#define DEBOUNCE_DELAY 10 // Delay in ms to debounce buttons</span>
|
<a name="l00034"></a>00034 <span class="preprocessor">#define DEBOUNCE_DELAY 10 // Delay in ms to debounce buttons</span>
|
||||||
<a name="l00035"></a>00035 <span class="preprocessor"></span>
|
<a name="l00035"></a>00035 <span class="preprocessor"></span>
|
||||||
<a name="l00115"></a>00115 <span class="keywordtype">void</span> LCD::init()
|
<a name="l00130"></a>00130 <span class="keywordtype">void</span> LCD::init()
|
||||||
<a name="l00116"></a>00116 {
|
<a name="l00131"></a>00131 {
|
||||||
<a name="l00117"></a>00117 <span class="comment">// The Freetronics display is 16x2.</span>
|
<a name="l00132"></a>00132 <span class="comment">// The Freetronics display is 16x2.</span>
|
||||||
<a name="l00118"></a>00118 begin(16, 2);
|
<a name="l00133"></a>00133 begin(16, 2);
|
||||||
<a name="l00119"></a>00119
|
<a name="l00134"></a>00134
|
||||||
<a name="l00120"></a>00120 <span class="comment">// Set the LCD back light to be initially on.</span>
|
<a name="l00135"></a>00135 <span class="comment">// Configure the backlight pin, but don't activate it yet in</span>
|
||||||
<a name="l00121"></a>00121 pinMode(LCD_BACK_LIGHT, OUTPUT);
|
<a name="l00136"></a>00136 <span class="comment">// case the application sets it to something else during setup().</span>
|
||||||
<a name="l00122"></a>00122 digitalWrite(LCD_BACK_LIGHT, HIGH);
|
<a name="l00137"></a>00137 <span class="comment">// Initialization will be forced in the first call to getButton().</span>
|
||||||
<a name="l00123"></a>00123
|
<a name="l00138"></a>00138 _backlightPin = LCD_BACK_LIGHT;
|
||||||
<a name="l00124"></a>00124 <span class="comment">// Initialise button input.</span>
|
<a name="l00139"></a>00139 backlightInit = <span class="keyword">false</span>;
|
||||||
<a name="l00125"></a>00125 pinMode(LCD_BUTTON_PIN, INPUT);
|
<a name="l00140"></a>00140
|
||||||
<a name="l00126"></a>00126 digitalWrite(LCD_BUTTON_PIN, LOW);
|
<a name="l00141"></a>00141 <span class="comment">// Initialise button input.</span>
|
||||||
<a name="l00127"></a>00127 prevButton = LCD_BUTTON_NONE;
|
<a name="l00142"></a>00142 pinMode(LCD_BUTTON_PIN, INPUT);
|
||||||
<a name="l00128"></a>00128 debounceButton = LCD_BUTTON_NONE;
|
<a name="l00143"></a>00143 digitalWrite(LCD_BUTTON_PIN, LOW);
|
||||||
<a name="l00129"></a>00129 lastDebounce = 0;
|
<a name="l00144"></a>00144 prevButton = LCD_BUTTON_NONE;
|
||||||
<a name="l00130"></a>00130 eatRelease = <span class="keyword">false</span>;
|
<a name="l00145"></a>00145 debounceButton = LCD_BUTTON_NONE;
|
||||||
<a name="l00131"></a>00131
|
<a name="l00146"></a>00146 lastDebounce = 0;
|
||||||
<a name="l00132"></a>00132 <span class="comment">// Initialize screen saver.</span>
|
<a name="l00147"></a>00147 eatRelease = <span class="keyword">false</span>;
|
||||||
<a name="l00133"></a>00133 timeout = 0;
|
<a name="l00148"></a>00148
|
||||||
<a name="l00134"></a>00134 lastRestore = millis();
|
<a name="l00149"></a>00149 <span class="comment">// Initialize screen saver.</span>
|
||||||
<a name="l00135"></a>00135 screenSaved = <span class="keyword">false</span>;
|
<a name="l00150"></a>00150 timeout = 0;
|
||||||
<a name="l00136"></a>00136 mode = <a class="code" href="classLCD.html#a264bf94308c95d8598426e13dc8cdb28a3f1e62d5fcd314d6ff067d3e74c4bf5f" title="Turn off both the display and the backlight when the screen saver is activated.">DisplayOff</a>;
|
<a name="l00151"></a>00151 lastRestore = millis();
|
||||||
<a name="l00137"></a>00137 }
|
|
||||||
<a name="l00138"></a>00138
|
|
||||||
<a name="l00148"></a><a class="code" href="classLCD.html#a5b07cf05e8e5e7c53654f5ca0cf58b89">00148</a> <span class="keywordtype">void</span> <a class="code" href="classLCD.html#a5b07cf05e8e5e7c53654f5ca0cf58b89" title="Turns on the display of text on the LCD and the back light.">LCD::display</a>()
|
|
||||||
<a name="l00149"></a>00149 {
|
|
||||||
<a name="l00150"></a>00150 <a class="code" href="classLCD.html#a5b07cf05e8e5e7c53654f5ca0cf58b89" title="Turns on the display of text on the LCD and the back light.">LiquidCrystal::display</a>();
|
|
||||||
<a name="l00151"></a>00151 digitalWrite(LCD_BACK_LIGHT, HIGH);
|
|
||||||
<a name="l00152"></a>00152 screenSaved = <span class="keyword">false</span>;
|
<a name="l00152"></a>00152 screenSaved = <span class="keyword">false</span>;
|
||||||
<a name="l00153"></a>00153 lastRestore = millis();
|
<a name="l00153"></a>00153 mode = <a class="code" href="classLCD.html#a264bf94308c95d8598426e13dc8cdb28a3f1e62d5fcd314d6ff067d3e74c4bf5f" title="Turn off both the display and the backlight when the screen saver is activated.">DisplayOff</a>;
|
||||||
<a name="l00154"></a>00154 }
|
<a name="l00154"></a>00154 }
|
||||||
<a name="l00155"></a>00155
|
<a name="l00155"></a>00155
|
||||||
<a name="l00163"></a><a class="code" href="classLCD.html#af3974da6d988ba2d21c25135ada12108">00163</a> <span class="keywordtype">void</span> <a class="code" href="classLCD.html#af3974da6d988ba2d21c25135ada12108" title="Turns off the display of text on the LCD and the back light.">LCD::noDisplay</a>()
|
<a name="l00182"></a><a class="code" href="classLCD.html#a0b9b3b954290e7a3d94cdc829582b0a8">00182</a> <span class="keywordtype">void</span> <a class="code" href="classLCD.html#a0b9b3b954290e7a3d94cdc829582b0a8" title="Sets the back light pin for the LCD shield.">LCD::setBacklightPin</a>(uint8_t pin)
|
||||||
<a name="l00164"></a>00164 {
|
<a name="l00183"></a>00183 {
|
||||||
<a name="l00165"></a>00165 <span class="keywordflow">if</span> (mode == <a class="code" href="classLCD.html#a264bf94308c95d8598426e13dc8cdb28a3f1e62d5fcd314d6ff067d3e74c4bf5f" title="Turn off both the display and the backlight when the screen saver is activated.">DisplayOff</a>)
|
<a name="l00184"></a>00184 <span class="keywordflow">if</span> (_backlightPin != pin) {
|
||||||
<a name="l00166"></a>00166 <a class="code" href="classLCD.html#af3974da6d988ba2d21c25135ada12108" title="Turns off the display of text on the LCD and the back light.">LiquidCrystal::noDisplay</a>();
|
<a name="l00185"></a>00185 <span class="keywordflow">if</span> (backlightInit) {
|
||||||
<a name="l00167"></a>00167 digitalWrite(LCD_BACK_LIGHT, LOW);
|
<a name="l00186"></a>00186 <span class="comment">// Restore the previous backlight pin to input, floating.</span>
|
||||||
<a name="l00168"></a>00168 screenSaved = <span class="keyword">true</span>;
|
<a name="l00187"></a>00187 pinMode(_backlightPin, INPUT);
|
||||||
<a name="l00169"></a>00169 }
|
<a name="l00188"></a>00188 digitalWrite(_backlightPin, LOW);
|
||||||
<a name="l00170"></a>00170
|
<a name="l00189"></a>00189
|
||||||
<a name="l00206"></a><a class="code" href="classLCD.html#a56d1f68532c779c65fbbd071fb444801">00206</a> <span class="keywordtype">void</span> <a class="code" href="classLCD.html#a56d1f68532c779c65fbbd071fb444801" title="Sets the current screen saver mode.">LCD::setScreenSaverMode</a>(<a class="code" href="classLCD.html#a264bf94308c95d8598426e13dc8cdb28" title="Screen saver mode that controls the display and back light.">ScreenSaverMode</a> mode)
|
<a name="l00190"></a>00190 <span class="comment">// Need to re-initialize the backlight at the earliest opportunity.</span>
|
||||||
|
<a name="l00191"></a>00191 backlightInit = <span class="keyword">false</span>;
|
||||||
|
<a name="l00192"></a>00192 }
|
||||||
|
<a name="l00193"></a>00193 _backlightPin = pin;
|
||||||
|
<a name="l00194"></a>00194 }
|
||||||
|
<a name="l00195"></a>00195 }
|
||||||
|
<a name="l00196"></a>00196
|
||||||
|
<a name="l00206"></a><a class="code" href="classLCD.html#a5b07cf05e8e5e7c53654f5ca0cf58b89">00206</a> <span class="keywordtype">void</span> <a class="code" href="classLCD.html#a5b07cf05e8e5e7c53654f5ca0cf58b89" title="Turns on the display of text on the LCD and the back light.">LCD::display</a>()
|
||||||
<a name="l00207"></a>00207 {
|
<a name="l00207"></a>00207 {
|
||||||
<a name="l00208"></a>00208 <span class="keywordflow">if</span> (this->mode != mode) {
|
<a name="l00208"></a>00208 <a class="code" href="classLCD.html#a5b07cf05e8e5e7c53654f5ca0cf58b89" title="Turns on the display of text on the LCD and the back light.">LiquidCrystal::display</a>();
|
||||||
<a name="l00209"></a>00209 this->mode = mode;
|
<a name="l00209"></a>00209 pinMode(_backlightPin, OUTPUT);
|
||||||
<a name="l00210"></a>00210 <span class="keywordflow">if</span> (screenSaved)
|
<a name="l00210"></a>00210 digitalWrite(_backlightPin, HIGH);
|
||||||
<a name="l00211"></a>00211 <a class="code" href="classLCD.html#af3974da6d988ba2d21c25135ada12108" title="Turns off the display of text on the LCD and the back light.">noDisplay</a>();
|
<a name="l00211"></a>00211 screenSaved = <span class="keyword">false</span>;
|
||||||
<a name="l00212"></a>00212 <span class="keywordflow">else</span>
|
<a name="l00212"></a>00212 backlightInit = <span class="keyword">true</span>;
|
||||||
<a name="l00213"></a>00213 <a class="code" href="classLCD.html#a5b07cf05e8e5e7c53654f5ca0cf58b89" title="Turns on the display of text on the LCD and the back light.">display</a>();
|
<a name="l00213"></a>00213 lastRestore = millis();
|
||||||
<a name="l00214"></a>00214 }
|
<a name="l00214"></a>00214 }
|
||||||
<a name="l00215"></a>00215 }
|
<a name="l00215"></a>00215
|
||||||
<a name="l00216"></a>00216
|
<a name="l00223"></a><a class="code" href="classLCD.html#af3974da6d988ba2d21c25135ada12108">00223</a> <span class="keywordtype">void</span> <a class="code" href="classLCD.html#af3974da6d988ba2d21c25135ada12108" title="Turns off the display of text on the LCD and the back light.">LCD::noDisplay</a>()
|
||||||
<a name="l00232"></a><a class="code" href="classLCD.html#af9a2326d034fa159d384ec16223c924f">00232</a> <span class="keywordtype">void</span> <a class="code" href="classLCD.html#af9a2326d034fa159d384ec16223c924f" title="Enables the screen saver and causes it to activate after timeoutSecs of inactivity on the buttons...">LCD::enableScreenSaver</a>(<span class="keywordtype">int</span> timeoutSecs)
|
<a name="l00224"></a>00224 {
|
||||||
<a name="l00233"></a>00233 {
|
<a name="l00225"></a>00225 <span class="keywordflow">if</span> (mode == <a class="code" href="classLCD.html#a264bf94308c95d8598426e13dc8cdb28a3f1e62d5fcd314d6ff067d3e74c4bf5f" title="Turn off both the display and the backlight when the screen saver is activated.">DisplayOff</a>)
|
||||||
<a name="l00234"></a>00234 <span class="keywordflow">if</span> (timeoutSecs < 0)
|
<a name="l00226"></a>00226 <a class="code" href="classLCD.html#af3974da6d988ba2d21c25135ada12108" title="Turns off the display of text on the LCD and the back light.">LiquidCrystal::noDisplay</a>();
|
||||||
<a name="l00235"></a>00235 timeout = 0;
|
<a name="l00227"></a>00227 pinMode(_backlightPin, OUTPUT);
|
||||||
<a name="l00236"></a>00236 <span class="keywordflow">else</span>
|
<a name="l00228"></a>00228 digitalWrite(_backlightPin, LOW);
|
||||||
<a name="l00237"></a>00237 timeout = ((<span class="keywordtype">unsigned</span> long)timeoutSecs) * 1000;
|
<a name="l00229"></a>00229 screenSaved = <span class="keyword">true</span>;
|
||||||
<a name="l00238"></a>00238 <a class="code" href="classLCD.html#a5b07cf05e8e5e7c53654f5ca0cf58b89" title="Turns on the display of text on the LCD and the back light.">display</a>();
|
<a name="l00230"></a>00230 backlightInit = <span class="keyword">true</span>;
|
||||||
<a name="l00239"></a>00239 }
|
<a name="l00231"></a>00231 }
|
||||||
<a name="l00240"></a>00240
|
<a name="l00232"></a>00232
|
||||||
<a name="l00246"></a><a class="code" href="classLCD.html#a85c3a4694b105731404df36e35e5b26e">00246</a> <span class="keywordtype">void</span> <a class="code" href="classLCD.html#a85c3a4694b105731404df36e35e5b26e" title="Disables the screen saver.">LCD::disableScreenSaver</a>()
|
<a name="l00268"></a><a class="code" href="classLCD.html#a56d1f68532c779c65fbbd071fb444801">00268</a> <span class="keywordtype">void</span> <a class="code" href="classLCD.html#a56d1f68532c779c65fbbd071fb444801" title="Sets the current screen saver mode.">LCD::setScreenSaverMode</a>(<a class="code" href="classLCD.html#a264bf94308c95d8598426e13dc8cdb28" title="Screen saver mode that controls the display and back light.">ScreenSaverMode</a> mode)
|
||||||
<a name="l00247"></a>00247 {
|
<a name="l00269"></a>00269 {
|
||||||
<a name="l00248"></a>00248 timeout = 0;
|
<a name="l00270"></a>00270 <span class="keywordflow">if</span> (this->mode != mode) {
|
||||||
<a name="l00249"></a>00249 <a class="code" href="classLCD.html#a5b07cf05e8e5e7c53654f5ca0cf58b89" title="Turns on the display of text on the LCD and the back light.">display</a>();
|
<a name="l00271"></a>00271 this->mode = mode;
|
||||||
<a name="l00250"></a>00250 }
|
<a name="l00272"></a>00272 <span class="keywordflow">if</span> (screenSaved)
|
||||||
<a name="l00251"></a>00251
|
<a name="l00273"></a>00273 <a class="code" href="classLCD.html#af3974da6d988ba2d21c25135ada12108" title="Turns off the display of text on the LCD and the back light.">noDisplay</a>();
|
||||||
<a name="l00259"></a>00259 <span class="comment">// Button mapping table generated by genlookup.c</span>
|
<a name="l00274"></a>00274 <span class="keywordflow">else</span>
|
||||||
<a name="l00260"></a>00260 <span class="keyword">static</span> prog_uint8_t <span class="keyword">const</span> buttonMappings[] PROGMEM = {
|
<a name="l00275"></a>00275 <a class="code" href="classLCD.html#a5b07cf05e8e5e7c53654f5ca0cf58b89" title="Turns on the display of text on the LCD and the back light.">display</a>();
|
||||||
<a name="l00261"></a>00261 2, 0, 0, 0, 3, 0, 0, 0, 0, 4, 4, 0, 0, 0, 0, 1,
|
<a name="l00276"></a>00276 }
|
||||||
<a name="l00262"></a>00262 1, 0, 0, 0, 0, 0, 5, 5, 0, 0, 0, 0, 0, 0, 0, 0
|
<a name="l00277"></a>00277 }
|
||||||
<a name="l00263"></a>00263 };
|
<a name="l00278"></a>00278
|
||||||
<a name="l00264"></a>00264 <span class="preprocessor">#define mapButton(value) (pgm_read_byte(&(buttonMappings[(value) >> 5])))</span>
|
<a name="l00294"></a><a class="code" href="classLCD.html#af9a2326d034fa159d384ec16223c924f">00294</a> <span class="keywordtype">void</span> <a class="code" href="classLCD.html#af9a2326d034fa159d384ec16223c924f" title="Enables the screen saver and causes it to activate after timeoutSecs of inactivity on the buttons...">LCD::enableScreenSaver</a>(<span class="keywordtype">int</span> timeoutSecs)
|
||||||
<a name="l00265"></a>00265 <span class="preprocessor"></span>
|
<a name="l00295"></a>00295 {
|
||||||
<a name="l00291"></a><a class="code" href="classLCD.html#ac1e80e2603bd1cf0276c36092c416292">00291</a> <span class="keywordtype">int</span> <a class="code" href="classLCD.html#ac1e80e2603bd1cf0276c36092c416292" title="Gets the next button press, release, or idle event.">LCD::getButton</a>()
|
<a name="l00296"></a>00296 <span class="keywordflow">if</span> (timeoutSecs < 0)
|
||||||
<a name="l00292"></a>00292 {
|
<a name="l00297"></a>00297 timeout = 0;
|
||||||
<a name="l00293"></a>00293 <span class="comment">// Read the currently pressed button.</span>
|
<a name="l00298"></a>00298 <span class="keywordflow">else</span>
|
||||||
<a name="l00294"></a>00294 <span class="keywordtype">int</span> button = mapButton(analogRead(LCD_BUTTON_PIN));
|
<a name="l00299"></a>00299 timeout = ((<span class="keywordtype">unsigned</span> long)timeoutSecs) * 1000;
|
||||||
<a name="l00295"></a>00295
|
<a name="l00300"></a>00300 <a class="code" href="classLCD.html#a5b07cf05e8e5e7c53654f5ca0cf58b89" title="Turns on the display of text on the LCD and the back light.">display</a>();
|
||||||
<a name="l00296"></a>00296 <span class="comment">// Debounce the button state.</span>
|
<a name="l00301"></a>00301 }
|
||||||
<a name="l00297"></a>00297 <span class="keywordtype">unsigned</span> <span class="keywordtype">long</span> currentTime = millis();
|
<a name="l00302"></a>00302
|
||||||
<a name="l00298"></a>00298 <span class="keywordflow">if</span> (button != debounceButton)
|
<a name="l00308"></a><a class="code" href="classLCD.html#a85c3a4694b105731404df36e35e5b26e">00308</a> <span class="keywordtype">void</span> <a class="code" href="classLCD.html#a85c3a4694b105731404df36e35e5b26e" title="Disables the screen saver.">LCD::disableScreenSaver</a>()
|
||||||
<a name="l00299"></a>00299 lastDebounce = currentTime;
|
<a name="l00309"></a>00309 {
|
||||||
<a name="l00300"></a>00300 debounceButton = button;
|
<a name="l00310"></a>00310 timeout = 0;
|
||||||
<a name="l00301"></a>00301 <span class="keywordflow">if</span> ((currentTime - lastDebounce) < DEBOUNCE_DELAY)
|
<a name="l00311"></a>00311 <a class="code" href="classLCD.html#a5b07cf05e8e5e7c53654f5ca0cf58b89" title="Turns on the display of text on the LCD and the back light.">display</a>();
|
||||||
<a name="l00302"></a>00302 button = prevButton;
|
<a name="l00312"></a>00312 }
|
||||||
<a name="l00303"></a>00303
|
<a name="l00313"></a>00313
|
||||||
<a name="l00304"></a>00304 <span class="comment">// Process the button event if the state has changed.</span>
|
<a name="l00321"></a>00321 <span class="comment">// Button mapping table generated by genlookup.c</span>
|
||||||
<a name="l00305"></a>00305 <span class="keywordflow">if</span> (prevButton == LCD_BUTTON_NONE && button != LCD_BUTTON_NONE) {
|
<a name="l00322"></a>00322 <span class="keyword">static</span> prog_uint8_t <span class="keyword">const</span> buttonMappings[] PROGMEM = {
|
||||||
<a name="l00306"></a>00306 prevButton = button;
|
<a name="l00323"></a>00323 2, 0, 0, 0, 3, 0, 0, 0, 0, 4, 4, 0, 0, 0, 0, 1,
|
||||||
<a name="l00307"></a>00307 <span class="keywordflow">if</span> (screenSaved) {
|
<a name="l00324"></a>00324 1, 0, 0, 0, 0, 0, 5, 5, 0, 0, 0, 0, 0, 0, 0, 0
|
||||||
<a name="l00308"></a>00308 <span class="comment">// Button pressed when screen saver active.</span>
|
<a name="l00325"></a>00325 };
|
||||||
<a name="l00309"></a>00309 <span class="keywordflow">if</span> (mode == <a class="code" href="classLCD.html#a264bf94308c95d8598426e13dc8cdb28a781f3c5e42506bf4f86ba06d69b23d35" title="Same as BacklightOff but the screen saver is only deactivated when Select is pressed; other buttons h...">BacklightOnSelect</a>) {
|
<a name="l00326"></a>00326 <span class="preprocessor">#define mapButton(value) (pgm_read_byte(&(buttonMappings[(value) >> 5])))</span>
|
||||||
<a name="l00310"></a>00310 <span class="comment">// Turn on the back light only if Select was pressed.</span>
|
<a name="l00327"></a>00327 <span class="preprocessor"></span>
|
||||||
<a name="l00311"></a>00311 <span class="keywordflow">if</span> (button == LCD_BUTTON_SELECT) {
|
<a name="l00353"></a><a class="code" href="classLCD.html#ac1e80e2603bd1cf0276c36092c416292">00353</a> <span class="keywordtype">int</span> <a class="code" href="classLCD.html#ac1e80e2603bd1cf0276c36092c416292" title="Gets the next button press, release, or idle event.">LCD::getButton</a>()
|
||||||
<a name="l00312"></a>00312 digitalWrite(LCD_BACK_LIGHT, HIGH);
|
<a name="l00354"></a>00354 {
|
||||||
<a name="l00313"></a>00313 screenSaved = <span class="keyword">false</span>;
|
<a name="l00355"></a>00355 <span class="comment">// Initialize the backlight for the first time if necessary.</span>
|
||||||
<a name="l00314"></a>00314 }
|
<a name="l00356"></a>00356 <span class="keywordflow">if</span> (!backlightInit)
|
||||||
<a name="l00315"></a>00315 } <span class="keywordflow">else</span> <span class="keywordflow">if</span> (mode == <a class="code" href="classLCD.html#a264bf94308c95d8598426e13dc8cdb28a3f1e62d5fcd314d6ff067d3e74c4bf5f" title="Turn off both the display and the backlight when the screen saver is activated.">DisplayOff</a>) {
|
<a name="l00357"></a>00357 <a class="code" href="classLCD.html#a5b07cf05e8e5e7c53654f5ca0cf58b89" title="Turns on the display of text on the LCD and the back light.">display</a>();
|
||||||
<a name="l00316"></a>00316 <a class="code" href="classLCD.html#a5b07cf05e8e5e7c53654f5ca0cf58b89" title="Turns on the display of text on the LCD and the back light.">display</a>();
|
<a name="l00358"></a>00358
|
||||||
<a name="l00317"></a>00317 eatRelease = <span class="keyword">true</span>;
|
<a name="l00359"></a>00359 <span class="comment">// Read the currently pressed button.</span>
|
||||||
<a name="l00318"></a>00318 <span class="keywordflow">return</span> LCD_BUTTON_NONE;
|
<a name="l00360"></a>00360 <span class="keywordtype">int</span> button = mapButton(analogRead(LCD_BUTTON_PIN));
|
||||||
<a name="l00319"></a>00319 } <span class="keywordflow">else</span> {
|
<a name="l00361"></a>00361
|
||||||
<a name="l00320"></a>00320 <a class="code" href="classLCD.html#a5b07cf05e8e5e7c53654f5ca0cf58b89" title="Turns on the display of text on the LCD and the back light.">display</a>();
|
<a name="l00362"></a>00362 <span class="comment">// Debounce the button state.</span>
|
||||||
<a name="l00321"></a>00321 }
|
<a name="l00363"></a>00363 <span class="keywordtype">unsigned</span> <span class="keywordtype">long</span> currentTime = millis();
|
||||||
<a name="l00322"></a>00322 } <span class="keywordflow">else</span> <span class="keywordflow">if</span> (mode == <a class="code" href="classLCD.html#a264bf94308c95d8598426e13dc8cdb28a781f3c5e42506bf4f86ba06d69b23d35" title="Same as BacklightOff but the screen saver is only deactivated when Select is pressed; other buttons h...">BacklightOnSelect</a> && button != LCD_BUTTON_SELECT) {
|
<a name="l00364"></a>00364 <span class="keywordflow">if</span> (button != debounceButton)
|
||||||
<a name="l00323"></a>00323 eatRelease = <span class="keyword">false</span>;
|
<a name="l00365"></a>00365 lastDebounce = currentTime;
|
||||||
<a name="l00324"></a>00324 <span class="keywordflow">return</span> button;
|
<a name="l00366"></a>00366 debounceButton = button;
|
||||||
<a name="l00325"></a>00325 }
|
<a name="l00367"></a>00367 <span class="keywordflow">if</span> ((currentTime - lastDebounce) < DEBOUNCE_DELAY)
|
||||||
<a name="l00326"></a>00326 eatRelease = <span class="keyword">false</span>;
|
<a name="l00368"></a>00368 button = prevButton;
|
||||||
<a name="l00327"></a>00327 lastRestore = currentTime;
|
<a name="l00369"></a>00369
|
||||||
<a name="l00328"></a>00328 <span class="keywordflow">return</span> button;
|
<a name="l00370"></a>00370 <span class="comment">// Process the button event if the state has changed.</span>
|
||||||
<a name="l00329"></a>00329 } <span class="keywordflow">else</span> <span class="keywordflow">if</span> (prevButton != LCD_BUTTON_NONE && button == LCD_BUTTON_NONE) {
|
<a name="l00371"></a>00371 <span class="keywordflow">if</span> (prevButton == LCD_BUTTON_NONE && button != LCD_BUTTON_NONE) {
|
||||||
<a name="l00330"></a>00330 button = -prevButton;
|
<a name="l00372"></a>00372 prevButton = button;
|
||||||
<a name="l00331"></a>00331 prevButton = LCD_BUTTON_NONE;
|
<a name="l00373"></a>00373 <span class="keywordflow">if</span> (screenSaved) {
|
||||||
<a name="l00332"></a>00332 lastRestore = currentTime;
|
<a name="l00374"></a>00374 <span class="comment">// Button pressed when screen saver active.</span>
|
||||||
<a name="l00333"></a>00333 <span class="keywordflow">if</span> (eatRelease) {
|
<a name="l00375"></a>00375 <span class="keywordflow">if</span> (mode == <a class="code" href="classLCD.html#a264bf94308c95d8598426e13dc8cdb28a781f3c5e42506bf4f86ba06d69b23d35" title="Same as BacklightOff but the screen saver is only deactivated when Select is pressed; other buttons h...">BacklightOnSelect</a>) {
|
||||||
<a name="l00334"></a>00334 eatRelease = <span class="keyword">false</span>;
|
<a name="l00376"></a>00376 <span class="comment">// Turn on the back light only if Select was pressed.</span>
|
||||||
<a name="l00335"></a>00335 <span class="keywordflow">return</span> LCD_BUTTON_NONE;
|
<a name="l00377"></a>00377 <span class="keywordflow">if</span> (button == LCD_BUTTON_SELECT) {
|
||||||
<a name="l00336"></a>00336 }
|
<a name="l00378"></a>00378 pinMode(_backlightPin, OUTPUT);
|
||||||
<a name="l00337"></a>00337 <span class="keywordflow">return</span> button;
|
<a name="l00379"></a>00379 digitalWrite(_backlightPin, HIGH);
|
||||||
<a name="l00338"></a>00338 } <span class="keywordflow">else</span> {
|
<a name="l00380"></a>00380 screenSaved = <span class="keyword">false</span>;
|
||||||
<a name="l00339"></a>00339 <span class="keywordflow">if</span> (!screenSaved && prevButton == LCD_BUTTON_NONE &&
|
<a name="l00381"></a>00381 backlightInit = <span class="keyword">true</span>;
|
||||||
<a name="l00340"></a>00340 timeout != 0 && (currentTime - lastRestore) >= timeout)
|
<a name="l00382"></a>00382 }
|
||||||
<a name="l00341"></a>00341 <a class="code" href="classLCD.html#af3974da6d988ba2d21c25135ada12108" title="Turns off the display of text on the LCD and the back light.">noDisplay</a>(); <span class="comment">// Activate screen saver.</span>
|
<a name="l00383"></a>00383 } <span class="keywordflow">else</span> <span class="keywordflow">if</span> (mode == <a class="code" href="classLCD.html#a264bf94308c95d8598426e13dc8cdb28a3f1e62d5fcd314d6ff067d3e74c4bf5f" title="Turn off both the display and the backlight when the screen saver is activated.">DisplayOff</a>) {
|
||||||
<a name="l00342"></a>00342 <span class="keywordflow">return</span> LCD_BUTTON_NONE;
|
<a name="l00384"></a>00384 <a class="code" href="classLCD.html#a5b07cf05e8e5e7c53654f5ca0cf58b89" title="Turns on the display of text on the LCD and the back light.">display</a>();
|
||||||
<a name="l00343"></a>00343 }
|
<a name="l00385"></a>00385 eatRelease = <span class="keyword">true</span>;
|
||||||
<a name="l00344"></a>00344 }
|
<a name="l00386"></a>00386 <span class="keywordflow">return</span> LCD_BUTTON_NONE;
|
||||||
|
<a name="l00387"></a>00387 } <span class="keywordflow">else</span> {
|
||||||
|
<a name="l00388"></a>00388 <a class="code" href="classLCD.html#a5b07cf05e8e5e7c53654f5ca0cf58b89" title="Turns on the display of text on the LCD and the back light.">display</a>();
|
||||||
|
<a name="l00389"></a>00389 }
|
||||||
|
<a name="l00390"></a>00390 } <span class="keywordflow">else</span> <span class="keywordflow">if</span> (mode == <a class="code" href="classLCD.html#a264bf94308c95d8598426e13dc8cdb28a781f3c5e42506bf4f86ba06d69b23d35" title="Same as BacklightOff but the screen saver is only deactivated when Select is pressed; other buttons h...">BacklightOnSelect</a> && button != LCD_BUTTON_SELECT) {
|
||||||
|
<a name="l00391"></a>00391 eatRelease = <span class="keyword">false</span>;
|
||||||
|
<a name="l00392"></a>00392 <span class="keywordflow">return</span> button;
|
||||||
|
<a name="l00393"></a>00393 }
|
||||||
|
<a name="l00394"></a>00394 eatRelease = <span class="keyword">false</span>;
|
||||||
|
<a name="l00395"></a>00395 lastRestore = currentTime;
|
||||||
|
<a name="l00396"></a>00396 <span class="keywordflow">return</span> button;
|
||||||
|
<a name="l00397"></a>00397 } <span class="keywordflow">else</span> <span class="keywordflow">if</span> (prevButton != LCD_BUTTON_NONE && button == LCD_BUTTON_NONE) {
|
||||||
|
<a name="l00398"></a>00398 button = -prevButton;
|
||||||
|
<a name="l00399"></a>00399 prevButton = LCD_BUTTON_NONE;
|
||||||
|
<a name="l00400"></a>00400 lastRestore = currentTime;
|
||||||
|
<a name="l00401"></a>00401 <span class="keywordflow">if</span> (eatRelease) {
|
||||||
|
<a name="l00402"></a>00402 eatRelease = <span class="keyword">false</span>;
|
||||||
|
<a name="l00403"></a>00403 <span class="keywordflow">return</span> LCD_BUTTON_NONE;
|
||||||
|
<a name="l00404"></a>00404 }
|
||||||
|
<a name="l00405"></a>00405 <span class="keywordflow">return</span> button;
|
||||||
|
<a name="l00406"></a>00406 } <span class="keywordflow">else</span> {
|
||||||
|
<a name="l00407"></a>00407 <span class="keywordflow">if</span> (!screenSaved && prevButton == LCD_BUTTON_NONE &&
|
||||||
|
<a name="l00408"></a>00408 timeout != 0 && (currentTime - lastRestore) >= timeout)
|
||||||
|
<a name="l00409"></a>00409 <a class="code" href="classLCD.html#af3974da6d988ba2d21c25135ada12108" title="Turns off the display of text on the LCD and the back light.">noDisplay</a>(); <span class="comment">// Activate screen saver.</span>
|
||||||
|
<a name="l00410"></a>00410 <span class="keywordflow">return</span> LCD_BUTTON_NONE;
|
||||||
|
<a name="l00411"></a>00411 }
|
||||||
|
<a name="l00412"></a>00412 }
|
||||||
</pre></div></div>
|
</pre></div></div>
|
||||||
</div>
|
</div>
|
||||||
<!-- window showing the filter options -->
|
<!-- window showing the filter options -->
|
||||||
@ -238,7 +265,7 @@ var searchBox = new SearchBox("searchBox", "search",false,'Search');
|
|||||||
</iframe>
|
</iframe>
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
<hr class="footer"/><address class="footer"><small>Generated on Fri Jun 1 2012 14:29:16 for ArduinoLibs by 
|
<hr class="footer"/><address class="footer"><small>Generated on Sun Jun 10 2012 10:51:56 for ArduinoLibs by 
|
||||||
<a href="http://www.doxygen.org/index.html">
|
<a href="http://www.doxygen.org/index.html">
|
||||||
<img class="footer" src="doxygen.png" alt="doxygen"/></a> 1.7.4 </small></address>
|
<img class="footer" src="doxygen.png" alt="doxygen"/></a> 1.7.4 </small></address>
|
||||||
</body>
|
</body>
|
||||||
|
@ -112,39 +112,44 @@ var searchBox = new SearchBox("searchBox", "search",false,'Search');
|
|||||||
<a name="l00050"></a><a class="code" href="classLCD.html#a00bb2db1390721abc7b24ac4b8c276c8">00050</a> <a class="code" href="classLCD.html#a00bb2db1390721abc7b24ac4b8c276c8" title="Initialize the Freetronics LCD display with the default pin assignment.">LCD</a>() : LiquidCrystal(8, 9, 4, 5, 6, 7) { init(); }
|
<a name="l00050"></a><a class="code" href="classLCD.html#a00bb2db1390721abc7b24ac4b8c276c8">00050</a> <a class="code" href="classLCD.html#a00bb2db1390721abc7b24ac4b8c276c8" title="Initialize the Freetronics LCD display with the default pin assignment.">LCD</a>() : LiquidCrystal(8, 9, 4, 5, 6, 7) { init(); }
|
||||||
<a name="l00051"></a><a class="code" href="classLCD.html#a067bc741cf27f143aba5d9f147908401">00051</a> <a class="code" href="classLCD.html#a067bc741cf27f143aba5d9f147908401" title="Initialize the Freetronics LCD display for USBDroid.">LCD</a>(uint8_t pin9) : LiquidCrystal(8, pin9, 4, 5, 6, 7) { init(); }
|
<a name="l00051"></a><a class="code" href="classLCD.html#a067bc741cf27f143aba5d9f147908401">00051</a> <a class="code" href="classLCD.html#a067bc741cf27f143aba5d9f147908401" title="Initialize the Freetronics LCD display for USBDroid.">LCD</a>(uint8_t pin9) : LiquidCrystal(8, pin9, 4, 5, 6, 7) { init(); }
|
||||||
<a name="l00052"></a>00052
|
<a name="l00052"></a>00052
|
||||||
<a name="l00053"></a>00053 <span class="keywordtype">void</span> <a class="code" href="classLCD.html#a5b07cf05e8e5e7c53654f5ca0cf58b89" title="Turns on the display of text on the LCD and the back light.">display</a>();
|
<a name="l00053"></a><a class="code" href="classLCD.html#a171f59ba80e7775ebd3a399f56482a9c">00053</a> uint8_t <a class="code" href="classLCD.html#a171f59ba80e7775ebd3a399f56482a9c" title="Returns the pin that is being used to control the back light. The default is 3.">backlightPin</a>()<span class="keyword"> const </span>{ <span class="keywordflow">return</span> _backlightPin; }
|
||||||
<a name="l00054"></a>00054 <span class="keywordtype">void</span> <a class="code" href="classLCD.html#af3974da6d988ba2d21c25135ada12108" title="Turns off the display of text on the LCD and the back light.">noDisplay</a>();
|
<a name="l00054"></a>00054 <span class="keywordtype">void</span> <a class="code" href="classLCD.html#a0b9b3b954290e7a3d94cdc829582b0a8" title="Sets the back light pin for the LCD shield.">setBacklightPin</a>(uint8_t pin);
|
||||||
<a name="l00055"></a>00055
|
<a name="l00055"></a>00055
|
||||||
<a name="l00056"></a><a class="code" href="classLCD.html#a264bf94308c95d8598426e13dc8cdb28">00056</a> <span class="keyword">enum</span> <a class="code" href="classLCD.html#a264bf94308c95d8598426e13dc8cdb28" title="Screen saver mode that controls the display and back light.">ScreenSaverMode</a>
|
<a name="l00056"></a>00056 <span class="keywordtype">void</span> <a class="code" href="classLCD.html#a5b07cf05e8e5e7c53654f5ca0cf58b89" title="Turns on the display of text on the LCD and the back light.">display</a>();
|
||||||
<a name="l00057"></a>00057 {
|
<a name="l00057"></a>00057 <span class="keywordtype">void</span> <a class="code" href="classLCD.html#af3974da6d988ba2d21c25135ada12108" title="Turns off the display of text on the LCD and the back light.">noDisplay</a>();
|
||||||
<a name="l00058"></a><a class="code" href="classLCD.html#a264bf94308c95d8598426e13dc8cdb28a3f1e62d5fcd314d6ff067d3e74c4bf5f">00058</a> <a class="code" href="classLCD.html#a264bf94308c95d8598426e13dc8cdb28a3f1e62d5fcd314d6ff067d3e74c4bf5f" title="Turn off both the display and the backlight when the screen saver is activated.">DisplayOff</a>,
|
<a name="l00058"></a>00058
|
||||||
<a name="l00059"></a><a class="code" href="classLCD.html#a264bf94308c95d8598426e13dc8cdb28a9931c078cfd1023c69f1da431f9a656c">00059</a> <a class="code" href="classLCD.html#a264bf94308c95d8598426e13dc8cdb28a9931c078cfd1023c69f1da431f9a656c" title="Turn off the back light but leave the display on when the screen saver is activated.">BacklightOff</a>,
|
<a name="l00059"></a><a class="code" href="classLCD.html#a264bf94308c95d8598426e13dc8cdb28">00059</a> <span class="keyword">enum</span> <a class="code" href="classLCD.html#a264bf94308c95d8598426e13dc8cdb28" title="Screen saver mode that controls the display and back light.">ScreenSaverMode</a>
|
||||||
<a name="l00060"></a><a class="code" href="classLCD.html#a264bf94308c95d8598426e13dc8cdb28a781f3c5e42506bf4f86ba06d69b23d35">00060</a> <a class="code" href="classLCD.html#a264bf94308c95d8598426e13dc8cdb28a781f3c5e42506bf4f86ba06d69b23d35" title="Same as BacklightOff but the screen saver is only deactivated when Select is pressed; other buttons h...">BacklightOnSelect</a>
|
<a name="l00060"></a>00060 {
|
||||||
<a name="l00061"></a>00061 };
|
<a name="l00061"></a><a class="code" href="classLCD.html#a264bf94308c95d8598426e13dc8cdb28a3f1e62d5fcd314d6ff067d3e74c4bf5f">00061</a> <a class="code" href="classLCD.html#a264bf94308c95d8598426e13dc8cdb28a3f1e62d5fcd314d6ff067d3e74c4bf5f" title="Turn off both the display and the backlight when the screen saver is activated.">DisplayOff</a>,
|
||||||
<a name="l00062"></a>00062
|
<a name="l00062"></a><a class="code" href="classLCD.html#a264bf94308c95d8598426e13dc8cdb28a9931c078cfd1023c69f1da431f9a656c">00062</a> <a class="code" href="classLCD.html#a264bf94308c95d8598426e13dc8cdb28a9931c078cfd1023c69f1da431f9a656c" title="Turn off the back light but leave the display on when the screen saver is activated.">BacklightOff</a>,
|
||||||
<a name="l00063"></a><a class="code" href="classLCD.html#a1917fa285f81f476b4c7cc20d15456b8">00063</a> <a class="code" href="classLCD.html#a264bf94308c95d8598426e13dc8cdb28" title="Screen saver mode that controls the display and back light.">ScreenSaverMode</a> <a class="code" href="classLCD.html#a1917fa285f81f476b4c7cc20d15456b8" title="Returns the current screen saver mode; default is DisplayOff.">screenSaverMode</a>()<span class="keyword"> const </span>{ <span class="keywordflow">return</span> mode; }
|
<a name="l00063"></a><a class="code" href="classLCD.html#a264bf94308c95d8598426e13dc8cdb28a781f3c5e42506bf4f86ba06d69b23d35">00063</a> <a class="code" href="classLCD.html#a264bf94308c95d8598426e13dc8cdb28a781f3c5e42506bf4f86ba06d69b23d35" title="Same as BacklightOff but the screen saver is only deactivated when Select is pressed; other buttons h...">BacklightOnSelect</a>
|
||||||
<a name="l00064"></a>00064 <span class="keywordtype">void</span> <a class="code" href="classLCD.html#a56d1f68532c779c65fbbd071fb444801" title="Sets the current screen saver mode.">setScreenSaverMode</a>(<a class="code" href="classLCD.html#a264bf94308c95d8598426e13dc8cdb28" title="Screen saver mode that controls the display and back light.">ScreenSaverMode</a> mode);
|
<a name="l00064"></a>00064 };
|
||||||
<a name="l00065"></a>00065
|
<a name="l00065"></a>00065
|
||||||
<a name="l00066"></a>00066 <span class="keywordtype">void</span> <a class="code" href="classLCD.html#af9a2326d034fa159d384ec16223c924f" title="Enables the screen saver and causes it to activate after timeoutSecs of inactivity on the buttons...">enableScreenSaver</a>(<span class="keywordtype">int</span> timeoutSecs = 10);
|
<a name="l00066"></a><a class="code" href="classLCD.html#a1917fa285f81f476b4c7cc20d15456b8">00066</a> <a class="code" href="classLCD.html#a264bf94308c95d8598426e13dc8cdb28" title="Screen saver mode that controls the display and back light.">ScreenSaverMode</a> <a class="code" href="classLCD.html#a1917fa285f81f476b4c7cc20d15456b8" title="Returns the current screen saver mode; default is DisplayOff.">screenSaverMode</a>()<span class="keyword"> const </span>{ <span class="keywordflow">return</span> mode; }
|
||||||
<a name="l00067"></a>00067 <span class="keywordtype">void</span> <a class="code" href="classLCD.html#a85c3a4694b105731404df36e35e5b26e" title="Disables the screen saver.">disableScreenSaver</a>();
|
<a name="l00067"></a>00067 <span class="keywordtype">void</span> <a class="code" href="classLCD.html#a56d1f68532c779c65fbbd071fb444801" title="Sets the current screen saver mode.">setScreenSaverMode</a>(<a class="code" href="classLCD.html#a264bf94308c95d8598426e13dc8cdb28" title="Screen saver mode that controls the display and back light.">ScreenSaverMode</a> mode);
|
||||||
<a name="l00068"></a><a class="code" href="classLCD.html#af5d5ca618a3161aa352027b58fe09d0e">00068</a> <span class="keywordtype">bool</span> <a class="code" href="classLCD.html#af5d5ca618a3161aa352027b58fe09d0e" title="Returns true if the screen has been saved; false otherwise.">isScreenSaved</a>()<span class="keyword"> const </span>{ <span class="keywordflow">return</span> screenSaved; }
|
<a name="l00068"></a>00068
|
||||||
<a name="l00069"></a>00069
|
<a name="l00069"></a>00069 <span class="keywordtype">void</span> <a class="code" href="classLCD.html#af9a2326d034fa159d384ec16223c924f" title="Enables the screen saver and causes it to activate after timeoutSecs of inactivity on the buttons...">enableScreenSaver</a>(<span class="keywordtype">int</span> timeoutSecs = 10);
|
||||||
<a name="l00070"></a>00070 <span class="keywordtype">int</span> <a class="code" href="classLCD.html#ac1e80e2603bd1cf0276c36092c416292" title="Gets the next button press, release, or idle event.">getButton</a>();
|
<a name="l00070"></a>00070 <span class="keywordtype">void</span> <a class="code" href="classLCD.html#a85c3a4694b105731404df36e35e5b26e" title="Disables the screen saver.">disableScreenSaver</a>();
|
||||||
<a name="l00071"></a>00071
|
<a name="l00071"></a><a class="code" href="classLCD.html#af5d5ca618a3161aa352027b58fe09d0e">00071</a> <span class="keywordtype">bool</span> <a class="code" href="classLCD.html#af5d5ca618a3161aa352027b58fe09d0e" title="Returns true if the screen has been saved; false otherwise.">isScreenSaved</a>()<span class="keyword"> const </span>{ <span class="keywordflow">return</span> screenSaved; }
|
||||||
<a name="l00072"></a>00072 <span class="keyword">private</span>:
|
<a name="l00072"></a>00072
|
||||||
<a name="l00073"></a>00073 <span class="keywordtype">int</span> prevButton;
|
<a name="l00073"></a>00073 <span class="keywordtype">int</span> <a class="code" href="classLCD.html#ac1e80e2603bd1cf0276c36092c416292" title="Gets the next button press, release, or idle event.">getButton</a>();
|
||||||
<a name="l00074"></a>00074 <span class="keywordtype">int</span> debounceButton;
|
<a name="l00074"></a>00074
|
||||||
<a name="l00075"></a>00075 <span class="keywordtype">unsigned</span> <span class="keywordtype">long</span> timeout;
|
<a name="l00075"></a>00075 <span class="keyword">private</span>:
|
||||||
<a name="l00076"></a>00076 <span class="keywordtype">unsigned</span> <span class="keywordtype">long</span> lastRestore;
|
<a name="l00076"></a>00076 uint8_t _backlightPin;
|
||||||
<a name="l00077"></a>00077 <span class="keywordtype">unsigned</span> <span class="keywordtype">long</span> lastDebounce;
|
<a name="l00077"></a>00077 <span class="keywordtype">bool</span> backlightInit;
|
||||||
<a name="l00078"></a>00078 <span class="keywordtype">bool</span> screenSaved;
|
<a name="l00078"></a>00078 <span class="keywordtype">int</span> prevButton;
|
||||||
<a name="l00079"></a>00079 <span class="keywordtype">bool</span> eatRelease;
|
<a name="l00079"></a>00079 <span class="keywordtype">int</span> debounceButton;
|
||||||
<a name="l00080"></a>00080 <a class="code" href="classLCD.html#a264bf94308c95d8598426e13dc8cdb28" title="Screen saver mode that controls the display and back light.">ScreenSaverMode</a> mode;
|
<a name="l00080"></a>00080 <span class="keywordtype">unsigned</span> <span class="keywordtype">long</span> timeout;
|
||||||
<a name="l00081"></a>00081
|
<a name="l00081"></a>00081 <span class="keywordtype">unsigned</span> <span class="keywordtype">long</span> lastRestore;
|
||||||
<a name="l00082"></a>00082 <span class="keywordtype">void</span> init();
|
<a name="l00082"></a>00082 <span class="keywordtype">unsigned</span> <span class="keywordtype">long</span> lastDebounce;
|
||||||
<a name="l00083"></a>00083 };
|
<a name="l00083"></a>00083 <span class="keywordtype">bool</span> screenSaved;
|
||||||
<a name="l00084"></a>00084
|
<a name="l00084"></a>00084 <span class="keywordtype">bool</span> eatRelease;
|
||||||
<a name="l00085"></a>00085 <span class="preprocessor">#endif</span>
|
<a name="l00085"></a>00085 <a class="code" href="classLCD.html#a264bf94308c95d8598426e13dc8cdb28" title="Screen saver mode that controls the display and back light.">ScreenSaverMode</a> mode;
|
||||||
|
<a name="l00086"></a>00086
|
||||||
|
<a name="l00087"></a>00087 <span class="keywordtype">void</span> init();
|
||||||
|
<a name="l00088"></a>00088 };
|
||||||
|
<a name="l00089"></a>00089
|
||||||
|
<a name="l00090"></a>00090 <span class="preprocessor">#endif</span>
|
||||||
</pre></div></div>
|
</pre></div></div>
|
||||||
</div>
|
</div>
|
||||||
<!-- window showing the filter options -->
|
<!-- window showing the filter options -->
|
||||||
@ -161,7 +166,7 @@ var searchBox = new SearchBox("searchBox", "search",false,'Search');
|
|||||||
</iframe>
|
</iframe>
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
<hr class="footer"/><address class="footer"><small>Generated on Fri Jun 1 2012 14:29:17 for ArduinoLibs by 
|
<hr class="footer"/><address class="footer"><small>Generated on Sun Jun 10 2012 10:51:56 for ArduinoLibs by 
|
||||||
<a href="http://www.doxygen.org/index.html">
|
<a href="http://www.doxygen.org/index.html">
|
||||||
<img class="footer" src="doxygen.png" alt="doxygen"/></a> 1.7.4 </small></address>
|
<img class="footer" src="doxygen.png" alt="doxygen"/></a> 1.7.4 </small></address>
|
||||||
</body>
|
</body>
|
||||||
|
@ -194,7 +194,7 @@ var searchBox = new SearchBox("searchBox", "search",false,'Search');
|
|||||||
</iframe>
|
</iframe>
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
<hr class="footer"/><address class="footer"><small>Generated on Fri Jun 1 2012 14:29:17 for ArduinoLibs by 
|
<hr class="footer"/><address class="footer"><small>Generated on Sun Jun 10 2012 10:51:56 for ArduinoLibs by 
|
||||||
<a href="http://www.doxygen.org/index.html">
|
<a href="http://www.doxygen.org/index.html">
|
||||||
<img class="footer" src="doxygen.png" alt="doxygen"/></a> 1.7.4 </small></address>
|
<img class="footer" src="doxygen.png" alt="doxygen"/></a> 1.7.4 </small></address>
|
||||||
</body>
|
</body>
|
||||||
|
@ -132,7 +132,7 @@ var searchBox = new SearchBox("searchBox", "search",false,'Search');
|
|||||||
</iframe>
|
</iframe>
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
<hr class="footer"/><address class="footer"><small>Generated on Fri Jun 1 2012 14:29:17 for ArduinoLibs by 
|
<hr class="footer"/><address class="footer"><small>Generated on Sun Jun 10 2012 10:51:56 for ArduinoLibs by 
|
||||||
<a href="http://www.doxygen.org/index.html">
|
<a href="http://www.doxygen.org/index.html">
|
||||||
<img class="footer" src="doxygen.png" alt="doxygen"/></a> 1.7.4 </small></address>
|
<img class="footer" src="doxygen.png" alt="doxygen"/></a> 1.7.4 </small></address>
|
||||||
</body>
|
</body>
|
||||||
|
@ -193,7 +193,7 @@ var searchBox = new SearchBox("searchBox", "search",false,'Search');
|
|||||||
</iframe>
|
</iframe>
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
<hr class="footer"/><address class="footer"><small>Generated on Fri Jun 1 2012 14:29:17 for ArduinoLibs by 
|
<hr class="footer"/><address class="footer"><small>Generated on Sun Jun 10 2012 10:51:56 for ArduinoLibs by 
|
||||||
<a href="http://www.doxygen.org/index.html">
|
<a href="http://www.doxygen.org/index.html">
|
||||||
<img class="footer" src="doxygen.png" alt="doxygen"/></a> 1.7.4 </small></address>
|
<img class="footer" src="doxygen.png" alt="doxygen"/></a> 1.7.4 </small></address>
|
||||||
</body>
|
</body>
|
||||||
|
@ -232,7 +232,7 @@ var searchBox = new SearchBox("searchBox", "search",false,'Search');
|
|||||||
</iframe>
|
</iframe>
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
<hr class="footer"/><address class="footer"><small>Generated on Fri Jun 1 2012 14:29:17 for ArduinoLibs by 
|
<hr class="footer"/><address class="footer"><small>Generated on Sun Jun 10 2012 10:51:56 for ArduinoLibs by 
|
||||||
<a href="http://www.doxygen.org/index.html">
|
<a href="http://www.doxygen.org/index.html">
|
||||||
<img class="footer" src="doxygen.png" alt="doxygen"/></a> 1.7.4 </small></address>
|
<img class="footer" src="doxygen.png" alt="doxygen"/></a> 1.7.4 </small></address>
|
||||||
</body>
|
</body>
|
||||||
|
@ -231,7 +231,7 @@ var searchBox = new SearchBox("searchBox", "search",false,'Search');
|
|||||||
</iframe>
|
</iframe>
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
<hr class="footer"/><address class="footer"><small>Generated on Fri Jun 1 2012 14:29:17 for ArduinoLibs by 
|
<hr class="footer"/><address class="footer"><small>Generated on Sun Jun 10 2012 10:51:56 for ArduinoLibs by 
|
||||||
<a href="http://www.doxygen.org/index.html">
|
<a href="http://www.doxygen.org/index.html">
|
||||||
<img class="footer" src="doxygen.png" alt="doxygen"/></a> 1.7.4 </small></address>
|
<img class="footer" src="doxygen.png" alt="doxygen"/></a> 1.7.4 </small></address>
|
||||||
</body>
|
</body>
|
||||||
|
@ -138,7 +138,7 @@ var searchBox = new SearchBox("searchBox", "search",false,'Search');
|
|||||||
</iframe>
|
</iframe>
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
<hr class="footer"/><address class="footer"><small>Generated on Fri Jun 1 2012 14:29:17 for ArduinoLibs by 
|
<hr class="footer"/><address class="footer"><small>Generated on Sun Jun 10 2012 10:51:56 for ArduinoLibs by 
|
||||||
<a href="http://www.doxygen.org/index.html">
|
<a href="http://www.doxygen.org/index.html">
|
||||||
<img class="footer" src="doxygen.png" alt="doxygen"/></a> 1.7.4 </small></address>
|
<img class="footer" src="doxygen.png" alt="doxygen"/></a> 1.7.4 </small></address>
|
||||||
</body>
|
</body>
|
||||||
|
@ -130,7 +130,7 @@ var searchBox = new SearchBox("searchBox", "search",false,'Search');
|
|||||||
</iframe>
|
</iframe>
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
<hr class="footer"/><address class="footer"><small>Generated on Fri Jun 1 2012 14:29:17 for ArduinoLibs by 
|
<hr class="footer"/><address class="footer"><small>Generated on Sun Jun 10 2012 10:51:56 for ArduinoLibs by 
|
||||||
<a href="http://www.doxygen.org/index.html">
|
<a href="http://www.doxygen.org/index.html">
|
||||||
<img class="footer" src="doxygen.png" alt="doxygen"/></a> 1.7.4 </small></address>
|
<img class="footer" src="doxygen.png" alt="doxygen"/></a> 1.7.4 </small></address>
|
||||||
</body>
|
</body>
|
||||||
|
427
RC5_8h_source.html
Normal file
427
RC5_8h_source.html
Normal file
@ -0,0 +1,427 @@
|
|||||||
|
<!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"/>
|
||||||
|
<title>ArduinoLibs: RC5.h Source File</title>
|
||||||
|
<link href="tabs.css" rel="stylesheet" type="text/css"/>
|
||||||
|
<link href="search/search.css" rel="stylesheet" type="text/css"/>
|
||||||
|
<script type="text/javascript" src="search/search.js"></script>
|
||||||
|
<link href="doxygen.css" rel="stylesheet" type="text/css"/>
|
||||||
|
</head>
|
||||||
|
<body onload='searchBox.OnSelectItem(0);'>
|
||||||
|
<!-- Generated by Doxygen 1.7.4 -->
|
||||||
|
<script type="text/javascript"><!--
|
||||||
|
var searchBox = new SearchBox("searchBox", "search",false,'Search');
|
||||||
|
--></script>
|
||||||
|
<div id="top">
|
||||||
|
<div id="titlearea">
|
||||||
|
<table cellspacing="0" cellpadding="0">
|
||||||
|
<tbody>
|
||||||
|
<tr style="height: 56px;">
|
||||||
|
<td style="padding-left: 0.5em;">
|
||||||
|
<div id="projectname">ArduinoLibs</div>
|
||||||
|
</td>
|
||||||
|
</tr>
|
||||||
|
</tbody>
|
||||||
|
</table>
|
||||||
|
</div>
|
||||||
|
<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 class="current"><a href="files.html"><span>Files</span></a></li>
|
||||||
|
<li id="searchli">
|
||||||
|
<div id="MSearchBox" class="MSearchBoxInactive">
|
||||||
|
<span class="left">
|
||||||
|
<img id="MSearchSelect" src="search/mag_sel.png"
|
||||||
|
onmouseover="return searchBox.OnSearchSelectShow()"
|
||||||
|
onmouseout="return searchBox.OnSearchSelectHide()"
|
||||||
|
alt=""/>
|
||||||
|
<input type="text" id="MSearchField" value="Search" accesskey="S"
|
||||||
|
onfocus="searchBox.OnSearchFieldFocus(true)"
|
||||||
|
onblur="searchBox.OnSearchFieldFocus(false)"
|
||||||
|
onkeyup="searchBox.OnSearchFieldChange(event)"/>
|
||||||
|
</span><span class="right">
|
||||||
|
<a id="MSearchClose" href="javascript:searchBox.CloseResultsWindow()"><img id="MSearchCloseImg" border="0" src="search/close.png" alt=""/></a>
|
||||||
|
</span>
|
||||||
|
</div>
|
||||||
|
</li>
|
||||||
|
</ul>
|
||||||
|
</div>
|
||||||
|
<div id="navrow2" class="tabs2">
|
||||||
|
<ul class="tablist">
|
||||||
|
<li><a href="files.html"><span>File List</span></a></li>
|
||||||
|
</ul>
|
||||||
|
</div>
|
||||||
|
<div class="header">
|
||||||
|
<div class="headertitle">
|
||||||
|
<div class="title">RC5.h</div> </div>
|
||||||
|
</div>
|
||||||
|
<div class="contents">
|
||||||
|
<div class="fragment"><pre class="fragment"><a name="l00001"></a>00001 <span class="comment">/*</span>
|
||||||
|
<a name="l00002"></a>00002 <span class="comment"> * Copyright (C) 2012 Southern Storm Software, Pty Ltd.</span>
|
||||||
|
<a name="l00003"></a>00003 <span class="comment"> *</span>
|
||||||
|
<a name="l00004"></a>00004 <span class="comment"> * Permission is hereby granted, free of charge, to any person obtaining a</span>
|
||||||
|
<a name="l00005"></a>00005 <span class="comment"> * copy of this software and associated documentation files (the "Software"),</span>
|
||||||
|
<a name="l00006"></a>00006 <span class="comment"> * to deal in the Software without restriction, including without limitation</span>
|
||||||
|
<a name="l00007"></a>00007 <span class="comment"> * the rights to use, copy, modify, merge, publish, distribute, sublicense,</span>
|
||||||
|
<a name="l00008"></a>00008 <span class="comment"> * and/or sell copies of the Software, and to permit persons to whom the</span>
|
||||||
|
<a name="l00009"></a>00009 <span class="comment"> * Software is furnished to do so, subject to the following conditions:</span>
|
||||||
|
<a name="l00010"></a>00010 <span class="comment"> *</span>
|
||||||
|
<a name="l00011"></a>00011 <span class="comment"> * The above copyright notice and this permission notice shall be included</span>
|
||||||
|
<a name="l00012"></a>00012 <span class="comment"> * in all copies or substantial portions of the Software.</span>
|
||||||
|
<a name="l00013"></a>00013 <span class="comment"> *</span>
|
||||||
|
<a name="l00014"></a>00014 <span class="comment"> * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS</span>
|
||||||
|
<a name="l00015"></a>00015 <span class="comment"> * OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,</span>
|
||||||
|
<a name="l00016"></a>00016 <span class="comment"> * FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE</span>
|
||||||
|
<a name="l00017"></a>00017 <span class="comment"> * AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER</span>
|
||||||
|
<a name="l00018"></a>00018 <span class="comment"> * LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING</span>
|
||||||
|
<a name="l00019"></a>00019 <span class="comment"> * FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER</span>
|
||||||
|
<a name="l00020"></a>00020 <span class="comment"> * DEALINGS IN THE SOFTWARE.</span>
|
||||||
|
<a name="l00021"></a>00021 <span class="comment"> */</span>
|
||||||
|
<a name="l00022"></a>00022
|
||||||
|
<a name="l00023"></a>00023 <span class="preprocessor">#ifndef RC5_h</span>
|
||||||
|
<a name="l00024"></a>00024 <span class="preprocessor"></span><span class="preprocessor">#define RC5_h</span>
|
||||||
|
<a name="l00025"></a>00025 <span class="preprocessor"></span>
|
||||||
|
<a name="l00026"></a>00026 <span class="comment">// http://en.wikipedia.org/wiki/RC-5#System_Number_Allocations</span>
|
||||||
|
<a name="l00027"></a>00027 <span class="preprocessor">#define RC5_SYS_TV 0 // TV receiver 1</span>
|
||||||
|
<a name="l00028"></a>00028 <span class="preprocessor"></span><span class="preprocessor">#define RC5_SYS_TV2 1 // TV receiver 2</span>
|
||||||
|
<a name="l00029"></a>00029 <span class="preprocessor"></span><span class="preprocessor">#define RC5_SYS_TXT 2 // Teletext</span>
|
||||||
|
<a name="l00030"></a>00030 <span class="preprocessor"></span><span class="preprocessor">#define RC5_SYS_TV_EXT 3 // Extension to TV 1 & 2</span>
|
||||||
|
<a name="l00031"></a>00031 <span class="preprocessor"></span><span class="preprocessor">#define RC5_SYS_LV 4 // Laservision player</span>
|
||||||
|
<a name="l00032"></a>00032 <span class="preprocessor"></span><span class="preprocessor">#define RC5_SYS_VCR 5 // VCR 1</span>
|
||||||
|
<a name="l00033"></a>00033 <span class="preprocessor"></span><span class="preprocessor">#define RC5_SYS_VCR2 6 // VCR 2</span>
|
||||||
|
<a name="l00034"></a>00034 <span class="preprocessor"></span><span class="preprocessor">#define RC5_SYS_SAT 8 // Satellite receiver 1</span>
|
||||||
|
<a name="l00035"></a>00035 <span class="preprocessor"></span><span class="preprocessor">#define RC5_SYS_VCR_EXT 9 // Extension to VCR 1 & 2</span>
|
||||||
|
<a name="l00036"></a>00036 <span class="preprocessor"></span><span class="preprocessor">#define RC5_SYS_SAT2 10 // Satellite receiver 2</span>
|
||||||
|
<a name="l00037"></a>00037 <span class="preprocessor"></span><span class="preprocessor">#define RC5_SYS_CD_VIDEO 12 // CD video player</span>
|
||||||
|
<a name="l00038"></a>00038 <span class="preprocessor"></span><span class="preprocessor">#define RC5_SYS_CD_PHOTO 14 // CD photo player</span>
|
||||||
|
<a name="l00039"></a>00039 <span class="preprocessor"></span><span class="preprocessor">#define RC5_SYS_PREAMP 16 // Audio preamplifier 1</span>
|
||||||
|
<a name="l00040"></a>00040 <span class="preprocessor"></span><span class="preprocessor">#define RC5_SYS_RADIO 17 // Radio tuner</span>
|
||||||
|
<a name="l00041"></a>00041 <span class="preprocessor"></span><span class="preprocessor">#define RC5_SYS_REC 18 // Casette recorder 1</span>
|
||||||
|
<a name="l00042"></a>00042 <span class="preprocessor"></span><span class="preprocessor">#define RC5_SYS_PREAMP2 19 // Audio preamplifier 2</span>
|
||||||
|
<a name="l00043"></a>00043 <span class="preprocessor"></span><span class="preprocessor">#define RC5_SYS_CD 20 // CD player</span>
|
||||||
|
<a name="l00044"></a>00044 <span class="preprocessor"></span><span class="preprocessor">#define RC5_SYS_COMBI 21 // Audio stack or record player</span>
|
||||||
|
<a name="l00045"></a>00045 <span class="preprocessor"></span><span class="preprocessor">#define RC5_SYS_AUDIO_SAT 22 // Audio satellite</span>
|
||||||
|
<a name="l00046"></a>00046 <span class="preprocessor"></span><span class="preprocessor">#define RC5_SYS_REC2 23 // Casette recorder 2</span>
|
||||||
|
<a name="l00047"></a>00047 <span class="preprocessor"></span><span class="preprocessor">#define RC5_SYS_CD_R 26 // CD recorder</span>
|
||||||
|
<a name="l00048"></a>00048 <span class="preprocessor"></span>
|
||||||
|
<a name="l00049"></a>00049 <span class="comment">// http://en.wikipedia.org/wiki/RC-5#Command_Tables</span>
|
||||||
|
<a name="l00050"></a>00050 <span class="comment">// Table 2, Common commands:</span>
|
||||||
|
<a name="l00051"></a>00051 <span class="preprocessor">#define RC5_0 0 // Digit 0</span>
|
||||||
|
<a name="l00052"></a>00052 <span class="preprocessor"></span><span class="preprocessor">#define RC5_1 1 // Digit 1</span>
|
||||||
|
<a name="l00053"></a>00053 <span class="preprocessor"></span><span class="preprocessor">#define RC5_2 2 // Digit 2</span>
|
||||||
|
<a name="l00054"></a>00054 <span class="preprocessor"></span><span class="preprocessor">#define RC5_3 3 // Digit 3</span>
|
||||||
|
<a name="l00055"></a>00055 <span class="preprocessor"></span><span class="preprocessor">#define RC5_4 4 // Digit 4</span>
|
||||||
|
<a name="l00056"></a>00056 <span class="preprocessor"></span><span class="preprocessor">#define RC5_5 5 // Digit 5</span>
|
||||||
|
<a name="l00057"></a>00057 <span class="preprocessor"></span><span class="preprocessor">#define RC5_6 6 // Digit 6</span>
|
||||||
|
<a name="l00058"></a>00058 <span class="preprocessor"></span><span class="preprocessor">#define RC5_7 7 // Digit 7</span>
|
||||||
|
<a name="l00059"></a>00059 <span class="preprocessor"></span><span class="preprocessor">#define RC5_8 8 // Digit 8</span>
|
||||||
|
<a name="l00060"></a>00060 <span class="preprocessor"></span><span class="preprocessor">#define RC5_9 9 // Digit 9</span>
|
||||||
|
<a name="l00061"></a>00061 <span class="preprocessor"></span><span class="preprocessor">#define RC5_INC_VOLUME 16 // Increase sound volume</span>
|
||||||
|
<a name="l00062"></a>00062 <span class="preprocessor"></span><span class="preprocessor">#define RC5_DEC_VOLUME 17 // Decrease sound volume</span>
|
||||||
|
<a name="l00063"></a>00063 <span class="preprocessor"></span><span class="preprocessor">#define RC5_INC_BRIGHTNESS 18 // Increase display brightness</span>
|
||||||
|
<a name="l00064"></a>00064 <span class="preprocessor"></span><span class="preprocessor">#define RC5_DEC_BRIGHTNESS 19 // Decrease display brightness</span>
|
||||||
|
<a name="l00065"></a>00065 <span class="preprocessor"></span><span class="preprocessor">#define RC5_INC_BASS 22 // Increase bass response</span>
|
||||||
|
<a name="l00066"></a>00066 <span class="preprocessor"></span><span class="preprocessor">#define RC5_DEC_BASS 23 // Decrease bass response</span>
|
||||||
|
<a name="l00067"></a>00067 <span class="preprocessor"></span><span class="preprocessor">#define RC5_INC_TREBLE 24 // Increase treble response</span>
|
||||||
|
<a name="l00068"></a>00068 <span class="preprocessor"></span><span class="preprocessor">#define RC5_DEC_TREBLE 25 // Decrease treble response</span>
|
||||||
|
<a name="l00069"></a>00069 <span class="preprocessor"></span><span class="preprocessor">#define RC5_BALANCE_LEFT 26 // Shift sound balance to left</span>
|
||||||
|
<a name="l00070"></a>00070 <span class="preprocessor"></span><span class="preprocessor">#define RC5_BALANCE_RIGHT 27 // Shift sound balance to right</span>
|
||||||
|
<a name="l00071"></a>00071 <span class="preprocessor"></span><span class="preprocessor">#define RC5_TRANSMIT_MODE 63 // Select remote transmit mode</span>
|
||||||
|
<a name="l00072"></a>00072 <span class="preprocessor"></span><span class="preprocessor">#define RC5_DIM 71 // Dim local display</span>
|
||||||
|
<a name="l00073"></a>00073 <span class="preprocessor"></span><span class="preprocessor">#define RC5_INC_LINEAR 77 // Increase linear control</span>
|
||||||
|
<a name="l00074"></a>00074 <span class="preprocessor"></span><span class="preprocessor">#define RC5_DEC_LINEAR 78 // Decrease linear control</span>
|
||||||
|
<a name="l00075"></a>00075 <span class="preprocessor"></span><span class="preprocessor">#define RC5_UP 80 // Move cursor up</span>
|
||||||
|
<a name="l00076"></a>00076 <span class="preprocessor"></span><span class="preprocessor">#define RC5_DOWN 81 // Move cursor down</span>
|
||||||
|
<a name="l00077"></a>00077 <span class="preprocessor"></span><span class="preprocessor">#define RC5_MENU_ON 82 // Switch display/screen menu on</span>
|
||||||
|
<a name="l00078"></a>00078 <span class="preprocessor"></span><span class="preprocessor">#define RC5_MENU_OFF 83 // Switch display/screen menu off</span>
|
||||||
|
<a name="l00079"></a>00079 <span class="preprocessor"></span><span class="preprocessor">#define RC5_AV_STATUS 84 // Display A/V system status</span>
|
||||||
|
<a name="l00080"></a>00080 <span class="preprocessor"></span><span class="preprocessor">#define RC5_LEFT 85 // Move cursor left</span>
|
||||||
|
<a name="l00081"></a>00081 <span class="preprocessor"></span><span class="preprocessor">#define RC5_RIGHT 86 // Move cursor right</span>
|
||||||
|
<a name="l00082"></a>00082 <span class="preprocessor"></span><span class="preprocessor">#define RC5_OK 87 // Acknowledge function at cursor</span>
|
||||||
|
<a name="l00083"></a>00083 <span class="preprocessor"></span><span class="preprocessor">#define RC5_SUBMODE 118 // Select sub-mode</span>
|
||||||
|
<a name="l00084"></a>00084 <span class="preprocessor"></span><span class="preprocessor">#define RC5_OPTIONS 119 // Select options sub-mode</span>
|
||||||
|
<a name="l00085"></a>00085 <span class="preprocessor"></span><span class="preprocessor">#define RC5_CONNECT_EURO 123 // Connect items via Euroconnector</span>
|
||||||
|
<a name="l00086"></a>00086 <span class="preprocessor"></span><span class="preprocessor">#define RC5_DISCONNECT_EURO 124 // Disconnect items via Euroconnector</span>
|
||||||
|
<a name="l00087"></a>00087 <span class="preprocessor"></span>
|
||||||
|
<a name="l00088"></a>00088 <span class="comment">// http://en.wikipedia.org/wiki/RC-5#Command_Tables</span>
|
||||||
|
<a name="l00089"></a>00089 <span class="comment">// Table 3, Common video system commands:</span>
|
||||||
|
<a name="l00090"></a>00090 <span class="preprocessor">#define RC5_INC_SATURATION 20 // Increase color saturation</span>
|
||||||
|
<a name="l00091"></a>00091 <span class="preprocessor"></span><span class="preprocessor">#define RC5_DEC_SATURATION 21 // Decrease color saturation</span>
|
||||||
|
<a name="l00092"></a>00092 <span class="preprocessor"></span><span class="preprocessor">#define RC5_PIP 88 // Picture-in-picture on/off</span>
|
||||||
|
<a name="l00093"></a>00093 <span class="preprocessor"></span><span class="preprocessor">#define RC5_PIP_SHIFT 89 // Picture-in-picture shift</span>
|
||||||
|
<a name="l00094"></a>00094 <span class="preprocessor"></span><span class="preprocessor">#define RC5_PIP_SWAP 90 // Picture-in-picture swap</span>
|
||||||
|
<a name="l00095"></a>00095 <span class="preprocessor"></span><span class="preprocessor">#define RC5_PIP_STROBE 91 // Strobe main picture on/off</span>
|
||||||
|
<a name="l00096"></a>00096 <span class="preprocessor"></span><span class="preprocessor">#define RC5_PIP_MULTI_STROBE 92 // Multi-strobe</span>
|
||||||
|
<a name="l00097"></a>00097 <span class="preprocessor"></span><span class="preprocessor">#define RC5_PIP_FREEZE_MAIN 93 // Main picture frame frozen</span>
|
||||||
|
<a name="l00098"></a>00098 <span class="preprocessor"></span><span class="preprocessor">#define RC5_PIP_MULTI_SCAN 94 // 3/9 multi-scan</span>
|
||||||
|
<a name="l00099"></a>00099 <span class="preprocessor"></span><span class="preprocessor">#define RC5_PIP_SOURCE 95 // Select picture-in-picture source</span>
|
||||||
|
<a name="l00100"></a>00100 <span class="preprocessor"></span><span class="preprocessor">#define RC5_PIP_MOSAIC 96 // Mosaic/multi-PIP</span>
|
||||||
|
<a name="l00101"></a>00101 <span class="preprocessor"></span><span class="preprocessor">#define RC5_PIP_NOISE 97 // Digital noise reduction of picture</span>
|
||||||
|
<a name="l00102"></a>00102 <span class="preprocessor"></span><span class="preprocessor">#define RC5_PIP_STORE 98 // Store main picture</span>
|
||||||
|
<a name="l00103"></a>00103 <span class="preprocessor"></span><span class="preprocessor">#define RC5_PIP_PHOTO_FINISH 99 // PIP strobe; display photo-finish</span>
|
||||||
|
<a name="l00104"></a>00104 <span class="preprocessor"></span><span class="preprocessor">#define RC5_PIP_RECALL 100 // Recall main stored picture</span>
|
||||||
|
<a name="l00105"></a>00105 <span class="preprocessor"></span><span class="preprocessor">#define RC5_PIP_FREEZE 101 // Freeze PIP</span>
|
||||||
|
<a name="l00106"></a>00106 <span class="preprocessor"></span><span class="preprocessor">#define RC5_PIP_UP 102 // Step up PIP options/source</span>
|
||||||
|
<a name="l00107"></a>00107 <span class="preprocessor"></span><span class="preprocessor">#define RC5_PIP_DOWN 103 // Step down PIP options/source</span>
|
||||||
|
<a name="l00108"></a>00108 <span class="preprocessor"></span>
|
||||||
|
<a name="l00109"></a>00109 <span class="comment">// http://en.wikipedia.org/wiki/RC-5#Command_Tables</span>
|
||||||
|
<a name="l00110"></a>00110 <span class="comment">// Table 4a, TV and VCR commands:</span>
|
||||||
|
<a name="l00111"></a>00111 <span class="preprocessor">#define RC5_123 10 // 1/2/3 digit entry</span>
|
||||||
|
<a name="l00112"></a>00112 <span class="preprocessor"></span><span class="preprocessor">#define RC5_11 11 // Channel/program/frequency 11</span>
|
||||||
|
<a name="l00113"></a>00113 <span class="preprocessor"></span><span class="preprocessor">#define RC5_STANDBY 12 // Standby</span>
|
||||||
|
<a name="l00114"></a>00114 <span class="preprocessor"></span><span class="preprocessor">#define RC5_MUTE 13 // Master mute/de-mute</span>
|
||||||
|
<a name="l00115"></a>00115 <span class="preprocessor"></span><span class="preprocessor">#define RC5_PREFERENCES 14 // Personal preference settings</span>
|
||||||
|
<a name="l00116"></a>00116 <span class="preprocessor"></span><span class="preprocessor">#define RC5_DISPLAY_INFO 15 // Display user info on screen</span>
|
||||||
|
<a name="l00117"></a>00117 <span class="preprocessor"></span><span class="preprocessor">#define RC5_INC_CONTRAST 28 // Increase picture contrast</span>
|
||||||
|
<a name="l00118"></a>00118 <span class="preprocessor"></span><span class="preprocessor">#define RC5_DEC_CONTRAST 29 // Decrease picture contrast</span>
|
||||||
|
<a name="l00119"></a>00119 <span class="preprocessor"></span><span class="preprocessor">#define RC5_SEARCH_UP 30 // Search up</span>
|
||||||
|
<a name="l00120"></a>00120 <span class="preprocessor"></span><span class="preprocessor">#define RC5_DEC_TINT 31 // Decrease tint/hue</span>
|
||||||
|
<a name="l00121"></a>00121 <span class="preprocessor"></span><span class="preprocessor">#define RC5_CHANNEL_UP 32 // Channel/program up</span>
|
||||||
|
<a name="l00122"></a>00122 <span class="preprocessor"></span><span class="preprocessor">#define RC5_CHANNEL_DOWN 33 // Channel/program down</span>
|
||||||
|
<a name="l00123"></a>00123 <span class="preprocessor"></span><span class="preprocessor">#define RC5_CHANNEL_LAST 34 // Last viewed channel/program</span>
|
||||||
|
<a name="l00124"></a>00124 <span class="preprocessor"></span><span class="preprocessor">#define RC5_STEREO_SELECT 35 // Select stereo channel/language</span>
|
||||||
|
<a name="l00125"></a>00125 <span class="preprocessor"></span><span class="preprocessor">#define RC5_STEREO_SPATIAL 36 // Spatial stereo</span>
|
||||||
|
<a name="l00126"></a>00126 <span class="preprocessor"></span><span class="preprocessor">#define RC5_STEREO_TOGGLE 37 // Toggle stereo/mono</span>
|
||||||
|
<a name="l00127"></a>00127 <span class="preprocessor"></span><span class="preprocessor">#define RC5_SLEEP_TIMER 38 // Sleep timer</span>
|
||||||
|
<a name="l00128"></a>00128 <span class="preprocessor"></span><span class="preprocessor">#define RC5_INC_TINT 39 // Increase tint/hue</span>
|
||||||
|
<a name="l00129"></a>00129 <span class="preprocessor"></span><span class="preprocessor">#define RC5_SWITCH_RF 40 // Switch RF inputs</span>
|
||||||
|
<a name="l00130"></a>00130 <span class="preprocessor"></span><span class="preprocessor">#define RC5_STORE 41 // Store/vote</span>
|
||||||
|
<a name="l00131"></a>00131 <span class="preprocessor"></span><span class="preprocessor">#define RC5_TIME 42 // Display time</span>
|
||||||
|
<a name="l00132"></a>00132 <span class="preprocessor"></span><span class="preprocessor">#define RC5_INC_SCAN 43 // Scan forward/increment</span>
|
||||||
|
<a name="l00133"></a>00133 <span class="preprocessor"></span><span class="preprocessor">#define RC5_DEC_SCAN 44 // Scan backward/decrement</span>
|
||||||
|
<a name="l00134"></a>00134 <span class="preprocessor"></span><span class="preprocessor">#define RC5_SECONDARY_MENU 46 // Secondary menu</span>
|
||||||
|
<a name="l00135"></a>00135 <span class="preprocessor"></span><span class="preprocessor">#define RC5_CLOCK 47 // Show clock</span>
|
||||||
|
<a name="l00136"></a>00136 <span class="preprocessor"></span><span class="preprocessor">#define RC5_PAUSE 48 // Pause</span>
|
||||||
|
<a name="l00137"></a>00137 <span class="preprocessor"></span><span class="preprocessor">#define RC5_ERASE 49 // Erase/correct entry</span>
|
||||||
|
<a name="l00138"></a>00138 <span class="preprocessor"></span><span class="preprocessor">#define RC5_REWIND 50 // Rewind</span>
|
||||||
|
<a name="l00139"></a>00139 <span class="preprocessor"></span><span class="preprocessor">#define RC5_GOTO 51 // Go to</span>
|
||||||
|
<a name="l00140"></a>00140 <span class="preprocessor"></span><span class="preprocessor">#define RC5_WIND 52 // Wind (fast forward)</span>
|
||||||
|
<a name="l00141"></a>00141 <span class="preprocessor"></span><span class="preprocessor">#define RC5_PLAY 53 // Play</span>
|
||||||
|
<a name="l00142"></a>00142 <span class="preprocessor"></span><span class="preprocessor">#define RC5_STOP 54 // Stop</span>
|
||||||
|
<a name="l00143"></a>00143 <span class="preprocessor"></span><span class="preprocessor">#define RC5_RECORD 55 // Record</span>
|
||||||
|
<a name="l00144"></a>00144 <span class="preprocessor"></span><span class="preprocessor">#define RC5_EXTERNAL1 56 // External 1</span>
|
||||||
|
<a name="l00145"></a>00145 <span class="preprocessor"></span><span class="preprocessor">#define RC5_EXTERNAL2 57 // External 2</span>
|
||||||
|
<a name="l00146"></a>00146 <span class="preprocessor"></span><span class="preprocessor">#define RC5_VIEW_DATA 59 // View data, advance</span>
|
||||||
|
<a name="l00147"></a>00147 <span class="preprocessor"></span><span class="preprocessor">#define RC5_12 60 // Channel 12 (or TXT/TV toggle)</span>
|
||||||
|
<a name="l00148"></a>00148 <span class="preprocessor"></span><span class="preprocessor">#define RC5_SYSTEM_STANDBY 61 // System standby</span>
|
||||||
|
<a name="l00149"></a>00149 <span class="preprocessor"></span><span class="preprocessor">#define RC5_CRISP 62 // Picture crispener (coutour boost)</span>
|
||||||
|
<a name="l00150"></a>00150 <span class="preprocessor"></span><span class="preprocessor">#define RC5_AUDIO_RESPONSE 70 // Audio response for speech/music</span>
|
||||||
|
<a name="l00151"></a>00151 <span class="preprocessor"></span><span class="preprocessor">#define RC5_SOUND_FUNCTIONS 79 // Select sound functions in sequence</span>
|
||||||
|
<a name="l00152"></a>00152 <span class="preprocessor"></span><span class="preprocessor">#define RC5_PIP_SIZE 104 // Alter PIP size step-by-step</span>
|
||||||
|
<a name="l00153"></a>00153 <span class="preprocessor"></span><span class="preprocessor">#define RC5_VISION_FUNCTIONS 105 // Select vision functions in sequence</span>
|
||||||
|
<a name="l00154"></a>00154 <span class="preprocessor"></span><span class="preprocessor">#define RC5_COLOR_KEY 106 // Colored or other special key</span>
|
||||||
|
<a name="l00155"></a>00155 <span class="preprocessor"></span><span class="preprocessor">#define RC5_RED 107 // Red button</span>
|
||||||
|
<a name="l00156"></a>00156 <span class="preprocessor"></span><span class="preprocessor">#define RC5_GREEN 108 // Green button</span>
|
||||||
|
<a name="l00157"></a>00157 <span class="preprocessor"></span><span class="preprocessor">#define RC5_YELLOW 109 // Yellow button</span>
|
||||||
|
<a name="l00158"></a>00158 <span class="preprocessor"></span><span class="preprocessor">#define RC5_CYAN 110 // Cyan button</span>
|
||||||
|
<a name="l00159"></a>00159 <span class="preprocessor"></span><span class="preprocessor">#define RC5_INDEX 111 // Index page/white function</span>
|
||||||
|
<a name="l00160"></a>00160 <span class="preprocessor"></span><span class="preprocessor">#define RC5_NEXT_OPTION 112 // Next option</span>
|
||||||
|
<a name="l00161"></a>00161 <span class="preprocessor"></span><span class="preprocessor">#define RC5_PREVIOUS_OPTION 113 // Previous option</span>
|
||||||
|
<a name="l00162"></a>00162 <span class="preprocessor"></span><span class="preprocessor">#define RC5_STORE_OPEN_CLOSE 122 // Store open/close</span>
|
||||||
|
<a name="l00163"></a>00163 <span class="preprocessor"></span><span class="preprocessor">#define RC5_PARENTAL_ACCESS 123 // Parental access via PIN code</span>
|
||||||
|
<a name="l00164"></a>00164 <span class="preprocessor"></span>
|
||||||
|
<a name="l00165"></a>00165 <span class="comment">// http://en.wikipedia.org/wiki/RC-5#Command_Tables</span>
|
||||||
|
<a name="l00166"></a>00166 <span class="comment">// Table 4b, TV1 and TV2 extension</span>
|
||||||
|
<a name="l00167"></a>00167 <span class="preprocessor">#define RC5_DEFAULT_VIDEO 10 // Default video settings (TV1)</span>
|
||||||
|
<a name="l00168"></a>00168 <span class="preprocessor"></span><span class="preprocessor">#define RC5_DEFAULT_AUDIO 11 // Default audio settings (TV1)</span>
|
||||||
|
<a name="l00169"></a>00169 <span class="preprocessor"></span><span class="preprocessor">#define RC5_PAYTV_CHANNEL_UP 28 // Pay TV channel up (TV1)</span>
|
||||||
|
<a name="l00170"></a>00170 <span class="preprocessor"></span><span class="preprocessor">#define RC5_PAYTV_CHANNEL_DOWN 29 // Pay TV channel down (TV1)</span>
|
||||||
|
<a name="l00171"></a>00171 <span class="preprocessor"></span><span class="preprocessor">#define RC5_RADIO_CHANNEL_UP 30 // Radio channel up (TV1)</span>
|
||||||
|
<a name="l00172"></a>00172 <span class="preprocessor"></span><span class="preprocessor">#define RC5_RADIO_CHANNEL_DOWN 31 // Radio channel down (TV1)</span>
|
||||||
|
<a name="l00173"></a>00173 <span class="preprocessor"></span><span class="preprocessor">#define RC5_TILT_FORWARD 32 // Tilt cabinet forward (TV1)</span>
|
||||||
|
<a name="l00174"></a>00174 <span class="preprocessor"></span><span class="preprocessor">#define RC5_TILT_BACKWARD 33 // Tilt cabinet backward (TV1)</span>
|
||||||
|
<a name="l00175"></a>00175 <span class="preprocessor"></span><span class="preprocessor">#define RC5_EXTERNAL3 56 // External 3 (TV1)</span>
|
||||||
|
<a name="l00176"></a>00176 <span class="preprocessor"></span><span class="preprocessor">#define RC5_EXTERNAL4 56 // External 4 (TV1)</span>
|
||||||
|
<a name="l00177"></a>00177 <span class="preprocessor"></span><span class="preprocessor">#define RC5_PICTURE_FORMAT 62 // 4:3 vs 16:9 (TV1)</span>
|
||||||
|
<a name="l00178"></a>00178 <span class="preprocessor"></span><span class="preprocessor">#define RC5_CHANNEL_10 67 // Channel 10</span>
|
||||||
|
<a name="l00179"></a>00179 <span class="preprocessor"></span><span class="preprocessor">#define RC5_CHANNEL_11 68 // Channel 11</span>
|
||||||
|
<a name="l00180"></a>00180 <span class="preprocessor"></span><span class="preprocessor">#define RC5_CHANNEL_12 69 // Channel 12</span>
|
||||||
|
<a name="l00181"></a>00181 <span class="preprocessor"></span><span class="preprocessor">#define RC5_DEFAULT_VIDEO2 72 // Default video settings (TV2)</span>
|
||||||
|
<a name="l00182"></a>00182 <span class="preprocessor"></span><span class="preprocessor">#define RC5_DEFAULT_AUDIO2 73 // Default audio settings (TV2)</span>
|
||||||
|
<a name="l00183"></a>00183 <span class="preprocessor"></span><span class="preprocessor">#define RC5_PAYTV_CHANNEL_UP2 88 // Pay TV channel up (TV2)</span>
|
||||||
|
<a name="l00184"></a>00184 <span class="preprocessor"></span><span class="preprocessor">#define RC5_PAYTV_CHANNEL_DOWN2 89 // Pay TV channel down (TV2)</span>
|
||||||
|
<a name="l00185"></a>00185 <span class="preprocessor"></span><span class="preprocessor">#define RC5_RADIO_CHANNEL_UP2 90 // Radio channel up (TV2)</span>
|
||||||
|
<a name="l00186"></a>00186 <span class="preprocessor"></span><span class="preprocessor">#define RC5_RADIO_CHANNEL_DOWN2 91 // Radio channel down (TV2)</span>
|
||||||
|
<a name="l00187"></a>00187 <span class="preprocessor"></span><span class="preprocessor">#define RC5_TILT_FORWARD2 104 // Tilt cabinet forward (TV2)</span>
|
||||||
|
<a name="l00188"></a>00188 <span class="preprocessor"></span><span class="preprocessor">#define RC5_TILT_BACKWARD2 105 // Tilt cabinet backward (TV2)</span>
|
||||||
|
<a name="l00189"></a>00189 <span class="preprocessor"></span><span class="preprocessor">#define RC5_EXTERNAL3_2 120 // External 3 (TV2)</span>
|
||||||
|
<a name="l00190"></a>00190 <span class="preprocessor"></span><span class="preprocessor">#define RC5_EXTERNAL4_2 121 // External 4 (TV2)</span>
|
||||||
|
<a name="l00191"></a>00191 <span class="preprocessor"></span><span class="preprocessor">#define RC5_CHANNEL_MENU 122 // Channel setting menu</span>
|
||||||
|
<a name="l00192"></a>00192 <span class="preprocessor"></span><span class="preprocessor">#define RC5_PICTURE_FORMAT2 126 // 4:3 vs 16:9 (TV2)</span>
|
||||||
|
<a name="l00193"></a>00193 <span class="preprocessor"></span>
|
||||||
|
<a name="l00194"></a>00194 <span class="comment">// http://en.wikipedia.org/wiki/RC-5#Command_Tables</span>
|
||||||
|
<a name="l00195"></a>00195 <span class="comment">// Table 5, Teletext commands</span>
|
||||||
|
<a name="l00196"></a>00196 <span class="preprocessor">#define RC5_NEXT_PAGE 10 // Next page</span>
|
||||||
|
<a name="l00197"></a>00197 <span class="preprocessor"></span><span class="preprocessor">#define RC5_PREVIOUS_PAGE 11 // Previous page</span>
|
||||||
|
<a name="l00198"></a>00198 <span class="preprocessor"></span><span class="comment">// RC5_STANDBY 12 // Standby</span>
|
||||||
|
<a name="l00199"></a>00199 <span class="preprocessor">#define RC5_ENTER_PAGE_NUMBER 28 // Enter page number in memory</span>
|
||||||
|
<a name="l00200"></a>00200 <span class="preprocessor"></span><span class="preprocessor">#define RC5_SEQ_DISPLAY 29 // Sequential display of pages</span>
|
||||||
|
<a name="l00201"></a>00201 <span class="preprocessor"></span><span class="preprocessor">#define RC5_SEQ_DELETE 30 // Sequential display/deletion of pages</span>
|
||||||
|
<a name="l00202"></a>00202 <span class="preprocessor"></span><span class="preprocessor">#define RC5_EXCHANGE 32 // Exchange (Antiope function)</span>
|
||||||
|
<a name="l00203"></a>00203 <span class="preprocessor"></span><span class="preprocessor">#define RC5_MAIN_INDEX 33 // Main index</span>
|
||||||
|
<a name="l00204"></a>00204 <span class="preprocessor"></span><span class="preprocessor">#define RC5_ROW_ZERO 34 // Row zero (Antiope function)</span>
|
||||||
|
<a name="l00205"></a>00205 <span class="preprocessor"></span><span class="preprocessor">#define RC5_PRINT 38 // Print displayed page</span>
|
||||||
|
<a name="l00206"></a>00206 <span class="preprocessor"></span><span class="preprocessor">#define RC5_MIX 39 // Mix Antiope/TV pictures</span>
|
||||||
|
<a name="l00207"></a>00207 <span class="preprocessor"></span><span class="preprocessor">#define RC5_HOLD_PAGE 41 // Page hold</span>
|
||||||
|
<a name="l00208"></a>00208 <span class="preprocessor"></span><span class="comment">// RC5_TIME 42 // Display time</span>
|
||||||
|
<a name="l00209"></a>00209 <span class="preprocessor">#define RC5_LARGE 43 // Large top/bottom/normal</span>
|
||||||
|
<a name="l00210"></a>00210 <span class="preprocessor"></span><span class="preprocessor">#define RC5_REVEAL 44 // Reveal/conceal</span>
|
||||||
|
<a name="l00211"></a>00211 <span class="preprocessor"></span><span class="preprocessor">#define RC5_TV_TXT 45 // TV/TXT</span>
|
||||||
|
<a name="l00212"></a>00212 <span class="preprocessor"></span><span class="preprocessor">#define RC5_TV_TXT_SUBTITLE 46 // TV + TXT/subtitle</span>
|
||||||
|
<a name="l00213"></a>00213 <span class="preprocessor"></span><span class="comment">// RC5_ERASE 49 // Erase/correct entry</span>
|
||||||
|
<a name="l00214"></a>00214 <span class="preprocessor">#define RC5_NEWS_FLASH 62 // News flash (Antiope function)</span>
|
||||||
|
<a name="l00215"></a>00215 <span class="preprocessor"></span>
|
||||||
|
<a name="l00216"></a>00216 <span class="comment">// http://en.wikipedia.org/wiki/RC-5#Command_Tables</span>
|
||||||
|
<a name="l00217"></a>00217 <span class="comment">// Table 6, LaserVision commands</span>
|
||||||
|
<a name="l00218"></a>00218 <span class="preprocessor">#define RC5_PICTURE_NUMBER 10 // Display picture number/time</span>
|
||||||
|
<a name="l00219"></a>00219 <span class="preprocessor"></span><span class="preprocessor">#define RC5_CHAPTER_NUMBER 11 // Display chapter number</span>
|
||||||
|
<a name="l00220"></a>00220 <span class="preprocessor"></span><span class="comment">// RC5_STANDBY 12 // Standby</span>
|
||||||
|
<a name="l00221"></a>00221 <span class="comment">// RC5_MUTE 13 // Master mute/de-mute</span>
|
||||||
|
<a name="l00222"></a>00222 <span class="comment">// RC5_DISPLAY_INFO 15 // Display user info on screen</span>
|
||||||
|
<a name="l00223"></a>00223 <span class="preprocessor">#define RC5_SHUFFLE 28 // Total shuffle play/repeat once</span>
|
||||||
|
<a name="l00224"></a>00224 <span class="preprocessor"></span><span class="preprocessor">#define RC5_REPEAT 29 // Repeat continuously</span>
|
||||||
|
<a name="l00225"></a>00225 <span class="preprocessor"></span><span class="preprocessor">#define RC5_SELECT_NEXT 30 // Select next option</span>
|
||||||
|
<a name="l00226"></a>00226 <span class="preprocessor"></span><span class="preprocessor">#define RC5_FAST_REVERSE 31 // Fast run reverse</span>
|
||||||
|
<a name="l00227"></a>00227 <span class="preprocessor"></span><span class="preprocessor">#define RC5_ENTRY 32 // Entry (prepare to program)</span>
|
||||||
|
<a name="l00228"></a>00228 <span class="preprocessor"></span><span class="preprocessor">#define RC5_AUTO_STOP 33 // Auto-stop at pre-programmed point</span>
|
||||||
|
<a name="l00229"></a>00229 <span class="preprocessor"></span><span class="preprocessor">#define RC5_SLOW_REVERSE 34 // Slow run reverse</span>
|
||||||
|
<a name="l00230"></a>00230 <span class="preprocessor"></span><span class="preprocessor">#define RC5_STEREO_CHANNEL1 35 // Select stereo sound channel 1/language 1</span>
|
||||||
|
<a name="l00231"></a>00231 <span class="preprocessor"></span><span class="preprocessor">#define RC5_STEREO_CHANNEL2 36 // Select stereo sound channel 2/language 2</span>
|
||||||
|
<a name="l00232"></a>00232 <span class="preprocessor"></span><span class="preprocessor">#define RC5_DEC_STILL 37 // Still increment reverse</span>
|
||||||
|
<a name="l00233"></a>00233 <span class="preprocessor"></span><span class="preprocessor">#define RC5_INC_SPEED 38 // Increase speed</span>
|
||||||
|
<a name="l00234"></a>00234 <span class="preprocessor"></span><span class="preprocessor">#define RC5_DEC_SPEED 39 // Decrease speed</span>
|
||||||
|
<a name="l00235"></a>00235 <span class="preprocessor"></span><span class="preprocessor">#define RC5_SLOW_FORWARD 40 // Slow run forward</span>
|
||||||
|
<a name="l00236"></a>00236 <span class="preprocessor"></span><span class="preprocessor">#define RC5_INC_STILL 41 // Still increment forward</span>
|
||||||
|
<a name="l00237"></a>00237 <span class="preprocessor"></span><span class="preprocessor">#define RC5_FAST_FORWARD 42 // Fast run forward</span>
|
||||||
|
<a name="l00238"></a>00238 <span class="preprocessor"></span><span class="preprocessor">#define RC5_SEARCH_USER_CHOICE 43 // Automatic search for user choice</span>
|
||||||
|
<a name="l00239"></a>00239 <span class="preprocessor"></span><span class="preprocessor">#define RC5_SEARCH_REVERSE 44 // Search in reverse</span>
|
||||||
|
<a name="l00240"></a>00240 <span class="preprocessor"></span><span class="preprocessor">#define RC5_TRAY 45 // Open/close tray</span>
|
||||||
|
<a name="l00241"></a>00241 <span class="preprocessor"></span><span class="preprocessor">#define RC5_SEARCH_FORWARD 46 // Search forward</span>
|
||||||
|
<a name="l00242"></a>00242 <span class="preprocessor"></span><span class="preprocessor">#define RC5_PLAY_REVERSE 47 // Play reverse/play opposite sound track</span>
|
||||||
|
<a name="l00243"></a>00243 <span class="preprocessor"></span><span class="comment">// RC5_PAUSE 48 // Pause</span>
|
||||||
|
<a name="l00244"></a>00244 <span class="comment">// RC5_ERASE 49 // Erase/correct entry</span>
|
||||||
|
<a name="l00245"></a>00245 <span class="comment">// RC5_PLAY 53 // Play</span>
|
||||||
|
<a name="l00246"></a>00246 <span class="comment">// RC5_STOP 54 // Stop</span>
|
||||||
|
<a name="l00247"></a>00247 <span class="preprocessor">#define RC5_CLEAR_MEMORY 58 // Clear memory all</span>
|
||||||
|
<a name="l00248"></a>00248 <span class="preprocessor"></span><span class="preprocessor">#define RC5_FREEZE_SEGMENT 59 // Freeze segment(s) indicated by picture numbers.</span>
|
||||||
|
<a name="l00249"></a>00249 <span class="preprocessor"></span><span class="preprocessor">#define RC5_TV_TXT_ALT 60 // TV/TXT toggle; RF switch (USA only)</span>
|
||||||
|
<a name="l00250"></a>00250 <span class="preprocessor"></span><span class="preprocessor">#define RC5_CX 62 // CX 1, 2, 3; toggle for CX noise reduction</span>
|
||||||
|
<a name="l00251"></a>00251 <span class="preprocessor"></span>
|
||||||
|
<a name="l00252"></a>00252 <span class="comment">// http://en.wikipedia.org/wiki/RC-5#Command_Tables</span>
|
||||||
|
<a name="l00253"></a>00253 <span class="comment">// Table 11, Preamplifier commands</span>
|
||||||
|
<a name="l00254"></a>00254 <span class="preprocessor">#define RC5_GEQ_L 10 // Graphic equalizer left</span>
|
||||||
|
<a name="l00255"></a>00255 <span class="preprocessor"></span><span class="preprocessor">#define RC5_GEQ_R 11 // Graphic equalizer right</span>
|
||||||
|
<a name="l00256"></a>00256 <span class="preprocessor"></span><span class="comment">// RC5_STANDBY 12 // Standby</span>
|
||||||
|
<a name="l00257"></a>00257 <span class="comment">// RC5_MUTE 13 // Master mute/de-mute</span>
|
||||||
|
<a name="l00258"></a>00258 <span class="comment">// RC5_PREFERENCES 14 // Personal preference settings</span>
|
||||||
|
<a name="l00259"></a>00259 <span class="comment">// RC5_DISPLAY_INFO 15 // Display user info on screen</span>
|
||||||
|
<a name="l00260"></a>00260 <span class="preprocessor">#define RC5_GEQ_L_AND_R 28 // Graphic equalizer left and right</span>
|
||||||
|
<a name="l00261"></a>00261 <span class="preprocessor"></span><span class="preprocessor">#define RC5_SPEAKER_SELECT 29 // Speaker select</span>
|
||||||
|
<a name="l00262"></a>00262 <span class="preprocessor"></span><span class="preprocessor">#define RC5_SCRATCH_FILTER 30 // Scratch filter on/off</span>
|
||||||
|
<a name="l00263"></a>00263 <span class="preprocessor"></span><span class="preprocessor">#define RC5_RUMBLE_FILTER 31 // Rumble filter on/off</span>
|
||||||
|
<a name="l00264"></a>00264 <span class="preprocessor"></span><span class="preprocessor">#define RC5_INC_STEP 32 // Step function +</span>
|
||||||
|
<a name="l00265"></a>00265 <span class="preprocessor"></span><span class="preprocessor">#define RC5_DEC_STEP 33 // Step function -</span>
|
||||||
|
<a name="l00266"></a>00266 <span class="preprocessor"></span><span class="preprocessor">#define RC5_SIGNAL_PATH 34 // Signal path options</span>
|
||||||
|
<a name="l00267"></a>00267 <span class="preprocessor"></span><span class="preprocessor">#define RC5_SPEAKER_A 35 // Speaker A on/off</span>
|
||||||
|
<a name="l00268"></a>00268 <span class="preprocessor"></span><span class="preprocessor">#define RC5_SURROUND_OPTIONS 37 // Surround sound options</span>
|
||||||
|
<a name="l00269"></a>00269 <span class="preprocessor"></span><span class="comment">// RC5_SLEEP_TIMER 38 // Sleep timer</span>
|
||||||
|
<a name="l00270"></a>00270 <span class="preprocessor">#define RC5_SPEAKER_B 39 // Speaker B on/off</span>
|
||||||
|
<a name="l00271"></a>00271 <span class="preprocessor"></span><span class="preprocessor">#define RC5_SPEAKER_C 40 // Speaker C on/off</span>
|
||||||
|
<a name="l00272"></a>00272 <span class="preprocessor"></span><span class="preprocessor">#define RC5_TIMER_PROGRAM 41 // Timer program mode</span>
|
||||||
|
<a name="l00273"></a>00273 <span class="preprocessor"></span><span class="comment">// RC5_TIME 42 // Display time</span>
|
||||||
|
<a name="l00274"></a>00274 <span class="preprocessor">#define RC5_INC_TIMER 43 // Timer +</span>
|
||||||
|
<a name="l00275"></a>00275 <span class="preprocessor"></span><span class="preprocessor">#define RC5_DEC_TIMER 44 // Timer -</span>
|
||||||
|
<a name="l00276"></a>00276 <span class="preprocessor"></span><span class="preprocessor">#define RC5_TIMER_MEMORY 45 // Open timer memory</span>
|
||||||
|
<a name="l00277"></a>00277 <span class="preprocessor"></span><span class="preprocessor">#define RC5_ACOUSTIC_CONTROL 46 // Open acoustic control setting memory</span>
|
||||||
|
<a name="l00278"></a>00278 <span class="preprocessor"></span><span class="preprocessor">#define RC5_ACOUSTIC_SELECT 47 // Select acoustic settings in memory</span>
|
||||||
|
<a name="l00279"></a>00279 <span class="preprocessor"></span><span class="comment">// RC5_ERASE 49 // Erase/correct entry</span>
|
||||||
|
<a name="l00280"></a>00280 <span class="comment">// RC5_CLEAR_MEMORY 58 // Clear memory all</span>
|
||||||
|
<a name="l00281"></a>00281 <span class="preprocessor">#define RC5_DYNAMIC_EXPAND 60 // Dynamic range expand</span>
|
||||||
|
<a name="l00282"></a>00282 <span class="preprocessor"></span><span class="preprocessor">#define RC5_DYNAMIC_COMPRESS 62 // Dynamic range compress</span>
|
||||||
|
<a name="l00283"></a>00283 <span class="preprocessor"></span><span class="preprocessor">#define RC5_SURROUND_SOUND 64 // Surround sound on/off</span>
|
||||||
|
<a name="l00284"></a>00284 <span class="preprocessor"></span><span class="preprocessor">#define RC5_BALANCE_FRONT 65 // Balance front</span>
|
||||||
|
<a name="l00285"></a>00285 <span class="preprocessor"></span><span class="preprocessor">#define RC5_BALANCE_REAR 66 // Balance rear</span>
|
||||||
|
<a name="l00286"></a>00286 <span class="preprocessor"></span><span class="preprocessor">#define RC5_LINEAR_SOUND 79 // Scroll linear sound functions</span>
|
||||||
|
<a name="l00287"></a>00287 <span class="preprocessor"></span><span class="preprocessor">#define RC5_RANDOM_NOISE 88 // Random noise generator on/off</span>
|
||||||
|
<a name="l00288"></a>00288 <span class="preprocessor"></span><span class="preprocessor">#define RC5_TIMER 89 // Timer on/off</span>
|
||||||
|
<a name="l00289"></a>00289 <span class="preprocessor"></span><span class="preprocessor">#define RC5_NEWS_TIMER 90 // News timer on/off</span>
|
||||||
|
<a name="l00290"></a>00290 <span class="preprocessor"></span><span class="preprocessor">#define RC5_INC_CENTER_VOLUME 102 // Increase center channel volume</span>
|
||||||
|
<a name="l00291"></a>00291 <span class="preprocessor"></span><span class="preprocessor">#define RC5_DEC_CENTER_VOLUME 103 // Decrease center channel volume</span>
|
||||||
|
<a name="l00292"></a>00292 <span class="preprocessor"></span><span class="preprocessor">#define RC5_INC_DELAY_SURROUND 104 // Increase delay front to surround</span>
|
||||||
|
<a name="l00293"></a>00293 <span class="preprocessor"></span><span class="preprocessor">#define RC5_DEC_DELAY_SURROUND 105 // Decrease delay front to surround</span>
|
||||||
|
<a name="l00294"></a>00294 <span class="preprocessor"></span><span class="preprocessor">#define RC5_LINEAR_PHASE 106 // Linear phase</span>
|
||||||
|
<a name="l00295"></a>00295 <span class="preprocessor"></span><span class="preprocessor">#define RC5_TAPE_MONITOR 122 // Tape monitor</span>
|
||||||
|
<a name="l00296"></a>00296 <span class="preprocessor"></span>
|
||||||
|
<a name="l00297"></a>00297 <span class="comment">// http://en.wikipedia.org/wiki/RC-5#Command_Tables</span>
|
||||||
|
<a name="l00298"></a>00298 <span class="comment">// Table 14, Compact disc player commands</span>
|
||||||
|
<a name="l00299"></a>00299 <span class="preprocessor">#define RC5_LOCAL_CURSOR 10 // Scroll local display cursor</span>
|
||||||
|
<a name="l00300"></a>00300 <span class="preprocessor"></span><span class="preprocessor">#define RC5_LOCAL_FUNCTION 11 // Scroll local display function</span>
|
||||||
|
<a name="l00301"></a>00301 <span class="preprocessor"></span><span class="comment">// RC5_STANDBY 12 // Standby</span>
|
||||||
|
<a name="l00302"></a>00302 <span class="comment">// RC5_MUTE 13 // Master mute/de-mute</span>
|
||||||
|
<a name="l00303"></a>00303 <span class="comment">// RC5_DISPLAY_INFO 15 // Display user info on screen</span>
|
||||||
|
<a name="l00304"></a>00304 <span class="comment">// RC5_SHUFFLE 28 // Total shuffle play/repeat once</span>
|
||||||
|
<a name="l00305"></a>00305 <span class="comment">// RC5_REPEAT 29 // Repeat continuously</span>
|
||||||
|
<a name="l00306"></a>00306 <span class="preprocessor">#define RC5_INC_SELECT 30 // Select increment</span>
|
||||||
|
<a name="l00307"></a>00307 <span class="preprocessor"></span><span class="preprocessor">#define RC5_DEC_SELECT 31 // Select decrement</span>
|
||||||
|
<a name="l00308"></a>00308 <span class="preprocessor"></span><span class="preprocessor">#define RC5_NEXT 32 // Next</span>
|
||||||
|
<a name="l00309"></a>00309 <span class="preprocessor"></span><span class="preprocessor">#define RC5_PREVIOUS 33 // Previous</span>
|
||||||
|
<a name="l00310"></a>00310 <span class="preprocessor"></span><span class="preprocessor">#define RC5_INDEX_NEXT 34 // Index next</span>
|
||||||
|
<a name="l00311"></a>00311 <span class="preprocessor"></span><span class="preprocessor">#define RC5_INDEX_PREVIOUS 35 // Index previous</span>
|
||||||
|
<a name="l00312"></a>00312 <span class="preprocessor"></span><span class="preprocessor">#define RC5_PLAY_PROGRAM 36 // Play/program</span>
|
||||||
|
<a name="l00313"></a>00313 <span class="preprocessor"></span><span class="preprocessor">#define RC5_NOMINAL_SPEED 37 // Speed nominal</span>
|
||||||
|
<a name="l00314"></a>00314 <span class="preprocessor"></span><span class="comment">// RC5_INC_SPEED 38 // Increase speed</span>
|
||||||
|
<a name="l00315"></a>00315 <span class="comment">// RC5_DEC_SPEED 39 // Decrease speed</span>
|
||||||
|
<a name="l00316"></a>00316 <span class="comment">// RC5_STORE 41 // Store/vote</span>
|
||||||
|
<a name="l00317"></a>00317 <span class="comment">// RC5_INC_SCAN 43 // Scan forward/increment</span>
|
||||||
|
<a name="l00318"></a>00318 <span class="comment">// RC5_TRAY 45 // Open/close tray</span>
|
||||||
|
<a name="l00319"></a>00319 <span class="preprocessor">#define RC5_CARTRIDGE 47 // Fast/select disc from catridge</span>
|
||||||
|
<a name="l00320"></a>00320 <span class="preprocessor"></span><span class="comment">// RC5_PAUSE 48 // Pause</span>
|
||||||
|
<a name="l00321"></a>00321 <span class="comment">// RC5_ERASE 49 // Erase/correct entry</span>
|
||||||
|
<a name="l00322"></a>00322 <span class="comment">// RC5_REWIND 50 // Rewind</span>
|
||||||
|
<a name="l00323"></a>00323 <span class="comment">// RC5_GOTO 51 // Go to</span>
|
||||||
|
<a name="l00324"></a>00324 <span class="comment">// RC5_WIND 52 // Wind (fast forward)</span>
|
||||||
|
<a name="l00325"></a>00325 <span class="comment">// RC5_PLAY 53 // Play</span>
|
||||||
|
<a name="l00326"></a>00326 <span class="comment">// RC5_STOP 54 // Stop</span>
|
||||||
|
<a name="l00327"></a>00327 <span class="comment">// RC5_CLEAR_MEMORY 58 // Clear memory all</span>
|
||||||
|
<a name="l00328"></a>00328 <span class="preprocessor">#define RC5_REPEAT_AB 59 // Repeat program marked A/B</span>
|
||||||
|
<a name="l00329"></a>00329 <span class="preprocessor"></span><span class="comment">// RC5_DYNAMIC_EXPAND 60 // Dynamic range expand</span>
|
||||||
|
<a name="l00330"></a>00330 <span class="comment">// RC5_DYNAMIC_COMPRESS 62 // Dynamic range compress</span>
|
||||||
|
<a name="l00331"></a>00331 <span class="preprocessor">#define RC5_DSP 91 // Digital signal processing on/off</span>
|
||||||
|
<a name="l00332"></a>00332 <span class="preprocessor"></span><span class="preprocessor">#define RC5_DSP_MUSIC 92 // Music mode (DSP)</span>
|
||||||
|
<a name="l00333"></a>00333 <span class="preprocessor"></span><span class="preprocessor">#define RC5_DSP_ACOUSTICS 93 // Select room acoustics (DSP)</span>
|
||||||
|
<a name="l00334"></a>00334 <span class="preprocessor"></span><span class="preprocessor">#define RC5_DSP_JAZZ 94 // Jazz/s-hall effect (DSP)</span>
|
||||||
|
<a name="l00335"></a>00335 <span class="preprocessor"></span><span class="preprocessor">#define RC5_DSP_POP 95 // Pop/s-hall effect (DSP)</span>
|
||||||
|
<a name="l00336"></a>00336 <span class="preprocessor"></span><span class="preprocessor">#define RC5_DSP_CLASSIC 96 // Classic/church music for music/room mode (DSP)</span>
|
||||||
|
<a name="l00337"></a>00337 <span class="preprocessor"></span><span class="preprocessor">#define RC5_DSP_EASY 97 // Easy/club music for music/room mode (DSP)</span>
|
||||||
|
<a name="l00338"></a>00338 <span class="preprocessor"></span><span class="preprocessor">#define RC5_DSP_DISCO 98 // Disco/stadium music for music/room mode (DSP)</span>
|
||||||
|
<a name="l00339"></a>00339 <span class="preprocessor"></span><span class="preprocessor">#define RC5_SECOND_FAVORITE 107 // Second favorite track selection</span>
|
||||||
|
<a name="l00340"></a>00340 <span class="preprocessor"></span><span class="preprocessor">#define RC5_FAVORITE 108 // Favorite track selection</span>
|
||||||
|
<a name="l00341"></a>00341 <span class="preprocessor"></span><span class="preprocessor">#define RC5_TITLE_INTO_MEMORY 109 // Title into memory</span>
|
||||||
|
<a name="l00342"></a>00342 <span class="preprocessor"></span><span class="preprocessor">#define RC5_FADE 120 // Fade in/out audio</span>
|
||||||
|
<a name="l00343"></a>00343 <span class="preprocessor"></span>
|
||||||
|
<a name="l00344"></a>00344 <span class="preprocessor">#endif</span>
|
||||||
|
</pre></div></div>
|
||||||
|
</div>
|
||||||
|
<!-- window showing the filter options -->
|
||||||
|
<div id="MSearchSelectWindow"
|
||||||
|
onmouseover="return searchBox.OnSearchSelectShow()"
|
||||||
|
onmouseout="return searchBox.OnSearchSelectHide()"
|
||||||
|
onkeydown="return searchBox.OnSearchSelectKey(event)">
|
||||||
|
<a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(0)"><span class="SelectionMark"> </span>All</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(1)"><span class="SelectionMark"> </span>Classes</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(2)"><span class="SelectionMark"> </span>Files</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(3)"><span class="SelectionMark"> </span>Functions</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(4)"><span class="SelectionMark"> </span>Variables</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(5)"><span class="SelectionMark"> </span>Typedefs</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(6)"><span class="SelectionMark"> </span>Enumerations</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(7)"><span class="SelectionMark"> </span>Enumerator</a></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>
|
||||||
|
|
||||||
|
<hr class="footer"/><address class="footer"><small>Generated on Sun Jun 10 2012 10:51:56 for ArduinoLibs by 
|
||||||
|
<a href="http://www.doxygen.org/index.html">
|
||||||
|
<img class="footer" src="doxygen.png" alt="doxygen"/></a> 1.7.4 </small></address>
|
||||||
|
</body>
|
||||||
|
</html>
|
@ -303,7 +303,7 @@ var searchBox = new SearchBox("searchBox", "search",false,'Search');
|
|||||||
</iframe>
|
</iframe>
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
<hr class="footer"/><address class="footer"><small>Generated on Fri Jun 1 2012 14:29:17 for ArduinoLibs by 
|
<hr class="footer"/><address class="footer"><small>Generated on Sun Jun 10 2012 10:51:56 for ArduinoLibs by 
|
||||||
<a href="http://www.doxygen.org/index.html">
|
<a href="http://www.doxygen.org/index.html">
|
||||||
<img class="footer" src="doxygen.png" alt="doxygen"/></a> 1.7.4 </small></address>
|
<img class="footer" src="doxygen.png" alt="doxygen"/></a> 1.7.4 </small></address>
|
||||||
</body>
|
</body>
|
||||||
|
@ -168,7 +168,7 @@ var searchBox = new SearchBox("searchBox", "search",false,'Search');
|
|||||||
</iframe>
|
</iframe>
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
<hr class="footer"/><address class="footer"><small>Generated on Fri Jun 1 2012 14:29:17 for ArduinoLibs by 
|
<hr class="footer"/><address class="footer"><small>Generated on Sun Jun 10 2012 10:51:56 for ArduinoLibs by 
|
||||||
<a href="http://www.doxygen.org/index.html">
|
<a href="http://www.doxygen.org/index.html">
|
||||||
<img class="footer" src="doxygen.png" alt="doxygen"/></a> 1.7.4 </small></address>
|
<img class="footer" src="doxygen.png" alt="doxygen"/></a> 1.7.4 </small></address>
|
||||||
</body>
|
</body>
|
||||||
|
@ -260,7 +260,7 @@ var searchBox = new SearchBox("searchBox", "search",false,'Search');
|
|||||||
</iframe>
|
</iframe>
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
<hr class="footer"/><address class="footer"><small>Generated on Fri Jun 1 2012 14:29:17 for ArduinoLibs by 
|
<hr class="footer"/><address class="footer"><small>Generated on Sun Jun 10 2012 10:51:56 for ArduinoLibs by 
|
||||||
<a href="http://www.doxygen.org/index.html">
|
<a href="http://www.doxygen.org/index.html">
|
||||||
<img class="footer" src="doxygen.png" alt="doxygen"/></a> 1.7.4 </small></address>
|
<img class="footer" src="doxygen.png" alt="doxygen"/></a> 1.7.4 </small></address>
|
||||||
</body>
|
</body>
|
||||||
|
@ -132,7 +132,7 @@ var searchBox = new SearchBox("searchBox", "search",false,'Search');
|
|||||||
</iframe>
|
</iframe>
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
<hr class="footer"/><address class="footer"><small>Generated on Fri Jun 1 2012 14:29:17 for ArduinoLibs by 
|
<hr class="footer"/><address class="footer"><small>Generated on Sun Jun 10 2012 10:51:56 for ArduinoLibs by 
|
||||||
<a href="http://www.doxygen.org/index.html">
|
<a href="http://www.doxygen.org/index.html">
|
||||||
<img class="footer" src="doxygen.png" alt="doxygen"/></a> 1.7.4 </small></address>
|
<img class="footer" src="doxygen.png" alt="doxygen"/></a> 1.7.4 </small></address>
|
||||||
</body>
|
</body>
|
||||||
|
@ -132,7 +132,7 @@ var searchBox = new SearchBox("searchBox", "search",false,'Search');
|
|||||||
</iframe>
|
</iframe>
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
<hr class="footer"/><address class="footer"><small>Generated on Fri Jun 1 2012 14:29:17 for ArduinoLibs by 
|
<hr class="footer"/><address class="footer"><small>Generated on Sun Jun 10 2012 10:51:56 for ArduinoLibs by 
|
||||||
<a href="http://www.doxygen.org/index.html">
|
<a href="http://www.doxygen.org/index.html">
|
||||||
<img class="footer" src="doxygen.png" alt="doxygen"/></a> 1.7.4 </small></address>
|
<img class="footer" src="doxygen.png" alt="doxygen"/></a> 1.7.4 </small></address>
|
||||||
</body>
|
</body>
|
||||||
|
@ -118,7 +118,7 @@ var searchBox = new SearchBox("searchBox", "search",false,'Search');
|
|||||||
</iframe>
|
</iframe>
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
<hr class="footer"/><address class="footer"><small>Generated on Fri Jun 1 2012 14:29:17 for ArduinoLibs by 
|
<hr class="footer"/><address class="footer"><small>Generated on Sun Jun 10 2012 10:51:56 for ArduinoLibs by 
|
||||||
<a href="http://www.doxygen.org/index.html">
|
<a href="http://www.doxygen.org/index.html">
|
||||||
<img class="footer" src="doxygen.png" alt="doxygen"/></a> 1.7.4 </small></address>
|
<img class="footer" src="doxygen.png" alt="doxygen"/></a> 1.7.4 </small></address>
|
||||||
</body>
|
</body>
|
||||||
|
@ -297,7 +297,7 @@ var searchBox = new SearchBox("searchBox", "search",false,'Search');
|
|||||||
</iframe>
|
</iframe>
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
<hr class="footer"/><address class="footer"><small>Generated on Fri Jun 1 2012 14:29:17 for ArduinoLibs by 
|
<hr class="footer"/><address class="footer"><small>Generated on Sun Jun 10 2012 10:51:56 for ArduinoLibs by 
|
||||||
<a href="http://www.doxygen.org/index.html">
|
<a href="http://www.doxygen.org/index.html">
|
||||||
<img class="footer" src="doxygen.png" alt="doxygen"/></a> 1.7.4 </small></address>
|
<img class="footer" src="doxygen.png" alt="doxygen"/></a> 1.7.4 </small></address>
|
||||||
</body>
|
</body>
|
||||||
|
@ -137,7 +137,7 @@ var searchBox = new SearchBox("searchBox", "search",false,'Search');
|
|||||||
</iframe>
|
</iframe>
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
<hr class="footer"/><address class="footer"><small>Generated on Fri Jun 1 2012 14:29:17 for ArduinoLibs by 
|
<hr class="footer"/><address class="footer"><small>Generated on Sun Jun 10 2012 10:51:56 for ArduinoLibs by 
|
||||||
<a href="http://www.doxygen.org/index.html">
|
<a href="http://www.doxygen.org/index.html">
|
||||||
<img class="footer" src="doxygen.png" alt="doxygen"/></a> 1.7.4 </small></address>
|
<img class="footer" src="doxygen.png" alt="doxygen"/></a> 1.7.4 </small></address>
|
||||||
</body>
|
</body>
|
||||||
|
@ -81,7 +81,7 @@ var searchBox = new SearchBox("searchBox", "search",false,'Search');
|
|||||||
</iframe>
|
</iframe>
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
<hr class="footer"/><address class="footer"><small>Generated on Fri Jun 1 2012 14:29:17 for ArduinoLibs by 
|
<hr class="footer"/><address class="footer"><small>Generated on Sun Jun 10 2012 10:51:56 for ArduinoLibs by 
|
||||||
<a href="http://www.doxygen.org/index.html">
|
<a href="http://www.doxygen.org/index.html">
|
||||||
<img class="footer" src="doxygen.png" alt="doxygen"/></a> 1.7.4 </small></address>
|
<img class="footer" src="doxygen.png" alt="doxygen"/></a> 1.7.4 </small></address>
|
||||||
</body>
|
</body>
|
||||||
|
@ -113,7 +113,7 @@ Using DS3232 instead of DS1307</h2>
|
|||||||
</iframe>
|
</iframe>
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
<hr class="footer"/><address class="footer"><small>Generated on Fri Jun 1 2012 14:29:17 for ArduinoLibs by 
|
<hr class="footer"/><address class="footer"><small>Generated on Sun Jun 10 2012 10:51:56 for ArduinoLibs by 
|
||||||
<a href="http://www.doxygen.org/index.html">
|
<a href="http://www.doxygen.org/index.html">
|
||||||
<img class="footer" src="doxygen.png" alt="doxygen"/></a> 1.7.4 </small></address>
|
<img class="footer" src="doxygen.png" alt="doxygen"/></a> 1.7.4 </small></address>
|
||||||
</body>
|
</body>
|
||||||
|
@ -77,6 +77,7 @@ var searchBox = new SearchBox("searchBox", "search",false,'Search');
|
|||||||
<tr><td class="indexkey"><a class="el" href="classForm.html">Form</a></td><td class="indexvalue">Manager for a form containing data input/output fields </td></tr>
|
<tr><td class="indexkey"><a class="el" href="classForm.html">Form</a></td><td class="indexvalue">Manager for a form containing data input/output fields </td></tr>
|
||||||
<tr><td class="indexkey"><a class="el" href="classI2CMaster.html">I2CMaster</a></td><td class="indexvalue">Abstract base class for I2C master implementations </td></tr>
|
<tr><td class="indexkey"><a class="el" href="classI2CMaster.html">I2CMaster</a></td><td class="indexvalue">Abstract base class for I2C master implementations </td></tr>
|
||||||
<tr><td class="indexkey"><a class="el" href="classIntField.html">IntField</a></td><td class="indexvalue"><a class="el" href="classField.html" title="Manages a single data input/output field within a Form.">Field</a> that manages the input of an integer value </td></tr>
|
<tr><td class="indexkey"><a class="el" href="classIntField.html">IntField</a></td><td class="indexvalue"><a class="el" href="classField.html" title="Manages a single data input/output field within a Form.">Field</a> that manages the input of an integer value </td></tr>
|
||||||
|
<tr><td class="indexkey"><a class="el" href="classIRreceiver.html">IRreceiver</a></td><td class="indexvalue">Manages the reception of RC-5 commands from an infrared remote control </td></tr>
|
||||||
<tr><td class="indexkey"><a class="el" href="classLCD.html">LCD</a></td><td class="indexvalue">Enhanced library for Freetronics 16x2 <a class="el" href="classLCD.html" title="Enhanced library for Freetronics 16x2 LCD shields.">LCD</a> shields </td></tr>
|
<tr><td class="indexkey"><a class="el" href="classLCD.html">LCD</a></td><td class="indexvalue">Enhanced library for Freetronics 16x2 <a class="el" href="classLCD.html" title="Enhanced library for Freetronics 16x2 LCD shields.">LCD</a> shields </td></tr>
|
||||||
<tr><td class="indexkey"><a class="el" href="classListField.html">ListField</a></td><td class="indexvalue"><a class="el" href="classField.html" title="Manages a single data input/output field within a Form.">Field</a> that manages selection from a static list of items </td></tr>
|
<tr><td class="indexkey"><a class="el" href="classListField.html">ListField</a></td><td class="indexvalue"><a class="el" href="classField.html" title="Manages a single data input/output field within a Form.">Field</a> that manages selection from a static list of items </td></tr>
|
||||||
<tr><td class="indexkey"><a class="el" href="classMelody.html">Melody</a></td><td class="indexvalue">Plays a melody on a digital output pin using tone() </td></tr>
|
<tr><td class="indexkey"><a class="el" href="classMelody.html">Melody</a></td><td class="indexvalue">Plays a melody on a digital output pin using tone() </td></tr>
|
||||||
@ -103,7 +104,7 @@ var searchBox = new SearchBox("searchBox", "search",false,'Search');
|
|||||||
</iframe>
|
</iframe>
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
<hr class="footer"/><address class="footer"><small>Generated on Fri Jun 1 2012 14:29:17 for ArduinoLibs by 
|
<hr class="footer"/><address class="footer"><small>Generated on Sun Jun 10 2012 10:51:57 for ArduinoLibs by 
|
||||||
<a href="http://www.doxygen.org/index.html">
|
<a href="http://www.doxygen.org/index.html">
|
||||||
<img class="footer" src="doxygen.png" alt="doxygen"/></a> 1.7.4 </small></address>
|
<img class="footer" src="doxygen.png" alt="doxygen"/></a> 1.7.4 </small></address>
|
||||||
</body>
|
</body>
|
||||||
|
@ -81,7 +81,7 @@ var searchBox = new SearchBox("searchBox", "search",false,'Search');
|
|||||||
</iframe>
|
</iframe>
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
<hr class="footer"/><address class="footer"><small>Generated on Fri Jun 1 2012 14:29:17 for ArduinoLibs by 
|
<hr class="footer"/><address class="footer"><small>Generated on Sun Jun 10 2012 10:51:56 for ArduinoLibs by 
|
||||||
<a href="http://www.doxygen.org/index.html">
|
<a href="http://www.doxygen.org/index.html">
|
||||||
<img class="footer" src="doxygen.png" alt="doxygen"/></a> 1.7.4 </small></address>
|
<img class="footer" src="doxygen.png" alt="doxygen"/></a> 1.7.4 </small></address>
|
||||||
</body>
|
</body>
|
||||||
|
@ -81,7 +81,7 @@ var searchBox = new SearchBox("searchBox", "search",false,'Search');
|
|||||||
</iframe>
|
</iframe>
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
<hr class="footer"/><address class="footer"><small>Generated on Fri Jun 1 2012 14:29:17 for ArduinoLibs by 
|
<hr class="footer"/><address class="footer"><small>Generated on Sun Jun 10 2012 10:51:56 for ArduinoLibs by 
|
||||||
<a href="http://www.doxygen.org/index.html">
|
<a href="http://www.doxygen.org/index.html">
|
||||||
<img class="footer" src="doxygen.png" alt="doxygen"/></a> 1.7.4 </small></address>
|
<img class="footer" src="doxygen.png" alt="doxygen"/></a> 1.7.4 </small></address>
|
||||||
</body>
|
</body>
|
||||||
|
@ -81,7 +81,7 @@ var searchBox = new SearchBox("searchBox", "search",false,'Search');
|
|||||||
</iframe>
|
</iframe>
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
<hr class="footer"/><address class="footer"><small>Generated on Fri Jun 1 2012 14:29:17 for ArduinoLibs by 
|
<hr class="footer"/><address class="footer"><small>Generated on Sun Jun 10 2012 10:51:56 for ArduinoLibs by 
|
||||||
<a href="http://www.doxygen.org/index.html">
|
<a href="http://www.doxygen.org/index.html">
|
||||||
<img class="footer" src="doxygen.png" alt="doxygen"/></a> 1.7.4 </small></address>
|
<img class="footer" src="doxygen.png" alt="doxygen"/></a> 1.7.4 </small></address>
|
||||||
</body>
|
</body>
|
||||||
|
@ -81,7 +81,7 @@ var searchBox = new SearchBox("searchBox", "search",false,'Search');
|
|||||||
</iframe>
|
</iframe>
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
<hr class="footer"/><address class="footer"><small>Generated on Fri Jun 1 2012 14:29:17 for ArduinoLibs by 
|
<hr class="footer"/><address class="footer"><small>Generated on Sun Jun 10 2012 10:51:56 for ArduinoLibs by 
|
||||||
<a href="http://www.doxygen.org/index.html">
|
<a href="http://www.doxygen.org/index.html">
|
||||||
<img class="footer" src="doxygen.png" alt="doxygen"/></a> 1.7.4 </small></address>
|
<img class="footer" src="doxygen.png" alt="doxygen"/></a> 1.7.4 </small></address>
|
||||||
</body>
|
</body>
|
||||||
|
@ -109,7 +109,7 @@ var searchBox = new SearchBox("searchBox", "search",false,'Search');
|
|||||||
</iframe>
|
</iframe>
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
<hr class="footer"/><address class="footer"><small>Generated on Fri Jun 1 2012 14:29:17 for ArduinoLibs by 
|
<hr class="footer"/><address class="footer"><small>Generated on Sun Jun 10 2012 10:51:56 for ArduinoLibs by 
|
||||||
<a href="http://www.doxygen.org/index.html">
|
<a href="http://www.doxygen.org/index.html">
|
||||||
<img class="footer" src="doxygen.png" alt="doxygen"/></a> 1.7.4 </small></address>
|
<img class="footer" src="doxygen.png" alt="doxygen"/></a> 1.7.4 </small></address>
|
||||||
</body>
|
</body>
|
||||||
|
@ -149,7 +149,7 @@ byte pins[3] = {9, 10, 11};
|
|||||||
</iframe>
|
</iframe>
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
<hr class="footer"/><address class="footer"><small>Generated on Fri Jun 1 2012 14:29:17 for ArduinoLibs by 
|
<hr class="footer"/><address class="footer"><small>Generated on Sun Jun 10 2012 10:51:56 for ArduinoLibs by 
|
||||||
<a href="http://www.doxygen.org/index.html">
|
<a href="http://www.doxygen.org/index.html">
|
||||||
<img class="footer" src="doxygen.png" alt="doxygen"/></a> 1.7.4 </small></address>
|
<img class="footer" src="doxygen.png" alt="doxygen"/></a> 1.7.4 </small></address>
|
||||||
</body>
|
</body>
|
||||||
|
@ -160,7 +160,7 @@ CylonChase cylonEyes(pins, <span class="keyword">sizeof</span>(pins), 100);
|
|||||||
</iframe>
|
</iframe>
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
<hr class="footer"/><address class="footer"><small>Generated on Fri Jun 1 2012 14:29:17 for ArduinoLibs by 
|
<hr class="footer"/><address class="footer"><small>Generated on Sun Jun 10 2012 10:51:56 for ArduinoLibs by 
|
||||||
<a href="http://www.doxygen.org/index.html">
|
<a href="http://www.doxygen.org/index.html">
|
||||||
<img class="footer" src="doxygen.png" alt="doxygen"/></a> 1.7.4 </small></address>
|
<img class="footer" src="doxygen.png" alt="doxygen"/></a> 1.7.4 </small></address>
|
||||||
</body>
|
</body>
|
||||||
|
@ -226,7 +226,7 @@ NacelleChaseLEDs nacelleChase(nacelleChasePins, NACELLE_CHASE_LEN);
|
|||||||
</iframe>
|
</iframe>
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
<hr class="footer"/><address class="footer"><small>Generated on Fri Jun 1 2012 14:29:17 for ArduinoLibs by 
|
<hr class="footer"/><address class="footer"><small>Generated on Sun Jun 10 2012 10:51:56 for ArduinoLibs by 
|
||||||
<a href="http://www.doxygen.org/index.html">
|
<a href="http://www.doxygen.org/index.html">
|
||||||
<img class="footer" src="doxygen.png" alt="doxygen"/></a> 1.7.4 </small></address>
|
<img class="footer" src="doxygen.png" alt="doxygen"/></a> 1.7.4 </small></address>
|
||||||
</body>
|
</body>
|
||||||
|
@ -123,7 +123,7 @@ This is the complete list of members for <a class="el" href="classBitmap.html">B
|
|||||||
</iframe>
|
</iframe>
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
<hr class="footer"/><address class="footer"><small>Generated on Fri Jun 1 2012 14:29:17 for ArduinoLibs by 
|
<hr class="footer"/><address class="footer"><small>Generated on Sun Jun 10 2012 10:51:57 for ArduinoLibs by 
|
||||||
<a href="http://www.doxygen.org/index.html">
|
<a href="http://www.doxygen.org/index.html">
|
||||||
<img class="footer" src="doxygen.png" alt="doxygen"/></a> 1.7.4 </small></address>
|
<img class="footer" src="doxygen.png" alt="doxygen"/></a> 1.7.4 </small></address>
|
||||||
</body>
|
</body>
|
||||||
|
@ -1591,7 +1591,7 @@ class </td><td class="memItemRight" valign="bottom"><a class="el" href="cla
|
|||||||
</iframe>
|
</iframe>
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
<hr class="footer"/><address class="footer"><small>Generated on Fri Jun 1 2012 14:29:17 for ArduinoLibs by 
|
<hr class="footer"/><address class="footer"><small>Generated on Sun Jun 10 2012 10:51:57 for ArduinoLibs by 
|
||||||
<a href="http://www.doxygen.org/index.html">
|
<a href="http://www.doxygen.org/index.html">
|
||||||
<img class="footer" src="doxygen.png" alt="doxygen"/></a> 1.7.4 </small></address>
|
<img class="footer" src="doxygen.png" alt="doxygen"/></a> 1.7.4 </small></address>
|
||||||
</body>
|
</body>
|
||||||
|
@ -90,7 +90,7 @@ This is the complete list of members for <a class="el" href="classBlinkLED.html"
|
|||||||
</iframe>
|
</iframe>
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
<hr class="footer"/><address class="footer"><small>Generated on Fri Jun 1 2012 14:29:17 for ArduinoLibs by 
|
<hr class="footer"/><address class="footer"><small>Generated on Sun Jun 10 2012 10:51:57 for ArduinoLibs by 
|
||||||
<a href="http://www.doxygen.org/index.html">
|
<a href="http://www.doxygen.org/index.html">
|
||||||
<img class="footer" src="doxygen.png" alt="doxygen"/></a> 1.7.4 </small></address>
|
<img class="footer" src="doxygen.png" alt="doxygen"/></a> 1.7.4 </small></address>
|
||||||
</body>
|
</body>
|
||||||
|
@ -378,7 +378,7 @@ Public Member Functions</h2></td></tr>
|
|||||||
</iframe>
|
</iframe>
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
<hr class="footer"/><address class="footer"><small>Generated on Fri Jun 1 2012 14:29:17 for ArduinoLibs by 
|
<hr class="footer"/><address class="footer"><small>Generated on Sun Jun 10 2012 10:51:57 for ArduinoLibs by 
|
||||||
<a href="http://www.doxygen.org/index.html">
|
<a href="http://www.doxygen.org/index.html">
|
||||||
<img class="footer" src="doxygen.png" alt="doxygen"/></a> 1.7.4 </small></address>
|
<img class="footer" src="doxygen.png" alt="doxygen"/></a> 1.7.4 </small></address>
|
||||||
</body>
|
</body>
|
||||||
|
@ -100,7 +100,7 @@ This is the complete list of members for <a class="el" href="classBoolField.html
|
|||||||
</iframe>
|
</iframe>
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
<hr class="footer"/><address class="footer"><small>Generated on Fri Jun 1 2012 14:29:17 for ArduinoLibs by 
|
<hr class="footer"/><address class="footer"><small>Generated on Sun Jun 10 2012 10:51:57 for ArduinoLibs by 
|
||||||
<a href="http://www.doxygen.org/index.html">
|
<a href="http://www.doxygen.org/index.html">
|
||||||
<img class="footer" src="doxygen.png" alt="doxygen"/></a> 1.7.4 </small></address>
|
<img class="footer" src="doxygen.png" alt="doxygen"/></a> 1.7.4 </small></address>
|
||||||
</body>
|
</body>
|
||||||
|
@ -410,7 +410,7 @@ Public Member Functions</h2></td></tr>
|
|||||||
</iframe>
|
</iframe>
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
<hr class="footer"/><address class="footer"><small>Generated on Fri Jun 1 2012 14:29:17 for ArduinoLibs by 
|
<hr class="footer"/><address class="footer"><small>Generated on Sun Jun 10 2012 10:51:57 for ArduinoLibs by 
|
||||||
<a href="http://www.doxygen.org/index.html">
|
<a href="http://www.doxygen.org/index.html">
|
||||||
<img class="footer" src="doxygen.png" alt="doxygen"/></a> 1.7.4 </small></address>
|
<img class="footer" src="doxygen.png" alt="doxygen"/></a> 1.7.4 </small></address>
|
||||||
</body>
|
</body>
|
||||||
|
@ -91,7 +91,7 @@ This is the complete list of members for <a class="el" href="classCharlieplex.ht
|
|||||||
</iframe>
|
</iframe>
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
<hr class="footer"/><address class="footer"><small>Generated on Fri Jun 1 2012 14:29:17 for ArduinoLibs by 
|
<hr class="footer"/><address class="footer"><small>Generated on Sun Jun 10 2012 10:51:57 for ArduinoLibs by 
|
||||||
<a href="http://www.doxygen.org/index.html">
|
<a href="http://www.doxygen.org/index.html">
|
||||||
<img class="footer" src="doxygen.png" alt="doxygen"/></a> 1.7.4 </small></address>
|
<img class="footer" src="doxygen.png" alt="doxygen"/></a> 1.7.4 </small></address>
|
||||||
</body>
|
</body>
|
||||||
|
@ -471,7 +471,7 @@ byte pins[3] = {9, 10, 11};
|
|||||||
</iframe>
|
</iframe>
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
<hr class="footer"/><address class="footer"><small>Generated on Fri Jun 1 2012 14:29:17 for ArduinoLibs by 
|
<hr class="footer"/><address class="footer"><small>Generated on Sun Jun 10 2012 10:51:57 for ArduinoLibs by 
|
||||||
<a href="http://www.doxygen.org/index.html">
|
<a href="http://www.doxygen.org/index.html">
|
||||||
<img class="footer" src="doxygen.png" alt="doxygen"/></a> 1.7.4 </small></address>
|
<img class="footer" src="doxygen.png" alt="doxygen"/></a> 1.7.4 </small></address>
|
||||||
</body>
|
</body>
|
||||||
|
@ -86,7 +86,7 @@ This is the complete list of members for <a class="el" href="classChaseLEDs.html
|
|||||||
</iframe>
|
</iframe>
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
<hr class="footer"/><address class="footer"><small>Generated on Fri Jun 1 2012 14:29:17 for ArduinoLibs by 
|
<hr class="footer"/><address class="footer"><small>Generated on Sun Jun 10 2012 10:51:57 for ArduinoLibs by 
|
||||||
<a href="http://www.doxygen.org/index.html">
|
<a href="http://www.doxygen.org/index.html">
|
||||||
<img class="footer" src="doxygen.png" alt="doxygen"/></a> 1.7.4 </small></address>
|
<img class="footer" src="doxygen.png" alt="doxygen"/></a> 1.7.4 </small></address>
|
||||||
</body>
|
</body>
|
||||||
|
@ -304,7 +304,7 @@ Protected Member Functions</h2></td></tr>
|
|||||||
</iframe>
|
</iframe>
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
<hr class="footer"/><address class="footer"><small>Generated on Fri Jun 1 2012 14:29:17 for ArduinoLibs by 
|
<hr class="footer"/><address class="footer"><small>Generated on Sun Jun 10 2012 10:51:57 for ArduinoLibs by 
|
||||||
<a href="http://www.doxygen.org/index.html">
|
<a href="http://www.doxygen.org/index.html">
|
||||||
<img class="footer" src="doxygen.png" alt="doxygen"/></a> 1.7.4 </small></address>
|
<img class="footer" src="doxygen.png" alt="doxygen"/></a> 1.7.4 </small></address>
|
||||||
</body>
|
</body>
|
||||||
|
@ -135,7 +135,7 @@ This is the complete list of members for <a class="el" href="classDMD.html">DMD<
|
|||||||
</iframe>
|
</iframe>
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
<hr class="footer"/><address class="footer"><small>Generated on Fri Jun 1 2012 14:29:17 for ArduinoLibs by 
|
<hr class="footer"/><address class="footer"><small>Generated on Sun Jun 10 2012 10:51:57 for ArduinoLibs by 
|
||||||
<a href="http://www.doxygen.org/index.html">
|
<a href="http://www.doxygen.org/index.html">
|
||||||
<img class="footer" src="doxygen.png" alt="doxygen"/></a> 1.7.4 </small></address>
|
<img class="footer" src="doxygen.png" alt="doxygen"/></a> 1.7.4 </small></address>
|
||||||
</body>
|
</body>
|
||||||
|
@ -575,7 +575,7 @@ Multiple panels</h2>
|
|||||||
</iframe>
|
</iframe>
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
<hr class="footer"/><address class="footer"><small>Generated on Fri Jun 1 2012 14:29:17 for ArduinoLibs by 
|
<hr class="footer"/><address class="footer"><small>Generated on Sun Jun 10 2012 10:51:57 for ArduinoLibs by 
|
||||||
<a href="http://www.doxygen.org/index.html">
|
<a href="http://www.doxygen.org/index.html">
|
||||||
<img class="footer" src="doxygen.png" alt="doxygen"/></a> 1.7.4 </small></address>
|
<img class="footer" src="doxygen.png" alt="doxygen"/></a> 1.7.4 </small></address>
|
||||||
</body>
|
</body>
|
||||||
|
@ -103,7 +103,7 @@ This is the complete list of members for <a class="el" href="classDS1307RTC.html
|
|||||||
</iframe>
|
</iframe>
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
<hr class="footer"/><address class="footer"><small>Generated on Fri Jun 1 2012 14:29:17 for ArduinoLibs by 
|
<hr class="footer"/><address class="footer"><small>Generated on Sun Jun 10 2012 10:51:57 for ArduinoLibs by 
|
||||||
<a href="http://www.doxygen.org/index.html">
|
<a href="http://www.doxygen.org/index.html">
|
||||||
<img class="footer" src="doxygen.png" alt="doxygen"/></a> 1.7.4 </small></address>
|
<img class="footer" src="doxygen.png" alt="doxygen"/></a> 1.7.4 </small></address>
|
||||||
</body>
|
</body>
|
||||||
|
@ -449,7 +449,7 @@ bool </td><td class="memItemRight" valign="bottom"><a class="el" href="clas
|
|||||||
</iframe>
|
</iframe>
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
<hr class="footer"/><address class="footer"><small>Generated on Fri Jun 1 2012 14:29:17 for ArduinoLibs by 
|
<hr class="footer"/><address class="footer"><small>Generated on Sun Jun 10 2012 10:51:57 for ArduinoLibs by 
|
||||||
<a href="http://www.doxygen.org/index.html">
|
<a href="http://www.doxygen.org/index.html">
|
||||||
<img class="footer" src="doxygen.png" alt="doxygen"/></a> 1.7.4 </small></address>
|
<img class="footer" src="doxygen.png" alt="doxygen"/></a> 1.7.4 </small></address>
|
||||||
</body>
|
</body>
|
||||||
|
@ -108,7 +108,7 @@ This is the complete list of members for <a class="el" href="classDS3232RTC.html
|
|||||||
</iframe>
|
</iframe>
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
<hr class="footer"/><address class="footer"><small>Generated on Fri Jun 1 2012 14:29:17 for ArduinoLibs by 
|
<hr class="footer"/><address class="footer"><small>Generated on Sun Jun 10 2012 10:51:57 for ArduinoLibs by 
|
||||||
<a href="http://www.doxygen.org/index.html">
|
<a href="http://www.doxygen.org/index.html">
|
||||||
<img class="footer" src="doxygen.png" alt="doxygen"/></a> 1.7.4 </small></address>
|
<img class="footer" src="doxygen.png" alt="doxygen"/></a> 1.7.4 </small></address>
|
||||||
</body>
|
</body>
|
||||||
|
@ -596,7 +596,7 @@ bool </td><td class="memItemRight" valign="bottom"><a class="el" href="clas
|
|||||||
</iframe>
|
</iframe>
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
<hr class="footer"/><address class="footer"><small>Generated on Fri Jun 1 2012 14:29:17 for ArduinoLibs by 
|
<hr class="footer"/><address class="footer"><small>Generated on Sun Jun 10 2012 10:51:57 for ArduinoLibs by 
|
||||||
<a href="http://www.doxygen.org/index.html">
|
<a href="http://www.doxygen.org/index.html">
|
||||||
<img class="footer" src="doxygen.png" alt="doxygen"/></a> 1.7.4 </small></address>
|
<img class="footer" src="doxygen.png" alt="doxygen"/></a> 1.7.4 </small></address>
|
||||||
</body>
|
</body>
|
||||||
|
@ -93,7 +93,7 @@ This is the complete list of members for <a class="el" href="classField.html">Fi
|
|||||||
</iframe>
|
</iframe>
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
<hr class="footer"/><address class="footer"><small>Generated on Fri Jun 1 2012 14:29:17 for ArduinoLibs by 
|
<hr class="footer"/><address class="footer"><small>Generated on Sun Jun 10 2012 10:51:57 for ArduinoLibs by 
|
||||||
<a href="http://www.doxygen.org/index.html">
|
<a href="http://www.doxygen.org/index.html">
|
||||||
<img class="footer" src="doxygen.png" alt="doxygen"/></a> 1.7.4 </small></address>
|
<img class="footer" src="doxygen.png" alt="doxygen"/></a> 1.7.4 </small></address>
|
||||||
</body>
|
</body>
|
||||||
|
@ -360,7 +360,7 @@ class </td><td class="memItemRight" valign="bottom"><a class="el" href="cla
|
|||||||
</iframe>
|
</iframe>
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
<hr class="footer"/><address class="footer"><small>Generated on Fri Jun 1 2012 14:29:17 for ArduinoLibs by 
|
<hr class="footer"/><address class="footer"><small>Generated on Sun Jun 10 2012 10:51:57 for ArduinoLibs by 
|
||||||
<a href="http://www.doxygen.org/index.html">
|
<a href="http://www.doxygen.org/index.html">
|
||||||
<img class="footer" src="doxygen.png" alt="doxygen"/></a> 1.7.4 </small></address>
|
<img class="footer" src="doxygen.png" alt="doxygen"/></a> 1.7.4 </small></address>
|
||||||
</body>
|
</body>
|
||||||
|
@ -95,7 +95,7 @@ This is the complete list of members for <a class="el" href="classForm.html">For
|
|||||||
</iframe>
|
</iframe>
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
<hr class="footer"/><address class="footer"><small>Generated on Fri Jun 1 2012 14:29:17 for ArduinoLibs by 
|
<hr class="footer"/><address class="footer"><small>Generated on Sun Jun 10 2012 10:51:57 for ArduinoLibs by 
|
||||||
<a href="http://www.doxygen.org/index.html">
|
<a href="http://www.doxygen.org/index.html">
|
||||||
<img class="footer" src="doxygen.png" alt="doxygen"/></a> 1.7.4 </small></address>
|
<img class="footer" src="doxygen.png" alt="doxygen"/></a> 1.7.4 </small></address>
|
||||||
</body>
|
</body>
|
||||||
|
@ -440,7 +440,7 @@ class </td><td class="memItemRight" valign="bottom"><a class="el" href="cla
|
|||||||
</iframe>
|
</iframe>
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
<hr class="footer"/><address class="footer"><small>Generated on Fri Jun 1 2012 14:29:17 for ArduinoLibs by 
|
<hr class="footer"/><address class="footer"><small>Generated on Sun Jun 10 2012 10:51:57 for ArduinoLibs by 
|
||||||
<a href="http://www.doxygen.org/index.html">
|
<a href="http://www.doxygen.org/index.html">
|
||||||
<img class="footer" src="doxygen.png" alt="doxygen"/></a> 1.7.4 </small></address>
|
<img class="footer" src="doxygen.png" alt="doxygen"/></a> 1.7.4 </small></address>
|
||||||
</body>
|
</body>
|
||||||
|
@ -87,7 +87,7 @@ This is the complete list of members for <a class="el" href="classI2CMaster.html
|
|||||||
</iframe>
|
</iframe>
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
<hr class="footer"/><address class="footer"><small>Generated on Fri Jun 1 2012 14:29:17 for ArduinoLibs by 
|
<hr class="footer"/><address class="footer"><small>Generated on Sun Jun 10 2012 10:51:57 for ArduinoLibs by 
|
||||||
<a href="http://www.doxygen.org/index.html">
|
<a href="http://www.doxygen.org/index.html">
|
||||||
<img class="footer" src="doxygen.png" alt="doxygen"/></a> 1.7.4 </small></address>
|
<img class="footer" src="doxygen.png" alt="doxygen"/></a> 1.7.4 </small></address>
|
||||||
</body>
|
</body>
|
||||||
|
@ -269,7 +269,7 @@ virtual unsigned int </td><td class="memItemRight" valign="bottom"><a class
|
|||||||
</iframe>
|
</iframe>
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
<hr class="footer"/><address class="footer"><small>Generated on Fri Jun 1 2012 14:29:17 for ArduinoLibs by 
|
<hr class="footer"/><address class="footer"><small>Generated on Sun Jun 10 2012 10:51:57 for ArduinoLibs by 
|
||||||
<a href="http://www.doxygen.org/index.html">
|
<a href="http://www.doxygen.org/index.html">
|
||||||
<img class="footer" src="doxygen.png" alt="doxygen"/></a> 1.7.4 </small></address>
|
<img class="footer" src="doxygen.png" alt="doxygen"/></a> 1.7.4 </small></address>
|
||||||
</body>
|
</body>
|
||||||
|
94
classIRreceiver-members.html
Normal file
94
classIRreceiver-members.html
Normal file
@ -0,0 +1,94 @@
|
|||||||
|
<!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"/>
|
||||||
|
<title>ArduinoLibs: Member List</title>
|
||||||
|
<link href="tabs.css" rel="stylesheet" type="text/css"/>
|
||||||
|
<link href="search/search.css" rel="stylesheet" type="text/css"/>
|
||||||
|
<script type="text/javascript" src="search/search.js"></script>
|
||||||
|
<link href="doxygen.css" rel="stylesheet" type="text/css"/>
|
||||||
|
</head>
|
||||||
|
<body onload='searchBox.OnSelectItem(0);'>
|
||||||
|
<!-- Generated by Doxygen 1.7.4 -->
|
||||||
|
<script type="text/javascript"><!--
|
||||||
|
var searchBox = new SearchBox("searchBox", "search",false,'Search');
|
||||||
|
--></script>
|
||||||
|
<div id="top">
|
||||||
|
<div id="titlearea">
|
||||||
|
<table cellspacing="0" cellpadding="0">
|
||||||
|
<tbody>
|
||||||
|
<tr style="height: 56px;">
|
||||||
|
<td style="padding-left: 0.5em;">
|
||||||
|
<div id="projectname">ArduinoLibs</div>
|
||||||
|
</td>
|
||||||
|
</tr>
|
||||||
|
</tbody>
|
||||||
|
</table>
|
||||||
|
</div>
|
||||||
|
<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 class="current"><a href="annotated.html"><span>Classes</span></a></li>
|
||||||
|
<li><a href="files.html"><span>Files</span></a></li>
|
||||||
|
<li id="searchli">
|
||||||
|
<div id="MSearchBox" class="MSearchBoxInactive">
|
||||||
|
<span class="left">
|
||||||
|
<img id="MSearchSelect" src="search/mag_sel.png"
|
||||||
|
onmouseover="return searchBox.OnSearchSelectShow()"
|
||||||
|
onmouseout="return searchBox.OnSearchSelectHide()"
|
||||||
|
alt=""/>
|
||||||
|
<input type="text" id="MSearchField" value="Search" accesskey="S"
|
||||||
|
onfocus="searchBox.OnSearchFieldFocus(true)"
|
||||||
|
onblur="searchBox.OnSearchFieldFocus(false)"
|
||||||
|
onkeyup="searchBox.OnSearchFieldChange(event)"/>
|
||||||
|
</span><span class="right">
|
||||||
|
<a id="MSearchClose" href="javascript:searchBox.CloseResultsWindow()"><img id="MSearchCloseImg" border="0" src="search/close.png" alt=""/></a>
|
||||||
|
</span>
|
||||||
|
</div>
|
||||||
|
</li>
|
||||||
|
</ul>
|
||||||
|
</div>
|
||||||
|
<div id="navrow2" class="tabs2">
|
||||||
|
<ul class="tablist">
|
||||||
|
<li><a href="annotated.html"><span>Class List</span></a></li>
|
||||||
|
<li><a href="classes.html"><span>Class Index</span></a></li>
|
||||||
|
<li><a href="hierarchy.html"><span>Class Hierarchy</span></a></li>
|
||||||
|
<li><a href="functions.html"><span>Class Members</span></a></li>
|
||||||
|
</ul>
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
<div class="header">
|
||||||
|
<div class="headertitle">
|
||||||
|
<div class="title">IRreceiver Member List</div> </div>
|
||||||
|
</div>
|
||||||
|
<div class="contents">
|
||||||
|
This is the complete list of members for <a class="el" href="classIRreceiver.html">IRreceiver</a>, including all inherited members.<table>
|
||||||
|
<tr bgcolor="#f0f0f0"><td><b>_IR_receive_interrupt</b> (defined in <a class="el" href="classIRreceiver.html">IRreceiver</a>)</td><td><a class="el" href="classIRreceiver.html">IRreceiver</a></td><td><code> [friend]</code></td></tr>
|
||||||
|
<tr class="memlist"><td><a class="el" href="classIRreceiver.html#a9c37631cc1291dc47cabcfef2f631cf9">AUTO_REPEAT</a></td><td><a class="el" href="classIRreceiver.html">IRreceiver</a></td><td><code> [static]</code></td></tr>
|
||||||
|
<tr class="memlist"><td><a class="el" href="classIRreceiver.html#a4b021592a2b089dc2f1e138a38506fda">command</a>()</td><td><a class="el" href="classIRreceiver.html">IRreceiver</a></td><td></td></tr>
|
||||||
|
<tr class="memlist"><td><a class="el" href="classIRreceiver.html#a06eccb8b8311eac395e4b20c4e0163e3">IRreceiver</a>(int interruptNumber=0)</td><td><a class="el" href="classIRreceiver.html">IRreceiver</a></td><td><code> [explicit]</code></td></tr>
|
||||||
|
<tr class="memlist"><td><a class="el" href="classIRreceiver.html#a920828f1411fa12d1856cd933066bd08">setSystemFilter</a>(int system)</td><td><a class="el" href="classIRreceiver.html">IRreceiver</a></td><td><code> [inline]</code></td></tr>
|
||||||
|
<tr class="memlist"><td><a class="el" href="classIRreceiver.html#a19e9334ae97812fa85078507d105478f">system</a>() const </td><td><a class="el" href="classIRreceiver.html">IRreceiver</a></td><td><code> [inline]</code></td></tr>
|
||||||
|
<tr class="memlist"><td><a class="el" href="classIRreceiver.html#a2c6adc404f71f263ba535ec1ed9cff1a">systemFilter</a>() const </td><td><a class="el" href="classIRreceiver.html">IRreceiver</a></td><td><code> [inline]</code></td></tr>
|
||||||
|
</table></div>
|
||||||
|
<!-- window showing the filter options -->
|
||||||
|
<div id="MSearchSelectWindow"
|
||||||
|
onmouseover="return searchBox.OnSearchSelectShow()"
|
||||||
|
onmouseout="return searchBox.OnSearchSelectHide()"
|
||||||
|
onkeydown="return searchBox.OnSearchSelectKey(event)">
|
||||||
|
<a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(0)"><span class="SelectionMark"> </span>All</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(1)"><span class="SelectionMark"> </span>Classes</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(2)"><span class="SelectionMark"> </span>Files</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(3)"><span class="SelectionMark"> </span>Functions</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(4)"><span class="SelectionMark"> </span>Variables</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(5)"><span class="SelectionMark"> </span>Typedefs</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(6)"><span class="SelectionMark"> </span>Enumerations</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(7)"><span class="SelectionMark"> </span>Enumerator</a></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>
|
||||||
|
|
||||||
|
<hr class="footer"/><address class="footer"><small>Generated on Sun Jun 10 2012 10:51:57 for ArduinoLibs by 
|
||||||
|
<a href="http://www.doxygen.org/index.html">
|
||||||
|
<img class="footer" src="doxygen.png" alt="doxygen"/></a> 1.7.4 </small></address>
|
||||||
|
</body>
|
||||||
|
</html>
|
296
classIRreceiver.html
Normal file
296
classIRreceiver.html
Normal file
@ -0,0 +1,296 @@
|
|||||||
|
<!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"/>
|
||||||
|
<title>ArduinoLibs: IRreceiver Class Reference</title>
|
||||||
|
<link href="tabs.css" rel="stylesheet" type="text/css"/>
|
||||||
|
<link href="search/search.css" rel="stylesheet" type="text/css"/>
|
||||||
|
<script type="text/javascript" src="search/search.js"></script>
|
||||||
|
<link href="doxygen.css" rel="stylesheet" type="text/css"/>
|
||||||
|
</head>
|
||||||
|
<body onload='searchBox.OnSelectItem(0);'>
|
||||||
|
<!-- Generated by Doxygen 1.7.4 -->
|
||||||
|
<script type="text/javascript"><!--
|
||||||
|
var searchBox = new SearchBox("searchBox", "search",false,'Search');
|
||||||
|
--></script>
|
||||||
|
<div id="top">
|
||||||
|
<div id="titlearea">
|
||||||
|
<table cellspacing="0" cellpadding="0">
|
||||||
|
<tbody>
|
||||||
|
<tr style="height: 56px;">
|
||||||
|
<td style="padding-left: 0.5em;">
|
||||||
|
<div id="projectname">ArduinoLibs</div>
|
||||||
|
</td>
|
||||||
|
</tr>
|
||||||
|
</tbody>
|
||||||
|
</table>
|
||||||
|
</div>
|
||||||
|
<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 class="current"><a href="annotated.html"><span>Classes</span></a></li>
|
||||||
|
<li><a href="files.html"><span>Files</span></a></li>
|
||||||
|
<li id="searchli">
|
||||||
|
<div id="MSearchBox" class="MSearchBoxInactive">
|
||||||
|
<span class="left">
|
||||||
|
<img id="MSearchSelect" src="search/mag_sel.png"
|
||||||
|
onmouseover="return searchBox.OnSearchSelectShow()"
|
||||||
|
onmouseout="return searchBox.OnSearchSelectHide()"
|
||||||
|
alt=""/>
|
||||||
|
<input type="text" id="MSearchField" value="Search" accesskey="S"
|
||||||
|
onfocus="searchBox.OnSearchFieldFocus(true)"
|
||||||
|
onblur="searchBox.OnSearchFieldFocus(false)"
|
||||||
|
onkeyup="searchBox.OnSearchFieldChange(event)"/>
|
||||||
|
</span><span class="right">
|
||||||
|
<a id="MSearchClose" href="javascript:searchBox.CloseResultsWindow()"><img id="MSearchCloseImg" border="0" src="search/close.png" alt=""/></a>
|
||||||
|
</span>
|
||||||
|
</div>
|
||||||
|
</li>
|
||||||
|
</ul>
|
||||||
|
</div>
|
||||||
|
<div id="navrow2" class="tabs2">
|
||||||
|
<ul class="tablist">
|
||||||
|
<li><a href="annotated.html"><span>Class List</span></a></li>
|
||||||
|
<li><a href="classes.html"><span>Class Index</span></a></li>
|
||||||
|
<li><a href="hierarchy.html"><span>Class Hierarchy</span></a></li>
|
||||||
|
<li><a href="functions.html"><span>Class Members</span></a></li>
|
||||||
|
</ul>
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
<div class="header">
|
||||||
|
<div class="summary">
|
||||||
|
<a href="#pub-methods">Public Member Functions</a> |
|
||||||
|
<a href="#pub-static-attribs">Static Public Attributes</a> |
|
||||||
|
<a href="#friends">Friends</a> </div>
|
||||||
|
<div class="headertitle">
|
||||||
|
<div class="title">IRreceiver Class Reference</div> </div>
|
||||||
|
</div>
|
||||||
|
<div class="contents">
|
||||||
|
<!-- doxytag: class="IRreceiver" -->
|
||||||
|
<p>Manages the reception of RC-5 commands from an infrared remote control.
|
||||||
|
<a href="classIRreceiver.html#details">More...</a></p>
|
||||||
|
|
||||||
|
<p><code>#include <<a class="el" href="IRreceiver_8h_source.html">IRreceiver.h</a>></code></p>
|
||||||
|
|
||||||
|
<p><a href="classIRreceiver-members.html">List of all members.</a></p>
|
||||||
|
<table class="memberdecls">
|
||||||
|
<tr><td colspan="2"><h2><a name="pub-methods"></a>
|
||||||
|
Public Member Functions</h2></td></tr>
|
||||||
|
<tr><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="a06eccb8b8311eac395e4b20c4e0163e3"></a><!-- doxytag: member="IRreceiver::IRreceiver" ref="a06eccb8b8311eac395e4b20c4e0163e3" args="(int interruptNumber=0)" -->
|
||||||
|
 </td><td class="memItemRight" valign="bottom"><a class="el" href="classIRreceiver.html#a06eccb8b8311eac395e4b20c4e0163e3">IRreceiver</a> (int interruptNumber=0)</td></tr>
|
||||||
|
<tr><td class="mdescLeft"> </td><td class="mdescRight">Constructs a new infrared remote control receiver that is attached to <em>interruptNumber</em>. <br/></td></tr>
|
||||||
|
<tr><td class="memItemLeft" align="right" valign="top">int </td><td class="memItemRight" valign="bottom"><a class="el" href="classIRreceiver.html#a4b021592a2b089dc2f1e138a38506fda">command</a> ()</td></tr>
|
||||||
|
<tr><td class="mdescLeft"> </td><td class="mdescRight">Returns the next command from the remote control. <a href="#a4b021592a2b089dc2f1e138a38506fda"></a><br/></td></tr>
|
||||||
|
<tr><td class="memItemLeft" align="right" valign="top">int </td><td class="memItemRight" valign="bottom"><a class="el" href="classIRreceiver.html#a19e9334ae97812fa85078507d105478f">system</a> () const </td></tr>
|
||||||
|
<tr><td class="mdescLeft"> </td><td class="mdescRight">Returns the system number of the previous <a class="el" href="classIRreceiver.html#a4b021592a2b089dc2f1e138a38506fda" title="Returns the next command from the remote control.">command()</a>, indicating whether the command was for a TV, VCR, CD player, etc. <a href="#a19e9334ae97812fa85078507d105478f"></a><br/></td></tr>
|
||||||
|
<tr><td class="memItemLeft" align="right" valign="top">int </td><td class="memItemRight" valign="bottom"><a class="el" href="classIRreceiver.html#a2c6adc404f71f263ba535ec1ed9cff1a">systemFilter</a> () const </td></tr>
|
||||||
|
<tr><td class="mdescLeft"> </td><td class="mdescRight">Returns the system to filter commands against, or -1 if no filter is set. <a href="#a2c6adc404f71f263ba535ec1ed9cff1a"></a><br/></td></tr>
|
||||||
|
<tr><td class="memItemLeft" align="right" valign="top">void </td><td class="memItemRight" valign="bottom"><a class="el" href="classIRreceiver.html#a920828f1411fa12d1856cd933066bd08">setSystemFilter</a> (int system)</td></tr>
|
||||||
|
<tr><td class="mdescLeft"> </td><td class="mdescRight">Sets the <em>system</em> to filter commands against, or -1 to turn off the system filter. <a href="#a920828f1411fa12d1856cd933066bd08"></a><br/></td></tr>
|
||||||
|
<tr><td colspan="2"><h2><a name="pub-static-attribs"></a>
|
||||||
|
Static Public Attributes</h2></td></tr>
|
||||||
|
<tr><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="a9c37631cc1291dc47cabcfef2f631cf9"></a><!-- doxytag: member="IRreceiver::AUTO_REPEAT" ref="a9c37631cc1291dc47cabcfef2f631cf9" args="" -->
|
||||||
|
static const int </td><td class="memItemRight" valign="bottom"><a class="el" href="classIRreceiver.html#a9c37631cc1291dc47cabcfef2f631cf9">AUTO_REPEAT</a> = 128</td></tr>
|
||||||
|
<tr><td class="mdescLeft"> </td><td class="mdescRight">Flag that is added to the output of <a class="el" href="classIRreceiver.html#a4b021592a2b089dc2f1e138a38506fda" title="Returns the next command from the remote control.">command()</a> when the command is an auto-repeated button press rather than the original button press. <br/></td></tr>
|
||||||
|
<tr><td colspan="2"><h2><a name="friends"></a>
|
||||||
|
Friends</h2></td></tr>
|
||||||
|
<tr><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="a00f78881401135b8c2a89ebf6fbc86dc"></a><!-- doxytag: member="IRreceiver::_IR_receive_interrupt" ref="a00f78881401135b8c2a89ebf6fbc86dc" args="(void)" -->
|
||||||
|
void </td><td class="memItemRight" valign="bottom"><b>_IR_receive_interrupt</b> (void)</td></tr>
|
||||||
|
</table>
|
||||||
|
<hr/><a name="details" id="details"></a><h2>Detailed Description</h2>
|
||||||
|
<div class="textblock"><p>Manages the reception of RC-5 commands from an infrared remote control. </p>
|
||||||
|
<p><a class="el" href="classIRreceiver.html" title="Manages the reception of RC-5 commands from an infrared remote control.">IRreceiver</a> recognizes commands in the <a href="http://en.wikipedia.org/wiki/RC-5">Philips RC-5 protocol</a>. This is a fairly common infrared protocol, supported by most universal remote controls. Program the universal remote to simulate a Philips TV, VCR, CD player, etc.</p>
|
||||||
|
<p>This class uses interrupts to process incoming bits from a standard 3-pin infrared receiver:</p>
|
||||||
|
<div class="image">
|
||||||
|
<img src="irchip.jpg" alt="irchip.jpg"/>
|
||||||
|
</div>
|
||||||
|
<p>Typically, pin 1 of the receiver should be connected to the Arduino interrupt pin (e.g. D2), pin 2 should be connected to GND, and pin 3 should be connected to 5V. Consult the datasheet for your receiver to be sure though; some receivers may have different pin assignments.</p>
|
||||||
|
<p>The receiver is initialized by constructing an instance of the <a class="el" href="classIRreceiver.html" title="Manages the reception of RC-5 commands from an infrared remote control.">IRreceiver</a> class:</p>
|
||||||
|
<div class="fragment"><pre class="fragment"> <a class="code" href="classIRreceiver.html" title="Manages the reception of RC-5 commands from an infrared remote control.">IRreceiver</a> ir;
|
||||||
|
</pre></div><p>By default, interrupt 0 on pin D2 is used. To change to another interrupt, pass its number to the constructor:</p>
|
||||||
|
<div class="fragment"><pre class="fragment"> <a class="code" href="classIRreceiver.html" title="Manages the reception of RC-5 commands from an infrared remote control.">IRreceiver</a> ir(1); <span class="comment">// Interrupt 1 on pin D3</span>
|
||||||
|
</pre></div><p>Currently this class can only handle a single instance of <a class="el" href="classIRreceiver.html" title="Manages the reception of RC-5 commands from an infrared remote control.">IRreceiver</a> being active in the application. It isn't possible to have separate <a class="el" href="classIRreceiver.html" title="Manages the reception of RC-5 commands from an infrared remote control.">IRreceiver</a> instances on different pins. Usually this won't be a problem because the same receiver can process inputs from multiple remotes.</p>
|
||||||
|
<p>The application retrieves incoming infrared commands by calling the <a class="el" href="classIRreceiver.html#a4b021592a2b089dc2f1e138a38506fda" title="Returns the next command from the remote control.">command()</a> function. The return value indicates the type of command:</p>
|
||||||
|
<div class="fragment"><pre class="fragment"> <span class="keywordtype">void</span> loop() {
|
||||||
|
<span class="keywordflow">switch</span> (ir.<a class="code" href="classIRreceiver.html#a4b021592a2b089dc2f1e138a38506fda" title="Returns the next command from the remote control.">command</a>()) {
|
||||||
|
<span class="keywordflow">case</span> RC5_0: <span class="keywordflow">case</span> RC5_1: <span class="keywordflow">case</span> RC5_2: <span class="keywordflow">case</span> RC5_3: <span class="keywordflow">case</span> RC5_4:
|
||||||
|
<span class="keywordflow">case</span> RC5_5: <span class="keywordflow">case</span> RC5_6: <span class="keywordflow">case</span> RC5_7: <span class="keywordflow">case</span> RC5_8: <span class="keywordflow">case</span> RC5_9:
|
||||||
|
<span class="comment">// Process a digit</span>
|
||||||
|
...
|
||||||
|
<span class="keywordflow">break</span>;
|
||||||
|
|
||||||
|
<span class="keywordflow">case</span> RC5_ERASE:
|
||||||
|
<span class="comment">// Backspace/erase last digit.</span>
|
||||||
|
...
|
||||||
|
<span class="keywordflow">break</span>;
|
||||||
|
|
||||||
|
<span class="keywordflow">case</span> RC5_STANDBY:
|
||||||
|
<span class="comment">// Power on/off button.</span>
|
||||||
|
...
|
||||||
|
<span class="keywordflow">break</span>;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
</pre></div><p>If the command is an auto-repeat of a previous button press, then the <a class="el" href="classIRreceiver.html#a9c37631cc1291dc47cabcfef2f631cf9">AUTO_REPEAT</a> flag will be set in the value returned from <a class="el" href="classIRreceiver.html#a4b021592a2b089dc2f1e138a38506fda" title="Returns the next command from the remote control.">command()</a>. The application can choose to ignore all auto-repeats, process all auto-repeats, or choose which button to auto-repeat based on its code:</p>
|
||||||
|
<div class="fragment"><pre class="fragment"> <span class="keywordtype">void</span> loop() {
|
||||||
|
<span class="keywordflow">switch</span> (ir.<a class="code" href="classIRreceiver.html#a4b021592a2b089dc2f1e138a38506fda" title="Returns the next command from the remote control.">command</a>()) {
|
||||||
|
<span class="keywordflow">case</span> RC5_INC_VOLUME:
|
||||||
|
<span class="keywordflow">case</span> IRreceiver::AUTO_REPEAT | RC5_INC_VOLUME:
|
||||||
|
<span class="comment">// Volume increase button pressed or held.</span>
|
||||||
|
...
|
||||||
|
<span class="keywordflow">break</span>;
|
||||||
|
|
||||||
|
<span class="keywordflow">case</span> RC5_DEC_VOLUME:
|
||||||
|
<span class="keywordflow">case</span> IRreceiver::AUTO_REPEAT | RC5_DEC_VOLUME:
|
||||||
|
<span class="comment">// Volume decrease button pressed or held.</span>
|
||||||
|
...
|
||||||
|
<span class="keywordflow">break</span>;
|
||||||
|
|
||||||
|
<span class="keywordflow">case</span> RC5_MUTE:
|
||||||
|
<span class="comment">// Mute button (ignore auto-repeat).</span>
|
||||||
|
...
|
||||||
|
<span class="keywordflow">break</span>;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
</pre></div><p>By default, command codes will be generated for every type of RC-5 remote control, be it a TV, VCR, CD player, or something else. The application can distinguish between the remote controls using <a class="el" href="classIRreceiver.html#a19e9334ae97812fa85078507d105478f" title="Returns the system number of the previous command(), indicating whether the command was for a TV...">system()</a>; noting that <a class="el" href="classIRreceiver.html#a4b021592a2b089dc2f1e138a38506fda" title="Returns the next command from the remote control.">command()</a> must be called before <a class="el" href="classIRreceiver.html#a19e9334ae97812fa85078507d105478f" title="Returns the system number of the previous command(), indicating whether the command was for a TV...">system()</a> for the system value to be valid. For example, the following code could be used in a two-player video game where the first player's remote is configured as a TV and the second player's remote is configured as a VCR:</p>
|
||||||
|
<div class="fragment"><pre class="fragment"> <span class="keywordtype">void</span> loop() {
|
||||||
|
<span class="keywordtype">int</span> cmd = ir.<a class="code" href="classIRreceiver.html#a4b021592a2b089dc2f1e138a38506fda" title="Returns the next command from the remote control.">command</a>();
|
||||||
|
<span class="keywordtype">int</span> sys = ir.<a class="code" href="classIRreceiver.html#a19e9334ae97812fa85078507d105478f" title="Returns the system number of the previous command(), indicating whether the command was for a TV...">system</a>();
|
||||||
|
<span class="keywordflow">if</span> (sys == RC5_SYS_TV)
|
||||||
|
player1(cmd);
|
||||||
|
<span class="keywordflow">else</span> <span class="keywordflow">if</span> (sys == RC5_SYS_VCR)
|
||||||
|
player2(cmd);
|
||||||
|
|
||||||
|
...
|
||||||
|
}
|
||||||
|
</pre></div><p>If the application only cares about a single system and wishes to ignore all other systems, it can configure a system filter at startup:</p>
|
||||||
|
<div class="fragment"><pre class="fragment"> <a class="code" href="classIRreceiver.html" title="Manages the reception of RC-5 commands from an infrared remote control.">IRreceiver</a> ir;
|
||||||
|
|
||||||
|
<span class="keywordtype">void</span> setup() {
|
||||||
|
ir.<a class="code" href="classIRreceiver.html#a920828f1411fa12d1856cd933066bd08" title="Sets the system to filter commands against, or -1 to turn off the system filter.">setSystemFilter</a>(RC5_SYS_VCR);
|
||||||
|
}
|
||||||
|
</pre></div><p>The complete list of RC-5 system numbers and command codes is given in the <a class="el" href="RC5_8h_source.html">RC5.h</a> header file.</p>
|
||||||
|
<dl class="see"><dt><b>See also:</b></dt><dd><a class="el" href="ir_dumpir.html">DumpIR Example</a> </dd></dl>
|
||||||
|
|
||||||
|
<p>Definition at line <a class="el" href="IRreceiver_8h_source.html#l00029">29</a> of file <a class="el" href="IRreceiver_8h_source.html">IRreceiver.h</a>.</p>
|
||||||
|
</div><hr/><h2>Member Function Documentation</h2>
|
||||||
|
<a class="anchor" id="a4b021592a2b089dc2f1e138a38506fda"></a><!-- doxytag: member="IRreceiver::command" ref="a4b021592a2b089dc2f1e138a38506fda" args="()" -->
|
||||||
|
<div class="memitem">
|
||||||
|
<div class="memproto">
|
||||||
|
<table class="memname">
|
||||||
|
<tr>
|
||||||
|
<td class="memname">int IRreceiver::command </td>
|
||||||
|
<td>(</td>
|
||||||
|
<td class="paramname"></td><td>)</td>
|
||||||
|
<td></td>
|
||||||
|
</tr>
|
||||||
|
</table>
|
||||||
|
</div>
|
||||||
|
<div class="memdoc">
|
||||||
|
|
||||||
|
<p>Returns the next command from the remote control. </p>
|
||||||
|
<p>Returns -1 if there is no new command, or the number between 0 and 127 corresponding to the command. If the command is an auto-repeat button press rather than an original button press, then the <a class="el" href="classIRreceiver.html#a9c37631cc1291dc47cabcfef2f631cf9">AUTO_REPEAT</a> flag will be set.</p>
|
||||||
|
<p>The companion function <a class="el" href="classIRreceiver.html#a19e9334ae97812fa85078507d105478f" title="Returns the system number of the previous command(), indicating whether the command was for a TV...">system()</a> will return the system number for the command indicating whether the command is for a TV, VCR, CD player, etc. By default, all systems are reported; use <a class="el" href="classIRreceiver.html#a920828f1411fa12d1856cd933066bd08" title="Sets the system to filter commands against, or -1 to turn off the system filter.">setSystemFilter()</a> to filter out commands from all but a specific system.</p>
|
||||||
|
<p>The next call to <a class="el" href="classIRreceiver.html#a4b021592a2b089dc2f1e138a38506fda" title="Returns the next command from the remote control.">command()</a> will return -1 or the code for the next button press.</p>
|
||||||
|
<p>The header file <code><a class="el" href="RC5_8h_source.html">RC5.h</a></code> contains a list of command codes for common remote controls.</p>
|
||||||
|
<dl class="see"><dt><b>See also:</b></dt><dd><a class="el" href="classIRreceiver.html#a19e9334ae97812fa85078507d105478f" title="Returns the system number of the previous command(), indicating whether the command was for a TV...">system()</a>, <a class="el" href="classIRreceiver.html#a920828f1411fa12d1856cd933066bd08" title="Sets the system to filter commands against, or -1 to turn off the system filter.">setSystemFilter()</a> </dd></dl>
|
||||||
|
|
||||||
|
<p>Definition at line <a class="el" href="IRreceiver_8cpp_source.html#l00220">220</a> of file <a class="el" href="IRreceiver_8cpp_source.html">IRreceiver.cpp</a>.</p>
|
||||||
|
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
<a class="anchor" id="a920828f1411fa12d1856cd933066bd08"></a><!-- doxytag: member="IRreceiver::setSystemFilter" ref="a920828f1411fa12d1856cd933066bd08" args="(int system)" -->
|
||||||
|
<div class="memitem">
|
||||||
|
<div class="memproto">
|
||||||
|
<table class="memname">
|
||||||
|
<tr>
|
||||||
|
<td class="memname">void IRreceiver::setSystemFilter </td>
|
||||||
|
<td>(</td>
|
||||||
|
<td class="paramtype">int </td>
|
||||||
|
<td class="paramname"><em>system</em></td><td>)</td>
|
||||||
|
<td><code> [inline]</code></td>
|
||||||
|
</tr>
|
||||||
|
</table>
|
||||||
|
</div>
|
||||||
|
<div class="memdoc">
|
||||||
|
|
||||||
|
<p>Sets the <em>system</em> to filter commands against, or -1 to turn off the system filter. </p>
|
||||||
|
<p>If <em>system</em> is -1, then all received systems are returned via <a class="el" href="classIRreceiver.html#a4b021592a2b089dc2f1e138a38506fda" title="Returns the next command from the remote control.">command()</a> and <a class="el" href="classIRreceiver.html#a19e9334ae97812fa85078507d105478f" title="Returns the system number of the previous command(), indicating whether the command was for a TV...">system()</a> irrespective of whether they are for a TV, VCR, CD player, or some other type of system. If <em>system</em> is set to anything other than -1, then only commands for that system are returned via <a class="el" href="classIRreceiver.html#a4b021592a2b089dc2f1e138a38506fda" title="Returns the next command from the remote control.">command()</a>. For example:</p>
|
||||||
|
<div class="fragment"><pre class="fragment"> <a class="code" href="classIRreceiver.html" title="Manages the reception of RC-5 commands from an infrared remote control.">IRreceiver</a> ir;
|
||||||
|
ir.<a class="code" href="classIRreceiver.html#a920828f1411fa12d1856cd933066bd08" title="Sets the system to filter commands against, or -1 to turn off the system filter.">setSystemFilter</a>(RC5_SYS_VCR);
|
||||||
|
</pre></div><dl class="see"><dt><b>See also:</b></dt><dd><a class="el" href="classIRreceiver.html#a2c6adc404f71f263ba535ec1ed9cff1a" title="Returns the system to filter commands against, or -1 if no filter is set.">systemFilter()</a>, <a class="el" href="classIRreceiver.html#a19e9334ae97812fa85078507d105478f" title="Returns the system number of the previous command(), indicating whether the command was for a TV...">system()</a>, <a class="el" href="classIRreceiver.html#a4b021592a2b089dc2f1e138a38506fda" title="Returns the next command from the remote control.">command()</a> </dd></dl>
|
||||||
|
|
||||||
|
<p>Definition at line <a class="el" href="IRreceiver_8h_source.html#l00040">40</a> of file <a class="el" href="IRreceiver_8h_source.html">IRreceiver.h</a>.</p>
|
||||||
|
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
<a class="anchor" id="a19e9334ae97812fa85078507d105478f"></a><!-- doxytag: member="IRreceiver::system" ref="a19e9334ae97812fa85078507d105478f" args="() const " -->
|
||||||
|
<div class="memitem">
|
||||||
|
<div class="memproto">
|
||||||
|
<table class="memname">
|
||||||
|
<tr>
|
||||||
|
<td class="memname">int IRreceiver::system </td>
|
||||||
|
<td>(</td>
|
||||||
|
<td class="paramname"></td><td>)</td>
|
||||||
|
<td> const<code> [inline]</code></td>
|
||||||
|
</tr>
|
||||||
|
</table>
|
||||||
|
</div>
|
||||||
|
<div class="memdoc">
|
||||||
|
|
||||||
|
<p>Returns the system number of the previous <a class="el" href="classIRreceiver.html#a4b021592a2b089dc2f1e138a38506fda" title="Returns the next command from the remote control.">command()</a>, indicating whether the command was for a TV, VCR, CD player, etc. </p>
|
||||||
|
<p>The return value from this function is valid only after a call to <a class="el" href="classIRreceiver.html#a4b021592a2b089dc2f1e138a38506fda" title="Returns the next command from the remote control.">command()</a>. The next call to <a class="el" href="classIRreceiver.html#a4b021592a2b089dc2f1e138a38506fda" title="Returns the next command from the remote control.">command()</a> will clear the system value, possibly to -1 if there is no new command.</p>
|
||||||
|
<p>The header file <code><a class="el" href="RC5_8h_source.html">RC5.h</a></code> contains a list of system numbers for common remote controls.</p>
|
||||||
|
<dl class="see"><dt><b>See also:</b></dt><dd><a class="el" href="classIRreceiver.html#a4b021592a2b089dc2f1e138a38506fda" title="Returns the next command from the remote control.">command()</a>, <a class="el" href="classIRreceiver.html#a920828f1411fa12d1856cd933066bd08" title="Sets the system to filter commands against, or -1 to turn off the system filter.">setSystemFilter()</a> </dd></dl>
|
||||||
|
|
||||||
|
<p>Definition at line <a class="el" href="IRreceiver_8h_source.html#l00037">37</a> of file <a class="el" href="IRreceiver_8h_source.html">IRreceiver.h</a>.</p>
|
||||||
|
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
<a class="anchor" id="a2c6adc404f71f263ba535ec1ed9cff1a"></a><!-- doxytag: member="IRreceiver::systemFilter" ref="a2c6adc404f71f263ba535ec1ed9cff1a" args="() const " -->
|
||||||
|
<div class="memitem">
|
||||||
|
<div class="memproto">
|
||||||
|
<table class="memname">
|
||||||
|
<tr>
|
||||||
|
<td class="memname">int IRreceiver::systemFilter </td>
|
||||||
|
<td>(</td>
|
||||||
|
<td class="paramname"></td><td>)</td>
|
||||||
|
<td> const<code> [inline]</code></td>
|
||||||
|
</tr>
|
||||||
|
</table>
|
||||||
|
</div>
|
||||||
|
<div class="memdoc">
|
||||||
|
|
||||||
|
<p>Returns the system to filter commands against, or -1 if no filter is set. </p>
|
||||||
|
<p>If this value is -1, then all received systems are returned via <a class="el" href="classIRreceiver.html#a4b021592a2b089dc2f1e138a38506fda" title="Returns the next command from the remote control.">command()</a> and <a class="el" href="classIRreceiver.html#a19e9334ae97812fa85078507d105478f" title="Returns the system number of the previous command(), indicating whether the command was for a TV...">system()</a> irrespective of whether they are for a TV, VCR, CD player, or some other type of system. If this value is set to anything other than -1, then only commands for that system are returned via <a class="el" href="classIRreceiver.html#a4b021592a2b089dc2f1e138a38506fda" title="Returns the next command from the remote control.">command()</a>.</p>
|
||||||
|
<dl class="see"><dt><b>See also:</b></dt><dd><a class="el" href="classIRreceiver.html#a920828f1411fa12d1856cd933066bd08" title="Sets the system to filter commands against, or -1 to turn off the system filter.">setSystemFilter()</a>, <a class="el" href="classIRreceiver.html#a19e9334ae97812fa85078507d105478f" title="Returns the system number of the previous command(), indicating whether the command was for a TV...">system()</a>, <a class="el" href="classIRreceiver.html#a4b021592a2b089dc2f1e138a38506fda" title="Returns the next command from the remote control.">command()</a> </dd></dl>
|
||||||
|
|
||||||
|
<p>Definition at line <a class="el" href="IRreceiver_8h_source.html#l00039">39</a> of file <a class="el" href="IRreceiver_8h_source.html">IRreceiver.h</a>.</p>
|
||||||
|
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
<hr/>The documentation for this class was generated from the following files:<ul>
|
||||||
|
<li><a class="el" href="IRreceiver_8h_source.html">IRreceiver.h</a></li>
|
||||||
|
<li><a class="el" href="IRreceiver_8cpp_source.html">IRreceiver.cpp</a></li>
|
||||||
|
</ul>
|
||||||
|
</div>
|
||||||
|
<!-- window showing the filter options -->
|
||||||
|
<div id="MSearchSelectWindow"
|
||||||
|
onmouseover="return searchBox.OnSearchSelectShow()"
|
||||||
|
onmouseout="return searchBox.OnSearchSelectHide()"
|
||||||
|
onkeydown="return searchBox.OnSearchSelectKey(event)">
|
||||||
|
<a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(0)"><span class="SelectionMark"> </span>All</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(1)"><span class="SelectionMark"> </span>Classes</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(2)"><span class="SelectionMark"> </span>Files</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(3)"><span class="SelectionMark"> </span>Functions</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(4)"><span class="SelectionMark"> </span>Variables</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(5)"><span class="SelectionMark"> </span>Typedefs</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(6)"><span class="SelectionMark"> </span>Enumerations</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(7)"><span class="SelectionMark"> </span>Enumerator</a></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>
|
||||||
|
|
||||||
|
<hr class="footer"/><address class="footer"><small>Generated on Sun Jun 10 2012 10:51:57 for ArduinoLibs by 
|
||||||
|
<a href="http://www.doxygen.org/index.html">
|
||||||
|
<img class="footer" src="doxygen.png" alt="doxygen"/></a> 1.7.4 </small></address>
|
||||||
|
</body>
|
||||||
|
</html>
|
@ -105,7 +105,7 @@ This is the complete list of members for <a class="el" href="classIntField.html"
|
|||||||
</iframe>
|
</iframe>
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
<hr class="footer"/><address class="footer"><small>Generated on Fri Jun 1 2012 14:29:17 for ArduinoLibs by 
|
<hr class="footer"/><address class="footer"><small>Generated on Sun Jun 10 2012 10:51:57 for ArduinoLibs by 
|
||||||
<a href="http://www.doxygen.org/index.html">
|
<a href="http://www.doxygen.org/index.html">
|
||||||
<img class="footer" src="doxygen.png" alt="doxygen"/></a> 1.7.4 </small></address>
|
<img class="footer" src="doxygen.png" alt="doxygen"/></a> 1.7.4 </small></address>
|
||||||
</body>
|
</body>
|
||||||
|
@ -510,7 +510,7 @@ Public Member Functions</h2></td></tr>
|
|||||||
</iframe>
|
</iframe>
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
<hr class="footer"/><address class="footer"><small>Generated on Fri Jun 1 2012 14:29:17 for ArduinoLibs by 
|
<hr class="footer"/><address class="footer"><small>Generated on Sun Jun 10 2012 10:51:57 for ArduinoLibs by 
|
||||||
<a href="http://www.doxygen.org/index.html">
|
<a href="http://www.doxygen.org/index.html">
|
||||||
<img class="footer" src="doxygen.png" alt="doxygen"/></a> 1.7.4 </small></address>
|
<img class="footer" src="doxygen.png" alt="doxygen"/></a> 1.7.4 </small></address>
|
||||||
</body>
|
</body>
|
||||||
|
@ -67,6 +67,7 @@ var searchBox = new SearchBox("searchBox", "search",false,'Search');
|
|||||||
This is the complete list of members for <a class="el" href="classLCD.html">LCD</a>, including all inherited members.<table>
|
This is the complete list of members for <a class="el" href="classLCD.html">LCD</a>, including all inherited members.<table>
|
||||||
<tr class="memlist"><td><a class="el" href="classLCD.html#a264bf94308c95d8598426e13dc8cdb28a9931c078cfd1023c69f1da431f9a656c">BacklightOff</a> enum value</td><td><a class="el" href="classLCD.html">LCD</a></td><td></td></tr>
|
<tr class="memlist"><td><a class="el" href="classLCD.html#a264bf94308c95d8598426e13dc8cdb28a9931c078cfd1023c69f1da431f9a656c">BacklightOff</a> enum value</td><td><a class="el" href="classLCD.html">LCD</a></td><td></td></tr>
|
||||||
<tr class="memlist"><td><a class="el" href="classLCD.html#a264bf94308c95d8598426e13dc8cdb28a781f3c5e42506bf4f86ba06d69b23d35">BacklightOnSelect</a> enum value</td><td><a class="el" href="classLCD.html">LCD</a></td><td></td></tr>
|
<tr class="memlist"><td><a class="el" href="classLCD.html#a264bf94308c95d8598426e13dc8cdb28a781f3c5e42506bf4f86ba06d69b23d35">BacklightOnSelect</a> enum value</td><td><a class="el" href="classLCD.html">LCD</a></td><td></td></tr>
|
||||||
|
<tr class="memlist"><td><a class="el" href="classLCD.html#a171f59ba80e7775ebd3a399f56482a9c">backlightPin</a>() const </td><td><a class="el" href="classLCD.html">LCD</a></td><td><code> [inline]</code></td></tr>
|
||||||
<tr class="memlist"><td><a class="el" href="classLCD.html#a85c3a4694b105731404df36e35e5b26e">disableScreenSaver</a>()</td><td><a class="el" href="classLCD.html">LCD</a></td><td></td></tr>
|
<tr class="memlist"><td><a class="el" href="classLCD.html#a85c3a4694b105731404df36e35e5b26e">disableScreenSaver</a>()</td><td><a class="el" href="classLCD.html">LCD</a></td><td></td></tr>
|
||||||
<tr class="memlist"><td><a class="el" href="classLCD.html#a5b07cf05e8e5e7c53654f5ca0cf58b89">display</a>()</td><td><a class="el" href="classLCD.html">LCD</a></td><td></td></tr>
|
<tr class="memlist"><td><a class="el" href="classLCD.html#a5b07cf05e8e5e7c53654f5ca0cf58b89">display</a>()</td><td><a class="el" href="classLCD.html">LCD</a></td><td></td></tr>
|
||||||
<tr class="memlist"><td><a class="el" href="classLCD.html#a264bf94308c95d8598426e13dc8cdb28a3f1e62d5fcd314d6ff067d3e74c4bf5f">DisplayOff</a> enum value</td><td><a class="el" href="classLCD.html">LCD</a></td><td></td></tr>
|
<tr class="memlist"><td><a class="el" href="classLCD.html#a264bf94308c95d8598426e13dc8cdb28a3f1e62d5fcd314d6ff067d3e74c4bf5f">DisplayOff</a> enum value</td><td><a class="el" href="classLCD.html">LCD</a></td><td></td></tr>
|
||||||
@ -76,8 +77,9 @@ This is the complete list of members for <a class="el" href="classLCD.html">LCD<
|
|||||||
<tr class="memlist"><td><a class="el" href="classLCD.html#a00bb2db1390721abc7b24ac4b8c276c8">LCD</a>()</td><td><a class="el" href="classLCD.html">LCD</a></td><td><code> [inline]</code></td></tr>
|
<tr class="memlist"><td><a class="el" href="classLCD.html#a00bb2db1390721abc7b24ac4b8c276c8">LCD</a>()</td><td><a class="el" href="classLCD.html">LCD</a></td><td><code> [inline]</code></td></tr>
|
||||||
<tr class="memlist"><td><a class="el" href="classLCD.html#a067bc741cf27f143aba5d9f147908401">LCD</a>(uint8_t pin9)</td><td><a class="el" href="classLCD.html">LCD</a></td><td><code> [inline]</code></td></tr>
|
<tr class="memlist"><td><a class="el" href="classLCD.html#a067bc741cf27f143aba5d9f147908401">LCD</a>(uint8_t pin9)</td><td><a class="el" href="classLCD.html">LCD</a></td><td><code> [inline]</code></td></tr>
|
||||||
<tr class="memlist"><td><a class="el" href="classLCD.html#af3974da6d988ba2d21c25135ada12108">noDisplay</a>()</td><td><a class="el" href="classLCD.html">LCD</a></td><td></td></tr>
|
<tr class="memlist"><td><a class="el" href="classLCD.html#af3974da6d988ba2d21c25135ada12108">noDisplay</a>()</td><td><a class="el" href="classLCD.html">LCD</a></td><td></td></tr>
|
||||||
<tr class="memlist"><td><a class="el" href="classLCD.html#a1917fa285f81f476b4c7cc20d15456b8">screenSaverMode</a>() const </td><td><a class="el" href="classLCD.html">LCD</a></td><td><code> [inline]</code></td></tr>
|
|
||||||
<tr class="memlist"><td><a class="el" href="classLCD.html#a264bf94308c95d8598426e13dc8cdb28">ScreenSaverMode</a> enum name</td><td><a class="el" href="classLCD.html">LCD</a></td><td></td></tr>
|
<tr class="memlist"><td><a class="el" href="classLCD.html#a264bf94308c95d8598426e13dc8cdb28">ScreenSaverMode</a> enum name</td><td><a class="el" href="classLCD.html">LCD</a></td><td></td></tr>
|
||||||
|
<tr class="memlist"><td><a class="el" href="classLCD.html#a1917fa285f81f476b4c7cc20d15456b8">screenSaverMode</a>() const </td><td><a class="el" href="classLCD.html">LCD</a></td><td><code> [inline]</code></td></tr>
|
||||||
|
<tr class="memlist"><td><a class="el" href="classLCD.html#a0b9b3b954290e7a3d94cdc829582b0a8">setBacklightPin</a>(uint8_t pin)</td><td><a class="el" href="classLCD.html">LCD</a></td><td></td></tr>
|
||||||
<tr class="memlist"><td><a class="el" href="classLCD.html#a56d1f68532c779c65fbbd071fb444801">setScreenSaverMode</a>(ScreenSaverMode mode)</td><td><a class="el" href="classLCD.html">LCD</a></td><td></td></tr>
|
<tr class="memlist"><td><a class="el" href="classLCD.html#a56d1f68532c779c65fbbd071fb444801">setScreenSaverMode</a>(ScreenSaverMode mode)</td><td><a class="el" href="classLCD.html">LCD</a></td><td></td></tr>
|
||||||
</table></div>
|
</table></div>
|
||||||
<!-- window showing the filter options -->
|
<!-- window showing the filter options -->
|
||||||
@ -94,7 +96,7 @@ This is the complete list of members for <a class="el" href="classLCD.html">LCD<
|
|||||||
</iframe>
|
</iframe>
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
<hr class="footer"/><address class="footer"><small>Generated on Fri Jun 1 2012 14:29:17 for ArduinoLibs by 
|
<hr class="footer"/><address class="footer"><small>Generated on Sun Jun 10 2012 10:51:57 for ArduinoLibs by 
|
||||||
<a href="http://www.doxygen.org/index.html">
|
<a href="http://www.doxygen.org/index.html">
|
||||||
<img class="footer" src="doxygen.png" alt="doxygen"/></a> 1.7.4 </small></address>
|
<img class="footer" src="doxygen.png" alt="doxygen"/></a> 1.7.4 </small></address>
|
||||||
</body>
|
</body>
|
||||||
|
@ -88,6 +88,10 @@ Public Member Functions</h2></td></tr>
|
|||||||
<tr><td class="mdescLeft"> </td><td class="mdescRight">Initialize the Freetronics <a class="el" href="classLCD.html" title="Enhanced library for Freetronics 16x2 LCD shields.">LCD</a> display with the default pin assignment. <a href="#a00bb2db1390721abc7b24ac4b8c276c8"></a><br/></td></tr>
|
<tr><td class="mdescLeft"> </td><td class="mdescRight">Initialize the Freetronics <a class="el" href="classLCD.html" title="Enhanced library for Freetronics 16x2 LCD shields.">LCD</a> display with the default pin assignment. <a href="#a00bb2db1390721abc7b24ac4b8c276c8"></a><br/></td></tr>
|
||||||
<tr><td class="memItemLeft" align="right" valign="top"> </td><td class="memItemRight" valign="bottom"><a class="el" href="classLCD.html#a067bc741cf27f143aba5d9f147908401">LCD</a> (uint8_t pin9)</td></tr>
|
<tr><td class="memItemLeft" align="right" valign="top"> </td><td class="memItemRight" valign="bottom"><a class="el" href="classLCD.html#a067bc741cf27f143aba5d9f147908401">LCD</a> (uint8_t pin9)</td></tr>
|
||||||
<tr><td class="mdescLeft"> </td><td class="mdescRight">Initialize the Freetronics <a class="el" href="classLCD.html" title="Enhanced library for Freetronics 16x2 LCD shields.">LCD</a> display for USBDroid. <a href="#a067bc741cf27f143aba5d9f147908401"></a><br/></td></tr>
|
<tr><td class="mdescLeft"> </td><td class="mdescRight">Initialize the Freetronics <a class="el" href="classLCD.html" title="Enhanced library for Freetronics 16x2 LCD shields.">LCD</a> display for USBDroid. <a href="#a067bc741cf27f143aba5d9f147908401"></a><br/></td></tr>
|
||||||
|
<tr><td class="memItemLeft" align="right" valign="top">uint8_t </td><td class="memItemRight" valign="bottom"><a class="el" href="classLCD.html#a171f59ba80e7775ebd3a399f56482a9c">backlightPin</a> () const </td></tr>
|
||||||
|
<tr><td class="mdescLeft"> </td><td class="mdescRight">Returns the pin that is being used to control the back light. The default is 3. <a href="#a171f59ba80e7775ebd3a399f56482a9c"></a><br/></td></tr>
|
||||||
|
<tr><td class="memItemLeft" align="right" valign="top">void </td><td class="memItemRight" valign="bottom"><a class="el" href="classLCD.html#a0b9b3b954290e7a3d94cdc829582b0a8">setBacklightPin</a> (uint8_t pin)</td></tr>
|
||||||
|
<tr><td class="mdescLeft"> </td><td class="mdescRight">Sets the back light <em>pin</em> for the <a class="el" href="classLCD.html" title="Enhanced library for Freetronics 16x2 LCD shields.">LCD</a> shield. <a href="#a0b9b3b954290e7a3d94cdc829582b0a8"></a><br/></td></tr>
|
||||||
<tr><td class="memItemLeft" align="right" valign="top">void </td><td class="memItemRight" valign="bottom"><a class="el" href="classLCD.html#a5b07cf05e8e5e7c53654f5ca0cf58b89">display</a> ()</td></tr>
|
<tr><td class="memItemLeft" align="right" valign="top">void </td><td class="memItemRight" valign="bottom"><a class="el" href="classLCD.html#a5b07cf05e8e5e7c53654f5ca0cf58b89">display</a> ()</td></tr>
|
||||||
<tr><td class="mdescLeft"> </td><td class="mdescRight">Turns on the display of text on the <a class="el" href="classLCD.html" title="Enhanced library for Freetronics 16x2 LCD shields.">LCD</a> and the back light. <a href="#a5b07cf05e8e5e7c53654f5ca0cf58b89"></a><br/></td></tr>
|
<tr><td class="mdescLeft"> </td><td class="mdescRight">Turns on the display of text on the <a class="el" href="classLCD.html" title="Enhanced library for Freetronics 16x2 LCD shields.">LCD</a> and the back light. <a href="#a5b07cf05e8e5e7c53654f5ca0cf58b89"></a><br/></td></tr>
|
||||||
<tr><td class="memItemLeft" align="right" valign="top">void </td><td class="memItemRight" valign="bottom"><a class="el" href="classLCD.html#af3974da6d988ba2d21c25135ada12108">noDisplay</a> ()</td></tr>
|
<tr><td class="memItemLeft" align="right" valign="top">void </td><td class="memItemRight" valign="bottom"><a class="el" href="classLCD.html#af3974da6d988ba2d21c25135ada12108">noDisplay</a> ()</td></tr>
|
||||||
@ -125,8 +129,16 @@ Public Member Functions</h2></td></tr>
|
|||||||
<li>LCD_BUTTON_SELECT_RELEASED - Select button was released.</li>
|
<li>LCD_BUTTON_SELECT_RELEASED - Select button was released.</li>
|
||||||
</ul>
|
</ul>
|
||||||
<p>For convenience, all RELEASED button codes are the negation of their pressed counterparts. That is, LCD_BUTTON_LEFT_RELEASED == -LCD_BUTTON_LEFT. LCD_BUTTON_NONE is defined to be zero. Thus, you can check if a generic button has been pressed with <code>button > 0</code> and if a generic button has been released with <code>button < 0</code>.</p>
|
<p>For convenience, all RELEASED button codes are the negation of their pressed counterparts. That is, LCD_BUTTON_LEFT_RELEASED == -LCD_BUTTON_LEFT. LCD_BUTTON_NONE is defined to be zero. Thus, you can check if a generic button has been pressed with <code>button > 0</code> and if a generic button has been released with <code>button < 0</code>.</p>
|
||||||
<p>See the <a class="el" href="lcd_hello_world.html">Hello World</a> example for more information on using the <a class="el" href="classLCD.html" title="Enhanced library for Freetronics 16x2 LCD shields.">LCD</a> class.</p>
|
<h2><a class="anchor" id="lcd_dfrobot"></a>
|
||||||
<dl class="see"><dt><b>See also:</b></dt><dd><a class="el" href="classForm.html" title="Manager for a form containing data input/output fields.">Form</a> </dd></dl>
|
Support for DFRobot LCD Shield</h2>
|
||||||
|
<p>The <a href="http://www.dfrobot.com/index.php?route=product/product&product_id=51">DFRobot LCD Shield</a> is almost identical to the Freetronics shield, except it uses pin 10 for the back light instead of pin 3. This can be specified in the application's <code>setup()</code> function:</p>
|
||||||
|
<div class="fragment"><pre class="fragment"> <a class="code" href="classLCD.html" title="Enhanced library for Freetronics 16x2 LCD shields.">LCD</a> lcd;
|
||||||
|
|
||||||
|
<span class="keywordtype">void</span> setup() {
|
||||||
|
lcd.<a class="code" href="classLCD.html#a0b9b3b954290e7a3d94cdc829582b0a8" title="Sets the back light pin for the LCD shield.">setBacklightPin</a>(10);
|
||||||
|
}
|
||||||
|
</pre></div><p>The back light pin is configured for output the first time the application calls <a class="el" href="classLCD.html#ac1e80e2603bd1cf0276c36092c416292" title="Gets the next button press, release, or idle event.">getButton()</a>.</p>
|
||||||
|
<dl class="see"><dt><b>See also:</b></dt><dd><a class="el" href="classForm.html" title="Manager for a form containing data input/output fields.">Form</a>, <a class="el" href="lcd_hello_world.html">Hello World Example</a> </dd></dl>
|
||||||
|
|
||||||
<p>Definition at line <a class="el" href="LCD_8h_source.html#l00048">48</a> of file <a class="el" href="LCD_8h_source.html">LCD.h</a>.</p>
|
<p>Definition at line <a class="el" href="LCD_8h_source.html#l00048">48</a> of file <a class="el" href="LCD_8h_source.html">LCD.h</a>.</p>
|
||||||
</div><hr/><h2>Member Enumeration Documentation</h2>
|
</div><hr/><h2>Member Enumeration Documentation</h2>
|
||||||
@ -156,7 +168,7 @@ Public Member Functions</h2></td></tr>
|
|||||||
</dd>
|
</dd>
|
||||||
</dl>
|
</dl>
|
||||||
|
|
||||||
<p>Definition at line <a class="el" href="LCD_8h_source.html#l00056">56</a> of file <a class="el" href="LCD_8h_source.html">LCD.h</a>.</p>
|
<p>Definition at line <a class="el" href="LCD_8h_source.html#l00059">59</a> of file <a class="el" href="LCD_8h_source.html">LCD.h</a>.</p>
|
||||||
|
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
@ -208,6 +220,27 @@ Public Member Functions</h2></td></tr>
|
|||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
<hr/><h2>Member Function Documentation</h2>
|
<hr/><h2>Member Function Documentation</h2>
|
||||||
|
<a class="anchor" id="a171f59ba80e7775ebd3a399f56482a9c"></a><!-- doxytag: member="LCD::backlightPin" ref="a171f59ba80e7775ebd3a399f56482a9c" args="() const " -->
|
||||||
|
<div class="memitem">
|
||||||
|
<div class="memproto">
|
||||||
|
<table class="memname">
|
||||||
|
<tr>
|
||||||
|
<td class="memname">uint8_t LCD::backlightPin </td>
|
||||||
|
<td>(</td>
|
||||||
|
<td class="paramname"></td><td>)</td>
|
||||||
|
<td> const<code> [inline]</code></td>
|
||||||
|
</tr>
|
||||||
|
</table>
|
||||||
|
</div>
|
||||||
|
<div class="memdoc">
|
||||||
|
|
||||||
|
<p>Returns the pin that is being used to control the back light. The default is 3. </p>
|
||||||
|
<dl class="see"><dt><b>See also:</b></dt><dd><a class="el" href="classLCD.html#a0b9b3b954290e7a3d94cdc829582b0a8" title="Sets the back light pin for the LCD shield.">setBacklightPin()</a> </dd></dl>
|
||||||
|
|
||||||
|
<p>Definition at line <a class="el" href="LCD_8h_source.html#l00053">53</a> of file <a class="el" href="LCD_8h_source.html">LCD.h</a>.</p>
|
||||||
|
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
<a class="anchor" id="a85c3a4694b105731404df36e35e5b26e"></a><!-- doxytag: member="LCD::disableScreenSaver" ref="a85c3a4694b105731404df36e35e5b26e" args="()" -->
|
<a class="anchor" id="a85c3a4694b105731404df36e35e5b26e"></a><!-- doxytag: member="LCD::disableScreenSaver" ref="a85c3a4694b105731404df36e35e5b26e" args="()" -->
|
||||||
<div class="memitem">
|
<div class="memitem">
|
||||||
<div class="memproto">
|
<div class="memproto">
|
||||||
@ -225,7 +258,7 @@ Public Member Functions</h2></td></tr>
|
|||||||
<p>Disables the screen saver. </p>
|
<p>Disables the screen saver. </p>
|
||||||
<dl class="see"><dt><b>See also:</b></dt><dd><a class="el" href="classLCD.html#af9a2326d034fa159d384ec16223c924f" title="Enables the screen saver and causes it to activate after timeoutSecs of inactivity on the buttons...">enableScreenSaver()</a>, <a class="el" href="classLCD.html#a5b07cf05e8e5e7c53654f5ca0cf58b89" title="Turns on the display of text on the LCD and the back light.">display()</a>, <a class="el" href="classLCD.html#af5d5ca618a3161aa352027b58fe09d0e" title="Returns true if the screen has been saved; false otherwise.">isScreenSaved()</a> </dd></dl>
|
<dl class="see"><dt><b>See also:</b></dt><dd><a class="el" href="classLCD.html#af9a2326d034fa159d384ec16223c924f" title="Enables the screen saver and causes it to activate after timeoutSecs of inactivity on the buttons...">enableScreenSaver()</a>, <a class="el" href="classLCD.html#a5b07cf05e8e5e7c53654f5ca0cf58b89" title="Turns on the display of text on the LCD and the back light.">display()</a>, <a class="el" href="classLCD.html#af5d5ca618a3161aa352027b58fe09d0e" title="Returns true if the screen has been saved; false otherwise.">isScreenSaved()</a> </dd></dl>
|
||||||
|
|
||||||
<p>Definition at line <a class="el" href="LCD_8cpp_source.html#l00246">246</a> of file <a class="el" href="LCD_8cpp_source.html">LCD.cpp</a>.</p>
|
<p>Definition at line <a class="el" href="LCD_8cpp_source.html#l00308">308</a> of file <a class="el" href="LCD_8cpp_source.html">LCD.cpp</a>.</p>
|
||||||
|
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
@ -247,7 +280,7 @@ Public Member Functions</h2></td></tr>
|
|||||||
<p>If the screen saver is active, then calling this function will deactivate the screen saver and reset the timeout. Thus, this function can be called for force the screen to restore.</p>
|
<p>If the screen saver is active, then calling this function will deactivate the screen saver and reset the timeout. Thus, this function can be called for force the screen to restore.</p>
|
||||||
<dl class="see"><dt><b>See also:</b></dt><dd><a class="el" href="classLCD.html#af3974da6d988ba2d21c25135ada12108" title="Turns off the display of text on the LCD and the back light.">noDisplay()</a>, <a class="el" href="classLCD.html#af9a2326d034fa159d384ec16223c924f" title="Enables the screen saver and causes it to activate after timeoutSecs of inactivity on the buttons...">enableScreenSaver()</a>, <a class="el" href="classLCD.html#a56d1f68532c779c65fbbd071fb444801" title="Sets the current screen saver mode.">setScreenSaverMode()</a> </dd></dl>
|
<dl class="see"><dt><b>See also:</b></dt><dd><a class="el" href="classLCD.html#af3974da6d988ba2d21c25135ada12108" title="Turns off the display of text on the LCD and the back light.">noDisplay()</a>, <a class="el" href="classLCD.html#af9a2326d034fa159d384ec16223c924f" title="Enables the screen saver and causes it to activate after timeoutSecs of inactivity on the buttons...">enableScreenSaver()</a>, <a class="el" href="classLCD.html#a56d1f68532c779c65fbbd071fb444801" title="Sets the current screen saver mode.">setScreenSaverMode()</a> </dd></dl>
|
||||||
|
|
||||||
<p>Definition at line <a class="el" href="LCD_8cpp_source.html#l00148">148</a> of file <a class="el" href="LCD_8cpp_source.html">LCD.cpp</a>.</p>
|
<p>Definition at line <a class="el" href="LCD_8cpp_source.html#l00206">206</a> of file <a class="el" href="LCD_8cpp_source.html">LCD.cpp</a>.</p>
|
||||||
|
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
@ -272,7 +305,7 @@ Public Member Functions</h2></td></tr>
|
|||||||
<p>If the <em>timeoutSecs</em> parameter is not supplied, the default is 10 seconds.</p>
|
<p>If the <em>timeoutSecs</em> parameter is not supplied, the default is 10 seconds.</p>
|
||||||
<dl class="see"><dt><b>See also:</b></dt><dd><a class="el" href="classLCD.html#a85c3a4694b105731404df36e35e5b26e" title="Disables the screen saver.">disableScreenSaver()</a>, <a class="el" href="classLCD.html#a5b07cf05e8e5e7c53654f5ca0cf58b89" title="Turns on the display of text on the LCD and the back light.">display()</a>, <a class="el" href="classLCD.html#ac1e80e2603bd1cf0276c36092c416292" title="Gets the next button press, release, or idle event.">getButton()</a>, <a class="el" href="classLCD.html#af5d5ca618a3161aa352027b58fe09d0e" title="Returns true if the screen has been saved; false otherwise.">isScreenSaved()</a> </dd></dl>
|
<dl class="see"><dt><b>See also:</b></dt><dd><a class="el" href="classLCD.html#a85c3a4694b105731404df36e35e5b26e" title="Disables the screen saver.">disableScreenSaver()</a>, <a class="el" href="classLCD.html#a5b07cf05e8e5e7c53654f5ca0cf58b89" title="Turns on the display of text on the LCD and the back light.">display()</a>, <a class="el" href="classLCD.html#ac1e80e2603bd1cf0276c36092c416292" title="Gets the next button press, release, or idle event.">getButton()</a>, <a class="el" href="classLCD.html#af5d5ca618a3161aa352027b58fe09d0e" title="Returns true if the screen has been saved; false otherwise.">isScreenSaved()</a> </dd></dl>
|
||||||
|
|
||||||
<p>Definition at line <a class="el" href="LCD_8cpp_source.html#l00232">232</a> of file <a class="el" href="LCD_8cpp_source.html">LCD.cpp</a>.</p>
|
<p>Definition at line <a class="el" href="LCD_8cpp_source.html#l00294">294</a> of file <a class="el" href="LCD_8cpp_source.html">LCD.cpp</a>.</p>
|
||||||
|
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
@ -297,7 +330,7 @@ Public Member Functions</h2></td></tr>
|
|||||||
<p>This function debounces the button state automatically so there is no need for the caller to worry about spurious button events.</p>
|
<p>This function debounces the button state automatically so there is no need for the caller to worry about spurious button events.</p>
|
||||||
<dl class="see"><dt><b>See also:</b></dt><dd><a class="el" href="classLCD.html#af9a2326d034fa159d384ec16223c924f" title="Enables the screen saver and causes it to activate after timeoutSecs of inactivity on the buttons...">enableScreenSaver()</a>, <a class="el" href="classLCD.html#a5b07cf05e8e5e7c53654f5ca0cf58b89" title="Turns on the display of text on the LCD and the back light.">display()</a>, <a class="el" href="classForm.html#a89bd3850e87caa2ca7b2e946f923d0ee" title="Dispatches event to the currently active field using Field::dispatch().">Form::dispatch()</a> </dd></dl>
|
<dl class="see"><dt><b>See also:</b></dt><dd><a class="el" href="classLCD.html#af9a2326d034fa159d384ec16223c924f" title="Enables the screen saver and causes it to activate after timeoutSecs of inactivity on the buttons...">enableScreenSaver()</a>, <a class="el" href="classLCD.html#a5b07cf05e8e5e7c53654f5ca0cf58b89" title="Turns on the display of text on the LCD and the back light.">display()</a>, <a class="el" href="classForm.html#a89bd3850e87caa2ca7b2e946f923d0ee" title="Dispatches event to the currently active field using Field::dispatch().">Form::dispatch()</a> </dd></dl>
|
||||||
|
|
||||||
<p>Definition at line <a class="el" href="LCD_8cpp_source.html#l00291">291</a> of file <a class="el" href="LCD_8cpp_source.html">LCD.cpp</a>.</p>
|
<p>Definition at line <a class="el" href="LCD_8cpp_source.html#l00353">353</a> of file <a class="el" href="LCD_8cpp_source.html">LCD.cpp</a>.</p>
|
||||||
|
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
@ -318,7 +351,7 @@ Public Member Functions</h2></td></tr>
|
|||||||
<p>Returns true if the screen has been saved; false otherwise. </p>
|
<p>Returns true if the screen has been saved; false otherwise. </p>
|
||||||
<dl class="see"><dt><b>See also:</b></dt><dd><a class="el" href="classLCD.html#af9a2326d034fa159d384ec16223c924f" title="Enables the screen saver and causes it to activate after timeoutSecs of inactivity on the buttons...">enableScreenSaver()</a> </dd></dl>
|
<dl class="see"><dt><b>See also:</b></dt><dd><a class="el" href="classLCD.html#af9a2326d034fa159d384ec16223c924f" title="Enables the screen saver and causes it to activate after timeoutSecs of inactivity on the buttons...">enableScreenSaver()</a> </dd></dl>
|
||||||
|
|
||||||
<p>Definition at line <a class="el" href="LCD_8h_source.html#l00068">68</a> of file <a class="el" href="LCD_8h_source.html">LCD.h</a>.</p>
|
<p>Definition at line <a class="el" href="LCD_8h_source.html#l00071">71</a> of file <a class="el" href="LCD_8h_source.html">LCD.h</a>.</p>
|
||||||
|
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
@ -340,7 +373,7 @@ Public Member Functions</h2></td></tr>
|
|||||||
<p>This function can be called to force the screen saver to activate.</p>
|
<p>This function can be called to force the screen saver to activate.</p>
|
||||||
<dl class="see"><dt><b>See also:</b></dt><dd><a class="el" href="classLCD.html#a5b07cf05e8e5e7c53654f5ca0cf58b89" title="Turns on the display of text on the LCD and the back light.">display()</a>, <a class="el" href="classLCD.html#af9a2326d034fa159d384ec16223c924f" title="Enables the screen saver and causes it to activate after timeoutSecs of inactivity on the buttons...">enableScreenSaver()</a>, <a class="el" href="classLCD.html#a56d1f68532c779c65fbbd071fb444801" title="Sets the current screen saver mode.">setScreenSaverMode()</a> </dd></dl>
|
<dl class="see"><dt><b>See also:</b></dt><dd><a class="el" href="classLCD.html#a5b07cf05e8e5e7c53654f5ca0cf58b89" title="Turns on the display of text on the LCD and the back light.">display()</a>, <a class="el" href="classLCD.html#af9a2326d034fa159d384ec16223c924f" title="Enables the screen saver and causes it to activate after timeoutSecs of inactivity on the buttons...">enableScreenSaver()</a>, <a class="el" href="classLCD.html#a56d1f68532c779c65fbbd071fb444801" title="Sets the current screen saver mode.">setScreenSaverMode()</a> </dd></dl>
|
||||||
|
|
||||||
<p>Definition at line <a class="el" href="LCD_8cpp_source.html#l00163">163</a> of file <a class="el" href="LCD_8cpp_source.html">LCD.cpp</a>.</p>
|
<p>Definition at line <a class="el" href="LCD_8cpp_source.html#l00223">223</a> of file <a class="el" href="LCD_8cpp_source.html">LCD.cpp</a>.</p>
|
||||||
|
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
@ -361,7 +394,36 @@ Public Member Functions</h2></td></tr>
|
|||||||
<p>Returns the current screen saver mode; default is DisplayOff. </p>
|
<p>Returns the current screen saver mode; default is DisplayOff. </p>
|
||||||
<dl class="see"><dt><b>See also:</b></dt><dd><a class="el" href="classLCD.html#a56d1f68532c779c65fbbd071fb444801" title="Sets the current screen saver mode.">setScreenSaverMode()</a>, <a class="el" href="classLCD.html#af9a2326d034fa159d384ec16223c924f" title="Enables the screen saver and causes it to activate after timeoutSecs of inactivity on the buttons...">enableScreenSaver()</a> </dd></dl>
|
<dl class="see"><dt><b>See also:</b></dt><dd><a class="el" href="classLCD.html#a56d1f68532c779c65fbbd071fb444801" title="Sets the current screen saver mode.">setScreenSaverMode()</a>, <a class="el" href="classLCD.html#af9a2326d034fa159d384ec16223c924f" title="Enables the screen saver and causes it to activate after timeoutSecs of inactivity on the buttons...">enableScreenSaver()</a> </dd></dl>
|
||||||
|
|
||||||
<p>Definition at line <a class="el" href="LCD_8h_source.html#l00063">63</a> of file <a class="el" href="LCD_8h_source.html">LCD.h</a>.</p>
|
<p>Definition at line <a class="el" href="LCD_8h_source.html#l00066">66</a> of file <a class="el" href="LCD_8h_source.html">LCD.h</a>.</p>
|
||||||
|
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
<a class="anchor" id="a0b9b3b954290e7a3d94cdc829582b0a8"></a><!-- doxytag: member="LCD::setBacklightPin" ref="a0b9b3b954290e7a3d94cdc829582b0a8" args="(uint8_t pin)" -->
|
||||||
|
<div class="memitem">
|
||||||
|
<div class="memproto">
|
||||||
|
<table class="memname">
|
||||||
|
<tr>
|
||||||
|
<td class="memname">void LCD::setBacklightPin </td>
|
||||||
|
<td>(</td>
|
||||||
|
<td class="paramtype">uint8_t </td>
|
||||||
|
<td class="paramname"><em>pin</em></td><td>)</td>
|
||||||
|
<td></td>
|
||||||
|
</tr>
|
||||||
|
</table>
|
||||||
|
</div>
|
||||||
|
<div class="memdoc">
|
||||||
|
|
||||||
|
<p>Sets the back light <em>pin</em> for the <a class="el" href="classLCD.html" title="Enhanced library for Freetronics 16x2 LCD shields.">LCD</a> shield. </p>
|
||||||
|
<p>The <a href="http://www.dfrobot.com/index.php?route=product/product&product_id=51">DFRobot LCD Shield</a> uses pin 10 for the back light instead of pin 3:</p>
|
||||||
|
<div class="fragment"><pre class="fragment"> <a class="code" href="classLCD.html" title="Enhanced library for Freetronics 16x2 LCD shields.">LCD</a> lcd;
|
||||||
|
|
||||||
|
<span class="keywordtype">void</span> setup() {
|
||||||
|
lcd.<a class="code" href="classLCD.html#a0b9b3b954290e7a3d94cdc829582b0a8" title="Sets the back light pin for the LCD shield.">setBacklightPin</a>(10);
|
||||||
|
}
|
||||||
|
</pre></div><p>The back light pin is configured for output the next time the application calls <a class="el" href="classLCD.html#ac1e80e2603bd1cf0276c36092c416292" title="Gets the next button press, release, or idle event.">getButton()</a>.</p>
|
||||||
|
<dl class="see"><dt><b>See also:</b></dt><dd><a class="el" href="classLCD.html#a171f59ba80e7775ebd3a399f56482a9c" title="Returns the pin that is being used to control the back light. The default is 3.">backlightPin()</a> </dd></dl>
|
||||||
|
|
||||||
|
<p>Definition at line <a class="el" href="LCD_8cpp_source.html#l00182">182</a> of file <a class="el" href="LCD_8cpp_source.html">LCD.cpp</a>.</p>
|
||||||
|
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
@ -383,7 +445,7 @@ Public Member Functions</h2></td></tr>
|
|||||||
<p>Sets the current screen saver <em>mode</em>. </p>
|
<p>Sets the current screen saver <em>mode</em>. </p>
|
||||||
<dl class="see"><dt><b>See also:</b></dt><dd><a class="el" href="classLCD.html#a1917fa285f81f476b4c7cc20d15456b8" title="Returns the current screen saver mode; default is DisplayOff.">screenSaverMode()</a>, <a class="el" href="classLCD.html#af9a2326d034fa159d384ec16223c924f" title="Enables the screen saver and causes it to activate after timeoutSecs of inactivity on the buttons...">enableScreenSaver()</a> </dd></dl>
|
<dl class="see"><dt><b>See also:</b></dt><dd><a class="el" href="classLCD.html#a1917fa285f81f476b4c7cc20d15456b8" title="Returns the current screen saver mode; default is DisplayOff.">screenSaverMode()</a>, <a class="el" href="classLCD.html#af9a2326d034fa159d384ec16223c924f" title="Enables the screen saver and causes it to activate after timeoutSecs of inactivity on the buttons...">enableScreenSaver()</a> </dd></dl>
|
||||||
|
|
||||||
<p>Definition at line <a class="el" href="LCD_8cpp_source.html#l00206">206</a> of file <a class="el" href="LCD_8cpp_source.html">LCD.cpp</a>.</p>
|
<p>Definition at line <a class="el" href="LCD_8cpp_source.html#l00268">268</a> of file <a class="el" href="LCD_8cpp_source.html">LCD.cpp</a>.</p>
|
||||||
|
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
@ -406,7 +468,7 @@ Public Member Functions</h2></td></tr>
|
|||||||
</iframe>
|
</iframe>
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
<hr class="footer"/><address class="footer"><small>Generated on Fri Jun 1 2012 14:29:17 for ArduinoLibs by 
|
<hr class="footer"/><address class="footer"><small>Generated on Sun Jun 10 2012 10:51:57 for ArduinoLibs by 
|
||||||
<a href="http://www.doxygen.org/index.html">
|
<a href="http://www.doxygen.org/index.html">
|
||||||
<img class="footer" src="doxygen.png" alt="doxygen"/></a> 1.7.4 </small></address>
|
<img class="footer" src="doxygen.png" alt="doxygen"/></a> 1.7.4 </small></address>
|
||||||
</body>
|
</body>
|
||||||
|
@ -98,7 +98,7 @@ This is the complete list of members for <a class="el" href="classListField.html
|
|||||||
</iframe>
|
</iframe>
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
<hr class="footer"/><address class="footer"><small>Generated on Fri Jun 1 2012 14:29:18 for ArduinoLibs by 
|
<hr class="footer"/><address class="footer"><small>Generated on Sun Jun 10 2012 10:51:57 for ArduinoLibs by 
|
||||||
<a href="http://www.doxygen.org/index.html">
|
<a href="http://www.doxygen.org/index.html">
|
||||||
<img class="footer" src="doxygen.png" alt="doxygen"/></a> 1.7.4 </small></address>
|
<img class="footer" src="doxygen.png" alt="doxygen"/></a> 1.7.4 </small></address>
|
||||||
</body>
|
</body>
|
||||||
|
@ -322,7 +322,7 @@ Public Member Functions</h2></td></tr>
|
|||||||
</iframe>
|
</iframe>
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
<hr class="footer"/><address class="footer"><small>Generated on Fri Jun 1 2012 14:29:18 for ArduinoLibs by 
|
<hr class="footer"/><address class="footer"><small>Generated on Sun Jun 10 2012 10:51:57 for ArduinoLibs by 
|
||||||
<a href="http://www.doxygen.org/index.html">
|
<a href="http://www.doxygen.org/index.html">
|
||||||
<img class="footer" src="doxygen.png" alt="doxygen"/></a> 1.7.4 </small></address>
|
<img class="footer" src="doxygen.png" alt="doxygen"/></a> 1.7.4 </small></address>
|
||||||
</body>
|
</body>
|
||||||
|
@ -90,7 +90,7 @@ This is the complete list of members for <a class="el" href="classMelody.html">M
|
|||||||
</iframe>
|
</iframe>
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
<hr class="footer"/><address class="footer"><small>Generated on Fri Jun 1 2012 14:29:18 for ArduinoLibs by 
|
<hr class="footer"/><address class="footer"><small>Generated on Sun Jun 10 2012 10:51:57 for ArduinoLibs by 
|
||||||
<a href="http://www.doxygen.org/index.html">
|
<a href="http://www.doxygen.org/index.html">
|
||||||
<img class="footer" src="doxygen.png" alt="doxygen"/></a> 1.7.4 </small></address>
|
<img class="footer" src="doxygen.png" alt="doxygen"/></a> 1.7.4 </small></address>
|
||||||
</body>
|
</body>
|
||||||
|
@ -343,7 +343,7 @@ bool </td><td class="memItemRight" valign="bottom"><a class="el" href="clas
|
|||||||
</iframe>
|
</iframe>
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
<hr class="footer"/><address class="footer"><small>Generated on Fri Jun 1 2012 14:29:18 for ArduinoLibs by 
|
<hr class="footer"/><address class="footer"><small>Generated on Sun Jun 10 2012 10:51:57 for ArduinoLibs by 
|
||||||
<a href="http://www.doxygen.org/index.html">
|
<a href="http://www.doxygen.org/index.html">
|
||||||
<img class="footer" src="doxygen.png" alt="doxygen"/></a> 1.7.4 </small></address>
|
<img class="footer" src="doxygen.png" alt="doxygen"/></a> 1.7.4 </small></address>
|
||||||
</body>
|
</body>
|
||||||
|
@ -101,7 +101,7 @@ This is the complete list of members for <a class="el" href="classRTC.html">RTC<
|
|||||||
</iframe>
|
</iframe>
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
<hr class="footer"/><address class="footer"><small>Generated on Fri Jun 1 2012 14:29:18 for ArduinoLibs by 
|
<hr class="footer"/><address class="footer"><small>Generated on Sun Jun 10 2012 10:51:57 for ArduinoLibs by 
|
||||||
<a href="http://www.doxygen.org/index.html">
|
<a href="http://www.doxygen.org/index.html">
|
||||||
<img class="footer" src="doxygen.png" alt="doxygen"/></a> 1.7.4 </small></address>
|
<img class="footer" src="doxygen.png" alt="doxygen"/></a> 1.7.4 </small></address>
|
||||||
</body>
|
</body>
|
||||||
|
@ -582,7 +582,7 @@ static const uint8_t </td><td class="memItemRight" valign="bottom"><a class
|
|||||||
</iframe>
|
</iframe>
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
<hr class="footer"/><address class="footer"><small>Generated on Fri Jun 1 2012 14:29:18 for ArduinoLibs by 
|
<hr class="footer"/><address class="footer"><small>Generated on Sun Jun 10 2012 10:51:57 for ArduinoLibs by 
|
||||||
<a href="http://www.doxygen.org/index.html">
|
<a href="http://www.doxygen.org/index.html">
|
||||||
<img class="footer" src="doxygen.png" alt="doxygen"/></a> 1.7.4 </small></address>
|
<img class="footer" src="doxygen.png" alt="doxygen"/></a> 1.7.4 </small></address>
|
||||||
</body>
|
</body>
|
||||||
|
@ -83,7 +83,7 @@ This is the complete list of members for <a class="el" href="structRTCAlarm.html
|
|||||||
</iframe>
|
</iframe>
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
<hr class="footer"/><address class="footer"><small>Generated on Fri Jun 1 2012 14:29:18 for ArduinoLibs by 
|
<hr class="footer"/><address class="footer"><small>Generated on Sun Jun 10 2012 10:51:57 for ArduinoLibs by 
|
||||||
<a href="http://www.doxygen.org/index.html">
|
<a href="http://www.doxygen.org/index.html">
|
||||||
<img class="footer" src="doxygen.png" alt="doxygen"/></a> 1.7.4 </small></address>
|
<img class="footer" src="doxygen.png" alt="doxygen"/></a> 1.7.4 </small></address>
|
||||||
</body>
|
</body>
|
||||||
|
@ -83,7 +83,7 @@ This is the complete list of members for <a class="el" href="structRTCDate.html"
|
|||||||
</iframe>
|
</iframe>
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
<hr class="footer"/><address class="footer"><small>Generated on Fri Jun 1 2012 14:29:18 for ArduinoLibs by 
|
<hr class="footer"/><address class="footer"><small>Generated on Sun Jun 10 2012 10:51:57 for ArduinoLibs by 
|
||||||
<a href="http://www.doxygen.org/index.html">
|
<a href="http://www.doxygen.org/index.html">
|
||||||
<img class="footer" src="doxygen.png" alt="doxygen"/></a> 1.7.4 </small></address>
|
<img class="footer" src="doxygen.png" alt="doxygen"/></a> 1.7.4 </small></address>
|
||||||
</body>
|
</body>
|
||||||
|
@ -83,7 +83,7 @@ This is the complete list of members for <a class="el" href="structRTCTime.html"
|
|||||||
</iframe>
|
</iframe>
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
<hr class="footer"/><address class="footer"><small>Generated on Fri Jun 1 2012 14:29:18 for ArduinoLibs by 
|
<hr class="footer"/><address class="footer"><small>Generated on Sun Jun 10 2012 10:51:57 for ArduinoLibs by 
|
||||||
<a href="http://www.doxygen.org/index.html">
|
<a href="http://www.doxygen.org/index.html">
|
||||||
<img class="footer" src="doxygen.png" alt="doxygen"/></a> 1.7.4 </small></address>
|
<img class="footer" src="doxygen.png" alt="doxygen"/></a> 1.7.4 </small></address>
|
||||||
</body>
|
</body>
|
||||||
|
@ -88,7 +88,7 @@ This is the complete list of members for <a class="el" href="classSoftI2C.html">
|
|||||||
</iframe>
|
</iframe>
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
<hr class="footer"/><address class="footer"><small>Generated on Fri Jun 1 2012 14:29:18 for ArduinoLibs by 
|
<hr class="footer"/><address class="footer"><small>Generated on Sun Jun 10 2012 10:51:57 for ArduinoLibs by 
|
||||||
<a href="http://www.doxygen.org/index.html">
|
<a href="http://www.doxygen.org/index.html">
|
||||||
<img class="footer" src="doxygen.png" alt="doxygen"/></a> 1.7.4 </small></address>
|
<img class="footer" src="doxygen.png" alt="doxygen"/></a> 1.7.4 </small></address>
|
||||||
</body>
|
</body>
|
||||||
|
@ -286,7 +286,7 @@ unsigned int </td><td class="memItemRight" valign="bottom"><a class="el" hr
|
|||||||
</iframe>
|
</iframe>
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
<hr class="footer"/><address class="footer"><small>Generated on Fri Jun 1 2012 14:29:18 for ArduinoLibs by 
|
<hr class="footer"/><address class="footer"><small>Generated on Sun Jun 10 2012 10:51:57 for ArduinoLibs by 
|
||||||
<a href="http://www.doxygen.org/index.html">
|
<a href="http://www.doxygen.org/index.html">
|
||||||
<img class="footer" src="doxygen.png" alt="doxygen"/></a> 1.7.4 </small></address>
|
<img class="footer" src="doxygen.png" alt="doxygen"/></a> 1.7.4 </small></address>
|
||||||
</body>
|
</body>
|
||||||
|
@ -96,7 +96,7 @@ This is the complete list of members for <a class="el" href="classTextField.html
|
|||||||
</iframe>
|
</iframe>
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
<hr class="footer"/><address class="footer"><small>Generated on Fri Jun 1 2012 14:29:18 for ArduinoLibs by 
|
<hr class="footer"/><address class="footer"><small>Generated on Sun Jun 10 2012 10:51:57 for ArduinoLibs by 
|
||||||
<a href="http://www.doxygen.org/index.html">
|
<a href="http://www.doxygen.org/index.html">
|
||||||
<img class="footer" src="doxygen.png" alt="doxygen"/></a> 1.7.4 </small></address>
|
<img class="footer" src="doxygen.png" alt="doxygen"/></a> 1.7.4 </small></address>
|
||||||
</body>
|
</body>
|
||||||
|
@ -268,7 +268,7 @@ Public Member Functions</h2></td></tr>
|
|||||||
</iframe>
|
</iframe>
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
<hr class="footer"/><address class="footer"><small>Generated on Fri Jun 1 2012 14:29:18 for ArduinoLibs by 
|
<hr class="footer"/><address class="footer"><small>Generated on Sun Jun 10 2012 10:51:57 for ArduinoLibs by 
|
||||||
<a href="http://www.doxygen.org/index.html">
|
<a href="http://www.doxygen.org/index.html">
|
||||||
<img class="footer" src="doxygen.png" alt="doxygen"/></a> 1.7.4 </small></address>
|
<img class="footer" src="doxygen.png" alt="doxygen"/></a> 1.7.4 </small></address>
|
||||||
</body>
|
</body>
|
||||||
|
@ -100,7 +100,7 @@ This is the complete list of members for <a class="el" href="classTimeField.html
|
|||||||
</iframe>
|
</iframe>
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
<hr class="footer"/><address class="footer"><small>Generated on Fri Jun 1 2012 14:29:18 for ArduinoLibs by 
|
<hr class="footer"/><address class="footer"><small>Generated on Sun Jun 10 2012 10:51:58 for ArduinoLibs by 
|
||||||
<a href="http://www.doxygen.org/index.html">
|
<a href="http://www.doxygen.org/index.html">
|
||||||
<img class="footer" src="doxygen.png" alt="doxygen"/></a> 1.7.4 </small></address>
|
<img class="footer" src="doxygen.png" alt="doxygen"/></a> 1.7.4 </small></address>
|
||||||
</body>
|
</body>
|
||||||
|
Some files were not shown because too many files have changed in this diff Show More
Loading…
x
Reference in New Issue
Block a user