Updated patch to work with Arduino IDE 1.5 and above.

Using: digitalPinHasPWM and digitalPinToTimer.
This commit is contained in:
fmalpartida
2015-02-27 19:38:56 +01:00
parent c21bff22f4
commit 4d2be4cdfd
3 changed files with 13 additions and 3 deletions
+1 -1
View File
@@ -388,7 +388,7 @@ var searchBox = new SearchBox("searchBox", "search",false,'Search');
<a name="l00304"></a>00304 }
<a name="l00305"></a>00305
<a name="l00306"></a>00306 <span class="preprocessor">#ifdef __AVR__</span>
<a name="l00307"></a>00307 <span class="preprocessor"></span><span class="keywordtype">void</span> <a class="code" href="class_l_c_d.html#a91cba8f93c692abcddf8bc3de58d2d3a">LCD::createChar</a>(uint8_t location, <span class="keyword">const</span> prog_uchar charmap[])
<a name="l00307"></a>00307 <span class="preprocessor"></span><span class="keywordtype">void</span> <a class="code" href="class_l_c_d.html#a91cba8f93c692abcddf8bc3de58d2d3a">LCD::createChar</a>(uint8_t location, <span class="keyword">const</span> char *charmap)
<a name="l00308"></a>00308 {
<a name="l00309"></a>00309 location &amp;= 0x7; <span class="comment">// we only have 8 memory locations 0-7</span>
<a name="l00310"></a>00310