<?xml version="1.0"?>
<feed xmlns="http://www.w3.org/2005/Atom" xml:lang="en-GB">
	<id>https://wiki.analysir.com/index.php?action=history&amp;feed=atom&amp;title=KIR_header.h</id>
	<title>KIR header.h - Revision history</title>
	<link rel="self" type="application/atom+xml" href="https://wiki.analysir.com/index.php?action=history&amp;feed=atom&amp;title=KIR_header.h"/>
	<link rel="alternate" type="text/html" href="https://wiki.analysir.com/index.php?title=KIR_header.h&amp;action=history"/>
	<updated>2026-04-29T15:58:38Z</updated>
	<subtitle>Revision history for this page on the wiki</subtitle>
	<generator>MediaWiki 1.40.0</generator>
	<entry>
		<id>https://wiki.analysir.com/index.php?title=KIR_header.h&amp;diff=488&amp;oldid=prev</id>
		<title>AnalysIR at 16:41, 9 October 2019</title>
		<link rel="alternate" type="text/html" href="https://wiki.analysir.com/index.php?title=KIR_header.h&amp;diff=488&amp;oldid=prev"/>
		<updated>2019-10-09T16:41:13Z</updated>

		<summary type="html">&lt;p&gt;&lt;/p&gt;
&lt;table style=&quot;background-color: #fff; color: #202122;&quot; data-mw=&quot;interface&quot;&gt;
				&lt;col class=&quot;diff-marker&quot; /&gt;
				&lt;col class=&quot;diff-content&quot; /&gt;
				&lt;col class=&quot;diff-marker&quot; /&gt;
				&lt;col class=&quot;diff-content&quot; /&gt;
				&lt;tr class=&quot;diff-title&quot; lang=&quot;en-GB&quot;&gt;
				&lt;td colspan=&quot;2&quot; style=&quot;background-color: #fff; color: #202122; text-align: center;&quot;&gt;← Older revision&lt;/td&gt;
				&lt;td colspan=&quot;2&quot; style=&quot;background-color: #fff; color: #202122; text-align: center;&quot;&gt;Revision as of 09:41, 9 October 2019&lt;/td&gt;
				&lt;/tr&gt;&lt;tr&gt;&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot; id=&quot;mw-diff-left-l7&quot;&gt;Line 7:&lt;/td&gt;
&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot;&gt;Line 7:&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;* The rest of the file is a collection of definitions for Rows, Cols, Pins, Buttons, macros and constant values, which are commented inline.&lt;/div&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;* The rest of the file is a collection of definitions for Rows, Cols, Pins, Buttons, macros and constant values, which are commented inline.&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;* There is also a collection of macros for control of the LED indicator. If you prefer to disable the indicator LED then simply set LEDINDICATOR to false. Default is enabled.&lt;/div&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;* There is also a collection of macros for control of the LED indicator. If you prefer to disable the indicator LED then simply set LEDINDICATOR to false. Default is enabled.&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot; data-marker=&quot;−&quot;&gt;&lt;/td&gt;&lt;td style=&quot;color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #ffe49c; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;* &#039;&#039;DEBUGPRINTFLAG&#039;&#039; - by default this is commented out, which means that debug output is off. If you wish to see the debug info printed via serial, then uncomment this line/definition. It makes no sense to enable debug info when KontroLIR is running on batteries, as it only serves to reduce battery life for no reason. If you are having issues then you can make use of the debug &lt;del style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;mactos &lt;/del&gt;in your own code.&lt;/div&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot; data-marker=&quot;+&quot;&gt;&lt;/td&gt;&lt;td style=&quot;color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;* &#039;&#039;DEBUGPRINTFLAG&#039;&#039; - by default this is commented out, which means that debug output is off. If you wish to see the debug info printed via serial, then uncomment this line/definition. It makes no sense to enable debug info when KontroLIR is running on batteries, as it only serves to reduce battery life for no reason. If you are having issues then you can make use of the debug &lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;macros &lt;/ins&gt;in your own code.&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot; data-marker=&quot;−&quot;&gt;&lt;/td&gt;&lt;td style=&quot;color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #ffe49c; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;* &#039;&#039;lbCheck&#039;&#039; - define the &lt;del style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;frequency &lt;/del&gt;of button presses after which we check &lt;del style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;fro &lt;/del&gt;low battery levels. It &lt;del style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;doesnt &lt;/del&gt;make &lt;del style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;sens &lt;/del&gt;doing this check every time, but if you prefer to do this set it to 1. The default is 2.&lt;/div&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot; data-marker=&quot;+&quot;&gt;&lt;/td&gt;&lt;td style=&quot;color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;* &#039;&#039;lbCheck&#039;&#039; - define the &lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;number &lt;/ins&gt;of button presses after which we check &lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;for &lt;/ins&gt;low battery levels. It &lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;doesn&#039;t &lt;/ins&gt;make &lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;sense &lt;/ins&gt;doing this check every time, but if you prefer to do this set it to 1. The default is 2&lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;. A higher value should increase battery life somewhat for heavy users&lt;/ins&gt;.&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot; data-marker=&quot;−&quot;&gt;&lt;/td&gt;&lt;td style=&quot;color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #ffe49c; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;* batteyLowThreshold - we set this value to 2 volts or 2.4 volts depending on the clock speed. The recommended default is 2.4volts for 8Mhz. Once this threshold is met KontroLIR will go to sleep permanently to avoid potential for FLASH or EEPROM corruption. Operation will continue once new batteries are inserted.&lt;/div&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot; data-marker=&quot;+&quot;&gt;&lt;/td&gt;&lt;td style=&quot;color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;* batteyLowThreshold - we set this value to 2 volts or 2.4 volts depending on the clock speed &lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;(refer to ATmega328PB datasheet for specs)&lt;/ins&gt;. The recommended default is 2.4volts for 8Mhz. Once this threshold is met KontroLIR will go to sleep permanently to avoid potential for FLASH or EEPROM corruption. Operation will continue once new batteries are inserted.&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;br/&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;br/&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;br/&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;br/&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;/table&gt;</summary>
		<author><name>AnalysIR</name></author>
	</entry>
	<entry>
		<id>https://wiki.analysir.com/index.php?title=KIR_header.h&amp;diff=487&amp;oldid=prev</id>
		<title>AnalysIR at 16:36, 9 October 2019</title>
		<link rel="alternate" type="text/html" href="https://wiki.analysir.com/index.php?title=KIR_header.h&amp;diff=487&amp;oldid=prev"/>
		<updated>2019-10-09T16:36:04Z</updated>

		<summary type="html">&lt;p&gt;&lt;/p&gt;
&lt;table style=&quot;background-color: #fff; color: #202122;&quot; data-mw=&quot;interface&quot;&gt;
				&lt;col class=&quot;diff-marker&quot; /&gt;
				&lt;col class=&quot;diff-content&quot; /&gt;
				&lt;col class=&quot;diff-marker&quot; /&gt;
				&lt;col class=&quot;diff-content&quot; /&gt;
				&lt;tr class=&quot;diff-title&quot; lang=&quot;en-GB&quot;&gt;
				&lt;td colspan=&quot;2&quot; style=&quot;background-color: #fff; color: #202122; text-align: center;&quot;&gt;← Older revision&lt;/td&gt;
				&lt;td colspan=&quot;2&quot; style=&quot;background-color: #fff; color: #202122; text-align: center;&quot;&gt;Revision as of 09:36, 9 October 2019&lt;/td&gt;
				&lt;/tr&gt;&lt;tr&gt;&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot; id=&quot;mw-diff-left-l5&quot;&gt;Line 5:&lt;/td&gt;
&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot;&gt;Line 5:&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;br/&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;br/&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;* We include any library used at the top of this file along with other KontroLIr header files. If you plan on using I2C EEPROM, then you should include it here.&lt;/div&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;* We include any library used at the top of this file along with other KontroLIr header files. If you plan on using I2C EEPROM, then you should include it here.&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot; data-marker=&quot;−&quot;&gt;&lt;/td&gt;&lt;td style=&quot;color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #ffe49c; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;* The rest of the file is a collection of definitions for Rows, Cols, Pins, Buttons, macros and constant values.&lt;/div&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot; data-marker=&quot;+&quot;&gt;&lt;/td&gt;&lt;td style=&quot;color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;* The rest of the file is a collection of definitions for Rows, Cols, Pins, Buttons, macros and constant values&lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;, which are commented inline&lt;/ins&gt;.&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot; data-marker=&quot;−&quot;&gt;&lt;/td&gt;&lt;td style=&quot;color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #ffe49c; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;* There is also a collection of &lt;del style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;macro &lt;/del&gt;for control of the LED indicator. If you prefer to disable the indicator LED then simply set LEDINDICATOR to false.&lt;/div&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot; data-marker=&quot;+&quot;&gt;&lt;/td&gt;&lt;td style=&quot;color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;* There is also a collection of &lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;macros &lt;/ins&gt;for control of the LED indicator. If you prefer to disable the indicator LED then simply set LEDINDICATOR to false&lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;. Default is enabled&lt;/ins&gt;.&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot; data-marker=&quot;−&quot;&gt;&lt;/td&gt;&lt;td style=&quot;color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #ffe49c; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;* &#039;&#039;DEBUGPRINTFLAG&#039;&#039; - by default this is commented out, which means that debug output is off. If you wish to see the debug info printed via serial, then uncomment this line/definition. It makes no sense to enable debug info when KontroLIR is running on &lt;del style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;batties&lt;/del&gt;, as it only serves to reduce &lt;del style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;batteyr &lt;/del&gt;life for no reason. If you are having issues &lt;del style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;than &lt;/del&gt;you can make use of the debug mactos in your own code.&lt;/div&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot; data-marker=&quot;+&quot;&gt;&lt;/td&gt;&lt;td style=&quot;color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;* &#039;&#039;DEBUGPRINTFLAG&#039;&#039; - by default this is commented out, which means that debug output is off. If you wish to see the debug info printed via serial, then uncomment this line/definition. It makes no sense to enable debug info when KontroLIR is running on &lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;batteries&lt;/ins&gt;, as it only serves to reduce &lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;battery &lt;/ins&gt;life for no reason. If you are having issues &lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;then &lt;/ins&gt;you can make use of the debug mactos in your own code.&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;* &amp;#039;&amp;#039;lbCheck&amp;#039;&amp;#039; - define the frequency of button presses after which we check fro low battery levels. It doesnt make sens doing this check every time, but if you prefer to do this set it to 1. The default is 2.&lt;/div&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;* &amp;#039;&amp;#039;lbCheck&amp;#039;&amp;#039; - define the frequency of button presses after which we check fro low battery levels. It doesnt make sens doing this check every time, but if you prefer to do this set it to 1. The default is 2.&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;* batteyLowThreshold - we set this value to 2 volts or 2.4 volts depending on the clock speed. The recommended default is 2.4volts for 8Mhz. Once this threshold is met KontroLIR will go to sleep permanently to avoid potential for FLASH or EEPROM corruption. Operation will continue once new batteries are inserted.&lt;/div&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;* batteyLowThreshold - we set this value to 2 volts or 2.4 volts depending on the clock speed. The recommended default is 2.4volts for 8Mhz. Once this threshold is met KontroLIR will go to sleep permanently to avoid potential for FLASH or EEPROM corruption. Operation will continue once new batteries are inserted.&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;/table&gt;</summary>
		<author><name>AnalysIR</name></author>
	</entry>
	<entry>
		<id>https://wiki.analysir.com/index.php?title=KIR_header.h&amp;diff=486&amp;oldid=prev</id>
		<title>AnalysIR: Created page with &quot;&#039;&#039;&#039;&#039;&#039;&gt; KontroLIR Home &gt; back&#039;&#039;&#039;&#039;&#039;   The file is the main header file for KontroLIR....&quot;</title>
		<link rel="alternate" type="text/html" href="https://wiki.analysir.com/index.php?title=KIR_header.h&amp;diff=486&amp;oldid=prev"/>
		<updated>2019-10-09T16:34:10Z</updated>

		<summary type="html">&lt;p&gt;Created page with &amp;quot;&amp;#039;&amp;#039;&amp;#039;&amp;#039;&amp;#039;&amp;gt; &lt;a href=&quot;/index.php?title=KontroLIR_-_Arduino_compatible_IR_remote_control&quot; title=&quot;KontroLIR - Arduino compatible IR remote control&quot;&gt;KontroLIR Home&lt;/a&gt; &amp;gt; &lt;a href=&quot;/index.php?title=Customizing_the_KontroLIR_Firmware&quot; title=&quot;Customizing the KontroLIR Firmware&quot;&gt;back&lt;/a&gt;&amp;#039;&amp;#039;&amp;#039;&amp;#039;&amp;#039;   The file is the main header file for KontroLIR....&amp;quot;&lt;/p&gt;
&lt;p&gt;&lt;b&gt;New page&lt;/b&gt;&lt;/p&gt;&lt;div&gt;&amp;#039;&amp;#039;&amp;#039;&amp;#039;&amp;#039;&amp;gt; [[KontroLIR - Arduino compatible IR remote control|KontroLIR Home]] &amp;gt; [[Customizing the KontroLIR Firmware|back]]&amp;#039;&amp;#039;&amp;#039;&amp;#039;&amp;#039;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
The file is the main header file for KontroLIR.&lt;br /&gt;
&lt;br /&gt;
* We include any library used at the top of this file along with other KontroLIr header files. If you plan on using I2C EEPROM, then you should include it here.&lt;br /&gt;
* The rest of the file is a collection of definitions for Rows, Cols, Pins, Buttons, macros and constant values.&lt;br /&gt;
* There is also a collection of macro for control of the LED indicator. If you prefer to disable the indicator LED then simply set LEDINDICATOR to false.&lt;br /&gt;
* &amp;#039;&amp;#039;DEBUGPRINTFLAG&amp;#039;&amp;#039; - by default this is commented out, which means that debug output is off. If you wish to see the debug info printed via serial, then uncomment this line/definition. It makes no sense to enable debug info when KontroLIR is running on batties, as it only serves to reduce batteyr life for no reason. If you are having issues than you can make use of the debug mactos in your own code.&lt;br /&gt;
* &amp;#039;&amp;#039;lbCheck&amp;#039;&amp;#039; - define the frequency of button presses after which we check fro low battery levels. It doesnt make sens doing this check every time, but if you prefer to do this set it to 1. The default is 2.&lt;br /&gt;
* batteyLowThreshold - we set this value to 2 volts or 2.4 volts depending on the clock speed. The recommended default is 2.4volts for 8Mhz. Once this threshold is met KontroLIR will go to sleep permanently to avoid potential for FLASH or EEPROM corruption. Operation will continue once new batteries are inserted.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&amp;#039;&amp;#039;&amp;#039;&amp;#039;&amp;#039;&amp;gt; [[KontroLIR - Arduino compatible IR remote control|KontroLIR Home]] &amp;gt; [[Customizing the KontroLIR Firmware|back]]&amp;#039;&amp;#039;&amp;#039;&amp;#039;&amp;#039;&lt;/div&gt;</summary>
		<author><name>AnalysIR</name></author>
	</entry>
</feed>