<?xml-stylesheet type="text/xsl" href="https://community.element14.com/cfs-file/__key/system/syndication/rss.xsl" media="screen"?><rss version="2.0" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:slash="http://purl.org/rss/1.0/modules/slash/" xmlns:wfw="http://wellformedweb.org/CommentAPI/"><channel><title>Arduino Due w/LCD 20 x 4 cursor location</title><link>/products/arduino/b/blog/posts/arduino-due-w-lcd-20-x-4-cursor-location</link><description>I have an Arduino Due interfeced to an LCD (4 line x 20 char).Its a standard connection scheme using all 8 data bits in this case.Here is my issue:I have a program that prints values from 7 analog inputs A0-A6.I write to A0-A3 in char position 0, lin</description><dc:language>en-US</dc:language><generator>Telligent Community 12</generator><item><title>RE: Arduino Due w/LCD 20 x 4 cursor location</title><link>https://community.element14.com/products/arduino/b/blog/posts/arduino-due-w-lcd-20-x-4-cursor-location</link><pubDate>Wed, 10 Jul 2013 20:31:51 GMT</pubDate><guid isPermaLink="false">93d5dcb4-84c2-446f-b2cb-99731719e767:2de7eb52-822f-4639-b2b1-b850e90f9485</guid><dc:creator>neilk</dc:creator><slash:comments>0</slash:comments><description>&lt;p&gt;I tried (some of) your code on a UNO, driving a 16 x 2 LCD and I was surprised to find that it behaved perfectly without the lcd.setCursor(0,0)&lt;/p&gt;&lt;p&gt;&amp;nbsp;&lt;/p&gt;&lt;p&gt;Like David Shaddock, I would have assumed that it was necessary to reset the cursor to (0,0) each time you go round the loop. Apparently not on a 16 x 2, but maybe it is necessary on a 20 x 4.&lt;/p&gt;&lt;p&gt;&amp;nbsp;&lt;/p&gt;&lt;p&gt;Best wishes&lt;/p&gt;&lt;p&gt;&amp;nbsp;&lt;/p&gt;&lt;p&gt;Neil&lt;/p&gt;&lt;img src="https://community.element14.com/aggbug?PostID=15989&amp;AppID=145&amp;AppType=Weblog&amp;ContentType=0" width="1" height="1"&gt;</description></item><item><title>RE: Arduino Due w/LCD 20 x 4 cursor location</title><link>https://community.element14.com/products/arduino/b/blog/posts/arduino-due-w-lcd-20-x-4-cursor-location</link><pubDate>Mon, 01 Jul 2013 13:12:52 GMT</pubDate><guid isPermaLink="false">93d5dcb4-84c2-446f-b2cb-99731719e767:2de7eb52-822f-4639-b2b1-b850e90f9485</guid><dc:creator>Former Member</dc:creator><slash:comments>0</slash:comments><description>&lt;p&gt;Just under the lcd.clear(); line, you have commented out the lcd.setCursor command.&amp;nbsp; So analog voltage A0 is going to print pretty much wherever the cursor happens to be.&amp;nbsp; It seems to me that clearing the lcd doesn&amp;#39;t restore the cursor to a fixed position, but I haven&amp;#39;t worked with the 20X4 display yet; it all depends on what the lcd library says to do.&amp;nbsp; It may leave the cursor in a random place, or it may remain where it landed last.&lt;/p&gt;&lt;img src="https://community.element14.com/aggbug?PostID=15989&amp;AppID=145&amp;AppType=Weblog&amp;ContentType=0" width="1" height="1"&gt;</description></item></channel></rss>