<?xml version='1.0' encoding='UTF-8'?><?xml-stylesheet href="http://www.blogger.com/styles/atom.css" type="text/css"?><feed xmlns='http://www.w3.org/2005/Atom' xmlns:openSearch='http://a9.com/-/spec/opensearchrss/1.0/' xmlns:blogger='http://schemas.google.com/blogger/2008' xmlns:georss='http://www.georss.org/georss' xmlns:gd="http://schemas.google.com/g/2005" xmlns:thr='http://purl.org/syndication/thread/1.0'><id>tag:blogger.com,1999:blog-4088045989109170289</id><updated>2024-10-25T04:33:31.943-07:00</updated><title type='text'>LCD Tutorials</title><subtitle type='html'></subtitle><link rel='http://schemas.google.com/g/2005#feed' type='application/atom+xml' href='http://maverickelectronic.blogspot.com/feeds/posts/default'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/4088045989109170289/posts/default?redirect=false'/><link rel='alternate' type='text/html' href='http://maverickelectronic.blogspot.com/'/><link rel='hub' href='http://pubsubhubbub.appspot.com/'/><author><name>Fuzzythinking</name><uri>http://www.blogger.com/profile/03873781810471485639</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><generator version='7.00' uri='http://www.blogger.com'>Blogger</generator><openSearch:totalResults>12</openSearch:totalResults><openSearch:startIndex>1</openSearch:startIndex><openSearch:itemsPerPage>25</openSearch:itemsPerPage><entry><id>tag:blogger.com,1999:blog-4088045989109170289.post-1824994246084240477</id><published>2013-05-17T23:54:00.002-07:00</published><updated>2013-05-17T23:54:57.435-07:00</updated><title type='text'>LCD Module for £1</title><content type='html'>&lt;div dir=&quot;ltr&quot; style=&quot;text-align: left;&quot; trbidi=&quot;on&quot;&gt;
LCD Module for £1&lt;br /&gt;
&lt;br /&gt;
&lt;a href=&quot;http://uk.ebid.net/for-sale/lcd-module-100395689.htm&quot; style=&quot;background-color: red;&quot;&gt;http://uk.ebid.net/for-sale/lcd-module-100395689.htm&lt;/a&gt;&lt;/div&gt;
</content><link rel='replies' type='application/atom+xml' href='http://maverickelectronic.blogspot.com/feeds/1824994246084240477/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://maverickelectronic.blogspot.com/2013/05/lcd-module-for-1.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/4088045989109170289/posts/default/1824994246084240477'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/4088045989109170289/posts/default/1824994246084240477'/><link rel='alternate' type='text/html' href='http://maverickelectronic.blogspot.com/2013/05/lcd-module-for-1.html' title='LCD Module for £1'/><author><name>Fuzzythinking</name><uri>http://www.blogger.com/profile/03873781810471485639</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-4088045989109170289.post-7015213919092003810</id><published>2013-04-20T07:10:00.002-07:00</published><updated>2013-04-20T07:13:47.277-07:00</updated><title type='text'>LCD module sale starting from £0.01</title><content type='html'>&lt;div dir=&quot;ltr&quot; style=&quot;text-align: left;&quot; trbidi=&quot;on&quot;&gt;
Hi folks&lt;br /&gt;
&lt;div&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div&gt;
I have a few LCD modules on ebids starting from £0.01. &amp;nbsp;&lt;/div&gt;
&lt;div&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div&gt;
&lt;ol style=&quot;text-align: left;&quot;&gt;
&lt;li&gt;LCD modules with 40 characters and 1 line&amp;nbsp;&lt;/li&gt;
&lt;li&gt;LCD modules with 40 characters and 2 lines&lt;/li&gt;
&lt;li&gt;LCD modules with 20 characters and 4 lines&lt;/li&gt;
&lt;li&gt;LCD modules with 20 characters and 1 lines&lt;/li&gt;
&lt;li&gt;LCD modules with 16 characters and 2 lines&lt;/li&gt;
&lt;/ol&gt;
&lt;div&gt;
Happy bidding.....&lt;br /&gt;
&lt;br /&gt;
Please check out here -&amp;nbsp;&lt;a href=&quot;http://uk.ebid.net/items/MaverickElecontron&quot;&gt;&lt;span style=&quot;color: red;&quot;&gt;&lt;b&gt;http://uk.ebid.net/items/MaverickElecontron&lt;/b&gt;&lt;/span&gt;&lt;/a&gt;&lt;/div&gt;
&lt;/div&gt;
&lt;/div&gt;
</content><link rel='replies' type='application/atom+xml' href='http://maverickelectronic.blogspot.com/feeds/7015213919092003810/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://maverickelectronic.blogspot.com/2013/04/different-lcd-module-sale-starting-from.html#comment-form' title='1 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/4088045989109170289/posts/default/7015213919092003810'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/4088045989109170289/posts/default/7015213919092003810'/><link rel='alternate' type='text/html' href='http://maverickelectronic.blogspot.com/2013/04/different-lcd-module-sale-starting-from.html' title='LCD module sale starting from £0.01'/><author><name>Fuzzythinking</name><uri>http://www.blogger.com/profile/03873781810471485639</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><thr:total>1</thr:total></entry><entry><id>tag:blogger.com,1999:blog-4088045989109170289.post-7346084650663367695</id><published>2013-04-18T00:31:00.002-07:00</published><updated>2013-04-20T07:14:16.586-07:00</updated><title type='text'>Press and Peel </title><content type='html'>&lt;div dir=&quot;ltr&quot; style=&quot;text-align: left;&quot; trbidi=&quot;on&quot;&gt;
I have been making PCB board using Press and Peel for many years now. &amp;nbsp;They are easy to use and fun. &amp;nbsp;I highly recommend you to buy Press and Peel from&amp;nbsp;&lt;a href=&quot;http://uk.ebid.net/for-sale/press-and-peel-100400560.htm&quot;&gt;&lt;span style=&quot;color: red;&quot;&gt;&lt;b&gt;http://uk.ebid.net/for-sale/press-and-peel-100400560.htm&lt;/b&gt;&lt;/span&gt;&lt;/a&gt;&lt;br /&gt;
&lt;br /&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;
&lt;a href=&quot;http://ebid.s3.amazonaws.com/upload_big/6/1/1/1364924368-21300-10.jpg&quot; imageanchor=&quot;1&quot; style=&quot;margin-left: 1em; margin-right: 1em;&quot;&gt;&lt;img border=&quot;0&quot; src=&quot;http://ebid.s3.amazonaws.com/upload_big/6/1/1/1364924368-21300-10.jpg&quot; /&gt;&lt;/a&gt;&lt;/div&gt;
&lt;br /&gt;&lt;/div&gt;
</content><link rel='replies' type='application/atom+xml' href='http://maverickelectronic.blogspot.com/feeds/7346084650663367695/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://maverickelectronic.blogspot.com/2013/04/press-and-peel.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/4088045989109170289/posts/default/7346084650663367695'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/4088045989109170289/posts/default/7346084650663367695'/><link rel='alternate' type='text/html' href='http://maverickelectronic.blogspot.com/2013/04/press-and-peel.html' title='Press and Peel '/><author><name>Fuzzythinking</name><uri>http://www.blogger.com/profile/03873781810471485639</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-4088045989109170289.post-4093318392806060661</id><published>2013-04-17T14:57:00.001-07:00</published><updated>2013-04-18T00:49:32.650-07:00</updated><title type='text'>Where to buy cheap LCD Modules from?</title><content type='html'>&lt;div dir=&quot;ltr&quot; style=&quot;text-align: left;&quot; trbidi=&quot;on&quot;&gt;
Hi&lt;br /&gt;
&lt;br /&gt;
If you want to buy LCD modules or other electronic components, I highly recommend you to go&lt;br /&gt;
&lt;a href=&quot;http://uk.ebid.net/perl/main.cgi?words=1390051&amp;amp;category2=14&amp;amp;categoryid=14&amp;amp;categoryonly=on&amp;amp;mo=search&amp;amp;type=user&quot;&gt;http://uk.ebid.net/perl/main.cgi?words=1390051&amp;amp;category2=14&amp;amp;categoryid=14&amp;amp;categoryonly=on&amp;amp;mo=search&amp;amp;type=user&lt;/a&gt;&lt;br /&gt;
&lt;br /&gt;
This link offers electronic components at excellent price.&lt;br /&gt;
&lt;br /&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;
&lt;a href=&quot;http://ebid.s3.amazonaws.com/upload_big/0/8/8/1364923487-16605-2.jpg&quot; imageanchor=&quot;1&quot; style=&quot;margin-left: 1em; margin-right: 1em;&quot;&gt;&lt;img border=&quot;0&quot; height=&quot;318&quot; src=&quot;http://ebid.s3.amazonaws.com/upload_big/0/8/8/1364923487-16605-2.jpg&quot; width=&quot;320&quot; /&gt;&lt;/a&gt;&lt;/div&gt;
&lt;br /&gt;&lt;/div&gt;
</content><link rel='replies' type='application/atom+xml' href='http://maverickelectronic.blogspot.com/feeds/4093318392806060661/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://maverickelectronic.blogspot.com/2013/04/hi-if-you-want-to-buy-lcd-modules-or.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/4088045989109170289/posts/default/4093318392806060661'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/4088045989109170289/posts/default/4093318392806060661'/><link rel='alternate' type='text/html' href='http://maverickelectronic.blogspot.com/2013/04/hi-if-you-want-to-buy-lcd-modules-or.html' title='Where to buy cheap LCD Modules from?'/><author><name>Fuzzythinking</name><uri>http://www.blogger.com/profile/03873781810471485639</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-4088045989109170289.post-8629535708648555738</id><published>2011-06-07T14:53:00.000-07:00</published><updated>2013-04-18T00:46:54.282-07:00</updated><title type='text'>LCD Tutorial 7</title><content type='html'>&lt;div dir=&quot;ltr&quot; style=&quot;text-align: left;&quot; trbidi=&quot;on&quot;&gt;
&lt;br /&gt;
&lt;div class=&quot;style20&quot;&gt;
&lt;span class=&quot;Apple-style-span&quot; style=&quot;font-family: Arial, Helvetica, sans-serif;&quot;&gt;&lt;strong&gt;Tutorial 7 - Marquee part 2&lt;/strong&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;style20&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div class=&quot;style26&quot;&gt;
&lt;span class=&quot;Apple-style-span&quot; style=&quot;font-family: Arial, Helvetica, sans-serif;&quot;&gt;This project proves to be more challenging than tutorial 7.  Instead of using command_shift, I simply rely on the display address in order to  move the letter across the LCD module from right to left. Each letter starts at  0x90 which cannot be seen on the LCD panel (See more information &amp;nbsp;in  tutorial 3).&amp;nbsp;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;style26&quot;&gt;
&lt;span class=&quot;Apple-style-span&quot; style=&quot;font-family: Arial, Helvetica, sans-serif;&quot;&gt;&lt;br /&gt;
&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;style26&quot;&gt;
&lt;span class=&quot;Apple-style-span&quot; style=&quot;font-family: Arial, Helvetica, sans-serif;&quot;&gt;Each letter moves backward until it reaches on the 1st character on  the 1st line. The second letter will stop at 2nd character of the LCD module,  third letter stop at third character. It keeps going until the letter run out.  The codes has been hardly changed apart from the character_mode prototype  function as it needs to be modified in order to operate as marquee.&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;style26&quot;&gt;
&lt;span class=&quot;Apple-style-span&quot; style=&quot;font-family: Arial, Helvetica, sans-serif;&quot;&gt;&lt;br /&gt;
&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;style26&quot;&gt;
&lt;span class=&quot;Apple-style-span&quot; style=&quot;font-family: Arial, Helvetica, sans-serif;&quot;&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;-webkit-border-horizontal-spacing: 10px; -webkit-border-vertical-spacing: 10px; font-family: &#39;Times New Roman&#39;;&quot;&gt;&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px;&quot;&gt;
&lt;span class=&quot;Apple-style-span&quot; style=&quot;font-family: Arial, Helvetica, sans-serif;&quot;&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;font-family: Arial, Helvetica, sans-serif;&quot;&gt;&lt;span class=&quot;style35&quot;&gt;&lt;strong&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;color: #38761d; font-size: x-small;&quot;&gt;// Prototype function&lt;/span&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;font-size: x-small;&quot;&gt;&amp;nbsp;&lt;/span&gt;&lt;/strong&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px;&quot;&gt;
&lt;span class=&quot;Apple-style-span&quot; style=&quot;font-family: Arial, Helvetica, sans-serif;&quot;&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;font-family: Arial, Helvetica, sans-serif;&quot;&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;font-size: x-small;&quot;&gt;&lt;span class=&quot;style26&quot;&gt;void character_mode(tByte *s)&lt;br /&gt;
{&lt;br /&gt;
&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; tByte string,ADDRESS=0X90;&lt;br /&gt;
&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; tWord x,P;&lt;br /&gt;
&lt;/span&gt;&lt;span class=&quot;style35&quot;&gt;&lt;strong&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;color: #38761d;&quot;&gt;// Switch character mode on&amp;nbsp;&lt;/span&gt;&lt;/strong&gt;&lt;/span&gt;&lt;span class=&quot;style26&quot;&gt;&lt;br /&gt;
&lt;/span&gt;&lt;span class=&quot;style35&quot;&gt;&lt;strong&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;color: #38761d;&quot;&gt;// RS=ON&lt;/span&gt;&lt;/strong&gt;&lt;/span&gt;&lt;span class=&quot;style26&quot;&gt;&lt;br /&gt;
&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; P=16;&lt;br /&gt;
&lt;br /&gt;
&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; while(*s != 0x0)&lt;br /&gt;
&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; {&lt;br /&gt;
&lt;br /&gt;
&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; string=*s;&lt;br /&gt;
&lt;br /&gt;
&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; for (x=0; x&amp;lt;=P; ++x)&lt;br /&gt;
&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; {&lt;br /&gt;
&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;&lt;/span&gt;&amp;nbsp;&lt;span class=&quot;style35&quot;&gt;&lt;strong&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp;&lt;/strong&gt;&lt;/span&gt;&lt;span class=&quot;style26&quot;&gt;&amp;nbsp;RS=ON;&lt;br /&gt;
&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; table_lookup(string);&lt;br /&gt;
&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; pulse_e();&lt;br /&gt;
&amp;nbsp;&lt;/span&gt;&amp;nbsp;&lt;span class=&quot;style35&quot;&gt;&lt;strong&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;&amp;nbsp;&lt;/strong&gt;&amp;nbsp;&lt;/span&gt;&lt;span class=&quot;style26&quot;&gt;&amp;nbsp;RS=OFF;&lt;/span&gt;&amp;nbsp;&lt;span class=&quot;style26&quot;&gt;&lt;br /&gt;
&lt;/span&gt;&lt;span class=&quot;style35&quot;&gt;&lt;strong&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;&amp;nbsp;&lt;/strong&gt;&lt;/span&gt;&lt;span class=&quot;style26&quot;&gt;RS=ON;&lt;br /&gt;
&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; DATA=0x20;&lt;br /&gt;
&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; pulse_e();&lt;br /&gt;
&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; RS=OFF;&lt;br /&gt;
&lt;br /&gt;
&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; --ADDRESS;&lt;br /&gt;
&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; display_address(ADDRESS);&lt;br /&gt;
&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; Delay_Loop(5);&lt;br /&gt;
&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; }&lt;br /&gt;
&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; s++;&lt;br /&gt;
&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; ADDRESS=0x90;&lt;br /&gt;
&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; display_address(ADDRESS);&lt;br /&gt;
&lt;br /&gt;
&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; --P;&lt;br /&gt;
&lt;br /&gt;
&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; }&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px;&quot;&gt;
&lt;span class=&quot;Apple-style-span&quot; style=&quot;font-family: Arial, Helvetica, sans-serif;&quot;&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;font-family: Arial, Helvetica, sans-serif; font-size: x-small;&quot;&gt;}&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;
&lt;br /&gt;
&lt;div class=&quot;style26&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div class=&quot;style26&quot; style=&quot;text-align: center;&quot;&gt;
&lt;span class=&quot;Apple-style-span&quot; style=&quot;font-family: Arial, Helvetica, sans-serif;&quot;&gt;&lt;a href=&quot;http://www.2shared.com/file/cf2fxfUv/Tutorial_7.html&quot;&gt;Download Tutorial 7 Code&lt;/a&gt;&lt;/span&gt;&lt;/div&gt;
&lt;/div&gt;
</content><link rel='replies' type='application/atom+xml' href='http://maverickelectronic.blogspot.com/feeds/8629535708648555738/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://maverickelectronic.blogspot.com/2011/06/tutorial-7.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/4088045989109170289/posts/default/8629535708648555738'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/4088045989109170289/posts/default/8629535708648555738'/><link rel='alternate' type='text/html' href='http://maverickelectronic.blogspot.com/2011/06/tutorial-7.html' title='LCD Tutorial 7'/><author><name>Fuzzythinking</name><uri>http://www.blogger.com/profile/03873781810471485639</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-4088045989109170289.post-5480877839176836571</id><published>2011-06-07T14:45:00.000-07:00</published><updated>2013-04-18T00:47:10.527-07:00</updated><title type='text'>LCD Tutorial 6</title><content type='html'>&lt;div dir=&quot;ltr&quot; style=&quot;text-align: left;&quot; trbidi=&quot;on&quot;&gt;
&lt;br /&gt;
&lt;div class=&quot;style20&quot;&gt;
&lt;span class=&quot;Apple-style-span&quot; style=&quot;font-family: Arial, Helvetica, sans-serif;&quot;&gt;&lt;strong&gt;Tutorial 6 - Marquee part 1&lt;/strong&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;style20&quot;&gt;
&lt;span class=&quot;Apple-style-span&quot; style=&quot;font-family: Arial, Helvetica, sans-serif;&quot;&gt;&lt;br /&gt;
&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;style26&quot;&gt;
&lt;span class=&quot;Apple-style-span&quot; style=&quot;font-family: Arial, Helvetica, sans-serif;&quot;&gt;Another function prototype such as command_shift has  specifically added in this tutorial. This prototype function is designed to  shift the character either left or right. According to the command set table,  the fifth row indicates that 0x18 and 0x17 would be used for shifting left and  right respectively. &lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;style26&quot;&gt;
&lt;span class=&quot;Apple-style-span&quot; style=&quot;font-family: Arial, Helvetica, sans-serif;&quot;&gt;&lt;br /&gt;
&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;style26&quot;&gt;
&lt;span class=&quot;Apple-style-span&quot; style=&quot;font-family: Arial, Helvetica, sans-serif;&quot;&gt;In the character mode prototype function has been slightly  modified as the global variable such as size_G is used to count the maximum  character in text. Then the size_G add with the local variable such n=16 because  of the number characters in the LCD module.&amp;nbsp;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;style26&quot;&gt;
&lt;span class=&quot;Apple-style-span&quot; style=&quot;font-family: Arial, Helvetica, sans-serif;&quot;&gt;&lt;br /&gt;
&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;style26&quot;&gt;
&lt;span class=&quot;Apple-style-span&quot; style=&quot;font-family: Arial, Helvetica, sans-serif;&quot;&gt;Basically the code below just shift  the text across the LCD module from right to left. In the &#39;do&#39; section includes  the delay_loop which allow the text stay on the LCD module for few seconds then  shift again. When the text disappear from the screen, the 0x01 is executed in  order to clear the display screen and repeat the above process again.&amp;nbsp;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;style26&quot;&gt;
&lt;span class=&quot;Apple-style-span&quot; style=&quot;font-family: Arial, Helvetica, sans-serif;&quot;&gt;&lt;br /&gt;
&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;style26&quot;&gt;
&lt;span class=&quot;Apple-style-span&quot; style=&quot;font-family: Arial, Helvetica, sans-serif; font-size: x-small;&quot;&gt;&lt;span class=&quot;style35&quot;&gt;&lt;strong&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;color: #38761d;&quot;&gt;// Global Variable&lt;/span&gt; &lt;/strong&gt;&lt;/span&gt;&lt;span class=&quot;style26&quot;&gt;&lt;br /&gt;
int size_G; &lt;br /&gt;
&lt;br /&gt;
void main(void) &lt;br /&gt;
{ &lt;br /&gt;
&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; int n;  &lt;br /&gt;
&lt;br /&gt;
&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &lt;/span&gt;&lt;span class=&quot;style35&quot;&gt;&lt;strong&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;color: #38761d;&quot;&gt;// Configure LCD module into 2  lines, 8-Bits and 5x7 Pixels&lt;/span&gt; &lt;/strong&gt;&lt;/span&gt;&lt;span class=&quot;style26&quot;&gt;&lt;br /&gt;
&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;  function_set(); &lt;/span&gt;&lt;span class=&quot;style35&quot;&gt;&lt;strong&gt;&lt;br /&gt;
&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;&lt;span class=&quot;Apple-style-span&quot; style=&quot;color: #38761d;&quot;&gt; // Blinking  and underline cursor&lt;/span&gt; &lt;/strong&gt;&lt;/span&gt;&lt;span class=&quot;style26&quot;&gt;&lt;br /&gt;
&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;  display_cursor(0x08); &lt;br /&gt;
&lt;br /&gt;
&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; while(1) &lt;br /&gt;
&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; {  &lt;br /&gt;
&lt;/span&gt;&lt;span class=&quot;style35&quot;&gt;&lt;strong&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;color: #38761d;&quot;&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; // Place character on $00&lt;/span&gt;  &lt;/strong&gt;&lt;/span&gt;&lt;span class=&quot;style26&quot;&gt;&lt;br /&gt;
&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; display_address(0x80);  &lt;br /&gt;
&lt;/span&gt;&lt;span class=&quot;style35&quot;&gt;&lt;strong&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;color: #38761d;&quot;&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; // Enter characters&lt;/span&gt;  &lt;/strong&gt;&lt;/span&gt;&lt;span class=&quot;style26&quot;&gt;&lt;br /&gt;
&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; character_mode(&quot;TEST&quot;);  &lt;br /&gt;
&lt;/span&gt;&lt;span class=&quot;style35&quot;&gt;&lt;strong&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &lt;span class=&quot;Apple-style-span&quot; style=&quot;color: #38761d;&quot;&gt;// Determine the max length of  characters&lt;/span&gt; &lt;/strong&gt;&lt;/span&gt;&lt;span class=&quot;style26&quot;&gt;&lt;br /&gt;
&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; n=16+size_G;  &lt;/span&gt;&lt;span class=&quot;style35&quot;&gt;&lt;strong&gt;&lt;br /&gt;
&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &lt;span class=&quot;Apple-style-span&quot; style=&quot;color: #38761d;&quot;&gt;// Blinking and underline  cursor &lt;/span&gt;&lt;/strong&gt;&lt;/span&gt;&lt;span class=&quot;style26&quot;&gt;&lt;br /&gt;
&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; display_cursor(0x0c);&lt;br /&gt;
&lt;br /&gt;
&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; do &lt;br /&gt;
&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; { &lt;br /&gt;
&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; Delay_Loop(20);&lt;br /&gt;
&lt;/span&gt;&lt;span class=&quot;style35&quot;&gt;&lt;strong&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;&lt;span class=&quot;Apple-style-span&quot; style=&quot;color: #38761d;&quot;&gt; // Shifting text from right to left&lt;/span&gt;  &lt;/strong&gt;&lt;/span&gt;&lt;span class=&quot;style26&quot;&gt;&lt;br /&gt;
&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; command_shift(0x18); &lt;br /&gt;
&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;  n--; &lt;br /&gt;
&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; } &amp;nbsp; &amp;nbsp; &amp;nbsp; while(n !=0x00); &lt;/span&gt;&lt;span class=&quot;style26&quot;&gt;&lt;br /&gt;
&lt;span class=&quot;style35&quot;&gt;&lt;strong&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &lt;span class=&quot;Apple-style-span&quot; style=&quot;color: #38761d;&quot;&gt;// Clear  display&lt;/span&gt;&lt;/strong&gt;&lt;/span&gt;&lt;br /&gt;
&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; DATA=0x01; &lt;br /&gt;
&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; pulse_e(); &lt;br /&gt;
&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;  }&amp;nbsp;&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;style26&quot;&gt;
&lt;span class=&quot;Apple-style-span&quot; style=&quot;font-family: Arial, Helvetica, sans-serif; font-size: x-small;&quot;&gt;}&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;style26&quot;&gt;
&lt;span class=&quot;Apple-style-span&quot; style=&quot;font-family: Arial, Helvetica, sans-serif;&quot;&gt;&lt;br /&gt;
&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;style26&quot; style=&quot;text-align: center;&quot;&gt;
&lt;span class=&quot;Apple-style-span&quot; style=&quot;font-family: Arial, Helvetica, sans-serif;&quot;&gt;&lt;a href=&quot;http://www.2shared.com/file/yPTGqZ0Z/Tutorial_6.html&quot;&gt;Download Tutorial 6 Code&lt;/a&gt;&lt;/span&gt;&lt;/div&gt;
&lt;/div&gt;
</content><link rel='replies' type='application/atom+xml' href='http://maverickelectronic.blogspot.com/feeds/5480877839176836571/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://maverickelectronic.blogspot.com/2011/06/tutorial-6.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/4088045989109170289/posts/default/5480877839176836571'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/4088045989109170289/posts/default/5480877839176836571'/><link rel='alternate' type='text/html' href='http://maverickelectronic.blogspot.com/2011/06/tutorial-6.html' title='LCD Tutorial 6'/><author><name>Fuzzythinking</name><uri>http://www.blogger.com/profile/03873781810471485639</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-4088045989109170289.post-5668159654680432212</id><published>2011-05-29T16:16:00.000-07:00</published><updated>2013-04-18T00:47:23.750-07:00</updated><title type='text'>LCD Tutorial 5</title><content type='html'>&lt;div dir=&quot;ltr&quot; style=&quot;text-align: left;&quot; trbidi=&quot;on&quot;&gt;
&lt;div class=&quot;style20&quot;&gt;
&lt;/div&gt;
&lt;div style=&quot;text-align: center;&quot;&gt;
&lt;strong&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;font-family: Arial, Helvetica, sans-serif;&quot;&gt;Modified character entry source  code&lt;/span&gt;&lt;/strong&gt;&lt;/div&gt;
&lt;strong&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;font-family: Arial, Helvetica, sans-serif;&quot;&gt;&lt;br /&gt;
&lt;/span&gt;&lt;/strong&gt;&lt;br /&gt;
&lt;div class=&quot;style26&quot;&gt;
&lt;span class=&quot;Apple-style-span&quot; style=&quot;font-family: Arial, Helvetica, sans-serif;&quot;&gt;The previous tutorial taught you how to implement the character  mode and the code is very simple. &amp;nbsp;If you have not seen it, please check &#39;Tutorial Four&#39; out before starting here. &amp;nbsp;This time, six function prototypes have been  developed because it will save your time to use repetitive codes. The additional  function prototypes are:&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;style26&quot;&gt;
&lt;span class=&quot;Apple-style-span&quot; style=&quot;font-family: Arial, Helvetica, sans-serif;&quot;&gt;&lt;br /&gt;
&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;style26&quot;&gt;
&lt;span class=&quot;Apple-style-span&quot; style=&quot;font-family: Arial, Helvetica, sans-serif;&quot;&gt;&lt;span class=&quot;style26&quot;&gt;&amp;nbsp;character_mode &amp;nbsp; -&amp;nbsp;&lt;/span&gt;It allows you to enter character in your LCD&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;style26&quot;&gt;
&lt;span class=&quot;Apple-style-span&quot; style=&quot;font-family: Arial, Helvetica, sans-serif;&quot;&gt;&lt;span class=&quot;style26&quot;&gt;&amp;nbsp;display_cursor &amp;nbsp; &amp;nbsp; &amp;nbsp;-&amp;nbsp;&lt;/span&gt;Configures the underline, cursor and blink&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;style26&quot;&gt;
&lt;span class=&quot;Apple-style-span&quot; style=&quot;font-family: Arial, Helvetica, sans-serif;&quot;&gt;&lt;span class=&quot;style26&quot;&gt;&amp;nbsp;display_address &amp;nbsp; -&amp;nbsp;&lt;/span&gt;Displays character within 2x16 character&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;style26&quot;&gt;
&lt;span class=&quot;Apple-style-span&quot; style=&quot;font-family: Arial, Helvetica, sans-serif;&quot;&gt;&amp;nbsp; function_mode &amp;nbsp; &amp;nbsp; -&amp;nbsp;Configures number of line, bit and format&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;style26&quot;&gt;
&lt;span class=&quot;Apple-style-span&quot; style=&quot;font-family: Arial, Helvetica, sans-serif;&quot;&gt;&amp;nbsp; table_lookup &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;- A table consists of A to Z and and numbers&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;style26&quot;&gt;
&lt;span class=&quot;Apple-style-span&quot; style=&quot;font-family: Arial, Helvetica, sans-serif;&quot;&gt;&lt;span class=&quot;style26&quot;&gt;&amp;nbsp; stop &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; -&amp;nbsp;&lt;/span&gt;No operation&lt;/span&gt;&lt;/div&gt;
&lt;span class=&quot;style26&quot;&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;font-family: Arial, Helvetica, sans-serif;&quot;&gt;&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;
&lt;div&gt;
&lt;span class=&quot;style26&quot;&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;font-family: Arial, Helvetica, sans-serif;&quot;&gt;&lt;span class=&quot;style26&quot;&gt;&lt;br /&gt;
&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;
&lt;span class=&quot;style26&quot;&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;font-family: Arial, Helvetica, sans-serif;&quot;&gt;&lt;span class=&quot;style26&quot;&gt;Above the first column is the functional prototype which will be used in the code, the description on the 2nd column explains what each functional prototype actually does. &amp;nbsp;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;
&lt;span class=&quot;style26&quot;&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;font-family: Arial, Helvetica, sans-serif;&quot;&gt;&amp;nbsp;&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;
&lt;div&gt;
&lt;span class=&quot;style26&quot;&gt;&lt;span class=&quot;style26&quot;&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;font-family: Arial, Helvetica, sans-serif;&quot;&gt;According to the source code below, the function_set has been  configured so that the LCD module will use 2 lines, 8 bits and 5x7 format. The  first character will display on $00. If you look the fourth line in the command  mode table in tutorial, 0x08 would represent that cursor, underline and blink  have been disabled.&amp;nbsp;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;
&lt;span class=&quot;style26&quot;&gt;&lt;span class=&quot;style26&quot;&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;font-family: Arial, Helvetica, sans-serif;&quot;&gt;&lt;br /&gt;
&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;
&lt;span class=&quot;style26&quot;&gt;&lt;span class=&quot;style26&quot;&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;font-family: Arial, Helvetica, sans-serif;&quot;&gt;The character_mode function prototype automatically display  &#39;HELLO WORLD&#39; and it uses the table_lookup function prototype in order to find  the hexadecimal number for each character. You can put different word between (&#39;  &#39;) in the character_mode function prototype. Another display_cursor has been  configured in order to enable underline, cursor and blink. Finally stop function  prototype use &#39;while&#39; loop which run endless.&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;
&lt;span class=&quot;style26&quot;&gt;&lt;span class=&quot;style26&quot;&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;font-family: Arial, Helvetica, sans-serif; font-size: x-small;&quot;&gt;&lt;br /&gt;
&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;
&lt;span class=&quot;style26&quot;&gt;&lt;span class=&quot;style26&quot;&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;font-family: Arial, Helvetica, sans-serif; font-size: x-small;&quot;&gt;&amp;nbsp;void main()&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;
&lt;span class=&quot;style26&quot;&gt;&lt;span class=&quot;style26&quot;&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;font-family: Arial, Helvetica, sans-serif; font-size: x-small;&quot;&gt;{&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;
&lt;span class=&quot;style26&quot;&gt;&lt;span class=&quot;style26&quot;&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;font-family: Arial, Helvetica, sans-serif; font-size: x-small;&quot;&gt;&lt;span class=&quot;style35&quot;&gt;&lt;strong&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &lt;span class=&quot;Apple-style-span&quot; style=&quot;color: #38761d;&quot;&gt;&amp;nbsp;// Configue LCD module into 2 lines, 8-Bits and 5x7 Pixels&lt;/span&gt;&lt;/strong&gt;&lt;/span&gt; &lt;br /&gt;
&amp;nbsp;  &amp;nbsp; &amp;nbsp; &amp;nbsp; function_set(); &lt;br /&gt;
&lt;br /&gt;
&amp;nbsp; &amp;nbsp; &amp;nbsp; &lt;span class=&quot;Apple-style-span&quot; style=&quot;color: #38761d;&quot;&gt;&amp;nbsp; &lt;span class=&quot;style35&quot;&gt;&lt;strong&gt;// Place  character on $00 &lt;/strong&gt;&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;
&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; display_address(0x80); &lt;br /&gt;
&lt;br /&gt;
&amp;nbsp; &amp;nbsp;  &amp;nbsp; &amp;nbsp;&lt;span class=&quot;style35&quot;&gt;&lt;strong&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;color: #38761d;&quot;&gt; // Blinking and underline cursor&lt;/span&gt;  &lt;/strong&gt;&lt;/span&gt;&lt;br /&gt;
&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; display_cursor(0x08); &lt;br /&gt;
&lt;br /&gt;
&lt;span class=&quot;Apple-style-span&quot; style=&quot;color: #38761d;&quot;&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &lt;span class=&quot;style35&quot;&gt;&lt;strong&gt;// Enter characters &lt;/strong&gt;&lt;/span&gt;&lt;/span&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;  character_mode(&#39;&#39;&lt;span class=&quot;style36&quot;&gt;&lt;strong&gt;HELLO WORLD&lt;/strong&gt;&lt;/span&gt;&quot;);  &lt;br /&gt;
&lt;br /&gt;
&lt;span class=&quot;Apple-style-span&quot; style=&quot;color: #38761d;&quot;&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &lt;/span&gt;&lt;span class=&quot;style35&quot;&gt;&lt;strong&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;color: #38761d;&quot;&gt;// Blinking and underline cursor&lt;/span&gt;  &lt;/strong&gt;&lt;/span&gt;&lt;br /&gt;
&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; display_cursor(0x0F); &lt;br /&gt;
&lt;br /&gt;
&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &lt;span class=&quot;style35&quot;&gt;&lt;strong&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;color: #38761d;&quot;&gt;// Stop there&lt;/span&gt; &lt;/strong&gt;&lt;/span&gt;&lt;br /&gt;
&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; stop();&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;
&lt;span class=&quot;style26&quot;&gt;&lt;span class=&quot;style26&quot;&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;font-family: Arial, Helvetica, sans-serif; font-size: x-small;&quot;&gt;}&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;
&lt;span class=&quot;style26&quot;&gt;&lt;span class=&quot;style26&quot;&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;font-family: Arial, Helvetica, sans-serif;&quot;&gt;&lt;br /&gt;
&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;
&lt;a href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhIQcZ1Ws7EjDYa_kaVhwCR5ez-9XKvqz3XZwMm8p0_m09i6D2rLVSaehoWQoKOFg8GFI5myKwI5-63k_zuXL3Wc49skaJldEj_swEv0mDaGSwCzBVSKk7CFKdultM0sfdb9FtoHtuTQO8/s1600/LCD_HW.JPG&quot; imageanchor=&quot;1&quot; style=&quot;margin-left: 1em; margin-right: 1em;&quot;&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;font-family: Arial, Helvetica, sans-serif;&quot;&gt;&lt;img border=&quot;0&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhIQcZ1Ws7EjDYa_kaVhwCR5ez-9XKvqz3XZwMm8p0_m09i6D2rLVSaehoWQoKOFg8GFI5myKwI5-63k_zuXL3Wc49skaJldEj_swEv0mDaGSwCzBVSKk7CFKdultM0sfdb9FtoHtuTQO8/s1600/LCD_HW.JPG&quot; /&gt;&lt;/span&gt;&lt;/a&gt;&lt;/div&gt;
&lt;div&gt;
&lt;span class=&quot;style26&quot;&gt;&lt;span class=&quot;style26&quot;&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;font-family: Arial, Helvetica, sans-serif;&quot;&gt;&lt;br /&gt;
&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;
&lt;span class=&quot;style26&quot;&gt;&lt;span class=&quot;style26&quot;&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;font-family: Arial, Helvetica, sans-serif;&quot;&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;
&lt;div class=&quot;style26&quot;&gt;
&lt;span class=&quot;style26&quot;&gt;&lt;span class=&quot;style26&quot;&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;font-family: Arial, Helvetica, sans-serif;&quot;&gt;Since there are only 16 character in each line, so it would not  show the word with more than 16 letters. In the same source code, it has been  devised to display the 17th character in the second line by using the  display_cursor(0xC0); function prototype. Check it out in the character_mode  function prototype. Here is an example, let apply &#39;DEOXYRIBONUCLEIC ACID&#39; in the  character_mode in the main program. You should see like this:&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;style26&quot;&gt;
&lt;span class=&quot;style26&quot;&gt;&lt;span class=&quot;style26&quot;&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;font-family: Arial, Helvetica, sans-serif;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;
&lt;span class=&quot;style26&quot;&gt;&lt;span class=&quot;style26&quot;&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;font-family: Arial, Helvetica, sans-serif;&quot;&gt;&lt;a href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgo9rT37041HVAdvHE6q4AeQRlcS0CHJojy_n6Omkz6GCWyNhrFTi2g06iovAFYfeUlr_ulyYIYAxAAMM971ss7pKQAYori3z74wrLsT24T1gI0N-GTJK6sRrsk0w9i5g8D9mg9xgx5vM8/s1600/LCD_DNA.JPG&quot; imageanchor=&quot;1&quot; style=&quot;margin-left: 1em; margin-right: 1em;&quot;&gt;&lt;img border=&quot;0&quot; height=&quot;240&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgo9rT37041HVAdvHE6q4AeQRlcS0CHJojy_n6Omkz6GCWyNhrFTi2g06iovAFYfeUlr_ulyYIYAxAAMM971ss7pKQAYori3z74wrLsT24T1gI0N-GTJK6sRrsk0w9i5g8D9mg9xgx5vM8/s320/LCD_DNA.JPG&quot; width=&quot;320&quot; /&gt;&lt;/a&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;style26&quot;&gt;
&lt;span class=&quot;style26&quot;&gt;&lt;span class=&quot;style26&quot;&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;font-family: Arial, Helvetica, sans-serif;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;style26&quot; style=&quot;text-align: center;&quot;&gt;
&lt;span class=&quot;style26&quot;&gt;&lt;span class=&quot;style26&quot;&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;font-family: Arial, Helvetica, sans-serif;&quot;&gt;&lt;a href=&quot;http://www.2shared.com/file/Df04nblt/Tutorial_5.html&quot;&gt;Download Tutorial 5 Code&lt;/a&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;
&lt;/div&gt;
&lt;/div&gt;
</content><link rel='replies' type='application/atom+xml' href='http://maverickelectronic.blogspot.com/feeds/5668159654680432212/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://maverickelectronic.blogspot.com/2011/05/tutorial-5.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/4088045989109170289/posts/default/5668159654680432212'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/4088045989109170289/posts/default/5668159654680432212'/><link rel='alternate' type='text/html' href='http://maverickelectronic.blogspot.com/2011/05/tutorial-5.html' title='LCD Tutorial 5'/><author><name>Fuzzythinking</name><uri>http://www.blogger.com/profile/03873781810471485639</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><media:thumbnail xmlns:media="http://search.yahoo.com/mrss/" url="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhIQcZ1Ws7EjDYa_kaVhwCR5ez-9XKvqz3XZwMm8p0_m09i6D2rLVSaehoWQoKOFg8GFI5myKwI5-63k_zuXL3Wc49skaJldEj_swEv0mDaGSwCzBVSKk7CFKdultM0sfdb9FtoHtuTQO8/s72-c/LCD_HW.JPG" height="72" width="72"/><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-4088045989109170289.post-2300195260131925821</id><published>2011-05-25T06:29:00.000-07:00</published><updated>2013-04-18T00:47:41.396-07:00</updated><title type='text'>LCD Tutorial 4</title><content type='html'>&lt;div dir=&quot;ltr&quot; style=&quot;text-align: left;&quot; trbidi=&quot;on&quot;&gt;
&lt;div align=&quot;center&quot;&gt;
&lt;span style=&quot;font-family: Arial, Helvetica, sans-serif;&quot;&gt;&quot;Hello World&quot;&lt;/span&gt;&lt;/div&gt;
&lt;div align=&quot;center&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div style=&quot;text-align: left;&quot;&gt;
&lt;span style=&quot;font-family: Arial, Helvetica, sans-serif;&quot;&gt;﻿&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;
&lt;a href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEiBgHvA2tfDZuSRHbCG78kRZ8ww6K1UFc6O3-jUMnwgrQWynvQbXMBbtnvpBuWZQ1oL8_I035OlXgf27O-qGJSyUhtxZhjw-Ur8xkguYkOynO6rgyXDzOLOs8CAuOrEdDwUiYcJKuiAUz8/s1600/LCD_Hello_World.JPG&quot; imageanchor=&quot;1&quot; style=&quot;margin-left: 1em; margin-right: 1em;&quot;&gt;&lt;span style=&quot;font-family: Arial, Helvetica, sans-serif;&quot;&gt;&lt;img border=&quot;0&quot; height=&quot;239&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEiBgHvA2tfDZuSRHbCG78kRZ8ww6K1UFc6O3-jUMnwgrQWynvQbXMBbtnvpBuWZQ1oL8_I035OlXgf27O-qGJSyUhtxZhjw-Ur8xkguYkOynO6rgyXDzOLOs8CAuOrEdDwUiYcJKuiAUz8/s320/LCD_Hello_World.JPG&quot; t8=&quot;true&quot; width=&quot;320&quot; /&gt;&lt;/span&gt;&lt;/a&gt;&lt;/div&gt;
&lt;div style=&quot;text-align: left;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div class=&quot;style8 style26&quot;&gt;
&lt;span style=&quot;font-family: Arial, Helvetica, sans-serif;&quot;&gt;This tutorial&amp;nbsp;shows you briefly how to enter character in your LCD module. You can enter number or alphabetic character so you need to look up another table called standard LCD character table. Let say we want to enter &#39;Hello&#39; on second character in the 1st line.&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;style8 style26&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div class=&quot;style8 style26&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;
&lt;a href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhogFJiUL7O32tJ1FrH0EIJ3GCghMrgFx91dn2SmHByMhOs6FBsqWfhIJR7QMxiU2LM6I7SghrztuQ0Zb0EIWQaO1HN39WhYs438dc57iLrTjqXruNXrYDj4F1F9uewYrvtWcQBH241ajg/s1600/lcd_table.gif&quot; imageanchor=&quot;1&quot; style=&quot;margin-left: 1em; margin-right: 1em;&quot;&gt;&lt;span style=&quot;font-family: Arial, Helvetica, sans-serif;&quot;&gt;&lt;img border=&quot;0&quot; height=&quot;320&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhogFJiUL7O32tJ1FrH0EIJ3GCghMrgFx91dn2SmHByMhOs6FBsqWfhIJR7QMxiU2LM6I7SghrztuQ0Zb0EIWQaO1HN39WhYs438dc57iLrTjqXruNXrYDj4F1F9uewYrvtWcQBH241ajg/s320/lcd_table.gif&quot; t8=&quot;true&quot; width=&quot;256&quot; /&gt;&lt;/span&gt;&lt;/a&gt;&lt;/div&gt;
&lt;div style=&quot;text-align: left;&quot;&gt;
&lt;span style=&quot;font-family: Arial, Helvetica, sans-serif;&quot;&gt;A table above assists you to select the correct upper and lower 4 bits of data.&amp;nbsp; For example, look for &lt;strong&gt;upper 4 bits&lt;/strong&gt; at the top of the table and the lower 4 bits of data can be found on the far left side.&amp;nbsp; &lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;text-align: left;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div style=&quot;text-align: left;&quot;&gt;
&lt;span style=&quot;font-family: Arial, Helvetica, sans-serif;&quot;&gt;&#39;H&#39;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; - &lt;strong&gt;0100&lt;/strong&gt;1000 - 0x48&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;text-align: left;&quot;&gt;
&lt;span style=&quot;font-family: Arial, Helvetica, sans-serif;&quot;&gt;&#39;E&#39;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;-&amp;nbsp;&lt;strong&gt;0110&lt;/strong&gt;0101 - 0x55&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;text-align: left;&quot;&gt;
&lt;span style=&quot;font-family: Arial, Helvetica, sans-serif;&quot;&gt;&#39;L&#39;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; - &lt;strong&gt;0110&lt;/strong&gt;1100 - 0z6C&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;text-align: left;&quot;&gt;
&lt;span style=&quot;font-family: Arial, Helvetica, sans-serif;&quot;&gt;&#39;L&#39;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; - &lt;strong&gt;0110&lt;/strong&gt;1100 - 0x6C&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;text-align: left;&quot;&gt;
&lt;span style=&quot;font-family: Arial, Helvetica, sans-serif;&quot;&gt;&#39;O&#39;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; - &lt;strong&gt;0110&lt;/strong&gt;1111 - 0x6F&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;text-align: left;&quot;&gt;
&lt;span style=&quot;font-family: Arial, Helvetica, sans-serif;&quot;&gt;SPACE&amp;nbsp;&amp;nbsp; - &lt;strong&gt;0110&lt;/strong&gt;0000 - 0x20&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;text-align: left;&quot;&gt;
&lt;span style=&quot;font-family: Arial, Helvetica, sans-serif;&quot;&gt;&#39;W&#39;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; - &lt;strong&gt;0101&lt;/strong&gt;0111 - 0x57&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;text-align: left;&quot;&gt;
&lt;span style=&quot;font-family: Arial, Helvetica, sans-serif;&quot;&gt;&#39;O&#39;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; - &lt;strong&gt;0110&lt;/strong&gt;0111 - 0x6F&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;text-align: left;&quot;&gt;
&lt;span style=&quot;font-family: Arial, Helvetica, sans-serif;&quot;&gt;&#39;R&#39;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; - &lt;strong&gt;0111&lt;/strong&gt;0010 - 0x72&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;text-align: left;&quot;&gt;
&lt;span style=&quot;font-family: Arial, Helvetica, sans-serif;&quot;&gt;&#39;L&#39;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; - &lt;strong&gt;0110&lt;/strong&gt;1100 - 0x6C&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;text-align: left;&quot;&gt;
&lt;span style=&quot;font-family: Arial, Helvetica, sans-serif;&quot;&gt;&#39;D&#39;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; - &lt;strong&gt;0110&lt;/strong&gt;0100 - 0x64&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;text-align: left;&quot;&gt;
&lt;span style=&quot;font-family: Arial, Helvetica, sans-serif;&quot;&gt;&amp;nbsp;&lt;/span&gt;&lt;span style=&quot;font-family: Arial, Helvetica, sans-serif;&quot;&gt;&amp;nbsp;&lt;/span&gt;&lt;/div&gt;
&lt;div align=&quot;left&quot; class=&quot;style20&quot;&gt;
&lt;span style=&quot;font-family: Arial, Helvetica, sans-serif;&quot;&gt;Note that pulse_e function prototype has been added in the main program.&amp;nbsp; It just activates enable on, few seconds delay then switch enable off.&amp;nbsp; Please check the codes for more information.&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;text-align: left;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div style=&quot;text-align: left;&quot;&gt;
&lt;span style=&quot;font-family: Arial, Helvetica, sans-serif; font-size: x-small;&quot;&gt;void main()&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;text-align: left;&quot;&gt;
&lt;span style=&quot;font-family: Arial, Helvetica, sans-serif; font-size: x-small;&quot;&gt;{&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;text-align: left;&quot;&gt;
&lt;span class=&quot;style27&quot;&gt;&lt;strong&gt;&lt;span style=&quot;color: #009900;&quot;&gt;&lt;span style=&quot;font-family: Arial, Helvetica, sans-serif;&quot;&gt;&lt;span style=&quot;font-size: x-small;&quot;&gt;&lt;span class=&quot;style11&quot;&gt;&amp;nbsp; // Set 8 bits, 2 lines, 5x7 Format&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/strong&gt;&lt;/span&gt;&lt;span class=&quot;style8 style26&quot;&gt;&lt;span style=&quot;font-family: Arial, Helvetica, sans-serif; font-size: x-small;&quot;&gt;&amp;nbsp; RW=0;&lt;br /&gt;
&amp;nbsp; RS=0;&lt;br /&gt;
&amp;nbsp; DATA=0x3B;&lt;br /&gt;
&amp;nbsp; pulse_e(): &lt;/span&gt;&lt;/span&gt;&lt;span class=&quot;style26&quot;&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: Arial, Helvetica, sans-serif;&quot;&gt;&lt;span style=&quot;font-size: x-small;&quot;&gt;&lt;strong&gt;&lt;span style=&quot;color: #009900;&quot;&gt;&lt;span class=&quot;style27&quot;&gt;&lt;span class=&quot;style11&quot;&gt;&amp;nbsp; // Display underline, cursor and blink&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/strong&gt;&amp;nbsp; &lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;
&lt;span class=&quot;style26&quot;&gt;&lt;span style=&quot;font-family: Arial, Helvetica, sans-serif;&quot;&gt;&lt;span style=&quot;font-size: x-small;&quot;&gt;&amp;nbsp; DATA=0x0F;&lt;br /&gt;
&amp;nbsp; pulse_e();&lt;/span&gt;&lt;/span&gt;&lt;strong&gt;&lt;span style=&quot;color: #009900;&quot;&gt;&lt;span style=&quot;font-family: Arial, Helvetica, sans-serif;&quot;&gt;&lt;span style=&quot;font-size: x-small;&quot;&gt;&lt;span class=&quot;style27&quot;&gt;&lt;span class=&quot;style11&quot;&gt;&amp;nbsp; &lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/strong&gt;&lt;/span&gt;&lt;br /&gt;
&lt;span class=&quot;style26&quot;&gt;&lt;strong&gt;&lt;span style=&quot;color: #009900;&quot;&gt;&lt;span style=&quot;font-family: Arial, Helvetica, sans-serif;&quot;&gt;&lt;span style=&quot;font-size: x-small;&quot;&gt;&lt;span class=&quot;style27&quot;&gt;&lt;span class=&quot;style11&quot;&gt;&amp;nbsp; // Display position 1st on 1 line&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/strong&gt;&lt;/span&gt;&lt;span class=&quot;style26&quot;&gt;&lt;span style=&quot;font-family: Arial, Helvetica, sans-serif;&quot;&gt;&lt;span style=&quot;font-size: x-small;&quot;&gt;&lt;span class=&quot;style8 style26&quot;&gt;&amp;nbsp; &lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;
&lt;span class=&quot;style26&quot;&gt;&lt;span style=&quot;font-family: Arial, Helvetica, sans-serif;&quot;&gt;&lt;span style=&quot;font-size: x-small;&quot;&gt;&lt;span class=&quot;style8 style26&quot;&gt;&amp;nbsp; DATA=0x80;&lt;br /&gt;
&amp;nbsp; pulse_e():&amp;nbsp;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;strong&gt;&lt;span style=&quot;color: #009900;&quot;&gt;&lt;span style=&quot;font-family: Arial, Helvetica, sans-serif;&quot;&gt;&lt;span style=&quot;font-size: x-small;&quot;&gt;&lt;span class=&quot;style8 style26&quot;&gt;&lt;span class=&quot;style27&quot;&gt;&lt;span class=&quot;style11&quot;&gt;&amp;nbsp; &lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/strong&gt;&lt;/span&gt;&lt;br /&gt;
&lt;span class=&quot;style26&quot;&gt;&lt;strong&gt;&lt;span style=&quot;color: #009900;&quot;&gt;&lt;span style=&quot;font-family: Arial, Helvetica, sans-serif;&quot;&gt;&lt;span style=&quot;font-size: x-small;&quot;&gt;&lt;span class=&quot;style8 style26&quot;&gt;&lt;span class=&quot;style27&quot;&gt;&lt;span class=&quot;style11&quot;&gt;&amp;nbsp; //Set RS High&amp;nbsp;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/strong&gt;&lt;/span&gt;&lt;span style=&quot;font-family: Arial, Helvetica, sans-serif; font-size: x-small;&quot;&gt;&amp;nbsp; &lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: Arial, Helvetica, sans-serif; font-size: x-small;&quot;&gt;&amp;nbsp; RS=1;&lt;/span&gt;&lt;strong&gt;&lt;span style=&quot;color: #009900;&quot;&gt;&lt;span style=&quot;font-family: Arial, Helvetica, sans-serif;&quot;&gt;&lt;span style=&quot;font-size: x-small;&quot;&gt;&lt;span class=&quot;style27&quot;&gt;&lt;span class=&quot;style11&quot;&gt;&amp;nbsp; &lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/strong&gt;&lt;br /&gt;
&lt;strong&gt;&lt;span style=&quot;color: #009900;&quot;&gt;&lt;span style=&quot;font-family: Arial, Helvetica, sans-serif;&quot;&gt;&lt;span style=&quot;font-size: x-small;&quot;&gt;&lt;span class=&quot;style27&quot;&gt;&lt;span class=&quot;style11&quot;&gt;&amp;nbsp; // H&amp;nbsp;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/strong&gt;&lt;span style=&quot;font-family: Arial, Helvetica, sans-serif;&quot;&gt;&lt;span style=&quot;font-size: x-small;&quot;&gt;&lt;span class=&quot;style20&quot;&gt;&lt;span class=&quot;style8 style26&quot;&gt;&amp;nbsp; &lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: Arial, Helvetica, sans-serif;&quot;&gt;&lt;span style=&quot;font-size: x-small;&quot;&gt;&lt;span class=&quot;style20&quot;&gt;&lt;span class=&quot;style8 style26&quot;&gt;&amp;nbsp; DATA=0x48;&lt;br /&gt;
&amp;nbsp; pulse_e();&lt;/span&gt;&lt;/span&gt;&amp;nbsp;&lt;/span&gt;&lt;/span&gt;&lt;span class=&quot;style27&quot;&gt;&lt;span class=&quot;style11&quot;&gt;&lt;strong&gt;&lt;span style=&quot;color: #009900; font-family: Arial, Helvetica, sans-serif; font-size: x-small;&quot;&gt;&amp;nbsp; &lt;/span&gt;&lt;/strong&gt;&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;
&lt;span class=&quot;style27&quot;&gt;&lt;span class=&quot;style11&quot;&gt;&lt;strong&gt;&lt;span style=&quot;color: #009900; font-family: Arial, Helvetica, sans-serif; font-size: x-small;&quot;&gt;&amp;nbsp; // e&lt;/span&gt;&lt;/strong&gt;&lt;/span&gt;&lt;/span&gt;&lt;span class=&quot;style26&quot;&gt;&lt;span class=&quot;style9&quot;&gt;&lt;span style=&quot;font-family: Arial, Helvetica, sans-serif; font-size: x-small;&quot;&gt;&amp;nbsp; DATA=0x65;&lt;br /&gt;
&amp;nbsp; pulse_e(); &lt;/span&gt;&lt;/span&gt;&lt;span class=&quot;style26  style9&quot;&gt;&lt;br /&gt;
&lt;span class=&quot;style27&quot;&gt;&lt;span class=&quot;style11&quot;&gt;&lt;strong&gt;&lt;span style=&quot;color: #009900; font-family: Arial, Helvetica, sans-serif; font-size: x-small;&quot;&gt;&amp;nbsp; // l&lt;/span&gt;&lt;/strong&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;span class=&quot;style8 style26&quot;&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: Arial, Helvetica, sans-serif;&quot;&gt;&lt;span style=&quot;font-size: x-small;&quot;&gt;&amp;nbsp; DATA=0x6C;&lt;br /&gt;
&amp;nbsp; pulse_e();&lt;br /&gt;
&lt;span class=&quot;style27&quot;&gt;&lt;span class=&quot;style11&quot;&gt;&lt;strong&gt;&lt;span style=&quot;color: #009900;&quot;&gt;&amp;nbsp; // l&lt;/span&gt;&lt;/strong&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;span class=&quot;style8 style26&quot;&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: Arial, Helvetica, sans-serif;&quot;&gt;&lt;span style=&quot;font-size: x-small;&quot;&gt;&amp;nbsp; DATA=0x6C;&lt;br /&gt;
&amp;nbsp; pulse_e(); &lt;br /&gt;
&lt;span class=&quot;style27&quot;&gt;&lt;span class=&quot;style11&quot;&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;span class=&quot;style27&quot;&gt;&lt;span class=&quot;style11&quot;&gt;&lt;strong&gt;&lt;span style=&quot;color: #009900; font-family: Arial, Helvetica, sans-serif; font-size: x-small;&quot;&gt;&amp;nbsp; // o&lt;/span&gt;&lt;/strong&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;span class=&quot;style9&quot;&gt;&lt;span style=&quot;font-family: Arial, Helvetica, sans-serif; font-size: x-small;&quot;&gt;&amp;nbsp; &lt;/span&gt;&lt;/span&gt;&lt;br /&gt;
&lt;span class=&quot;style9&quot;&gt;&lt;span style=&quot;font-family: Arial, Helvetica, sans-serif; font-size: x-small;&quot;&gt;&amp;nbsp; DATA=0x20; &lt;br /&gt;
&amp;nbsp; pulse_e();&amp;nbsp;&lt;/span&gt;&lt;span style=&quot;font-family: Arial, Helvetica, sans-serif;&quot;&gt;&lt;span style=&quot;font-size: x-small;&quot;&gt;&lt;span class=&quot;style8 style26&quot;&gt;&lt;strong&gt;&lt;span style=&quot;color: #009900;&quot;&gt;&lt;span class=&quot;style27&quot;&gt;&lt;span class=&quot;style11&quot;&gt;&amp;nbsp; &lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/strong&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;
&lt;span class=&quot;style9&quot;&gt;&lt;span style=&quot;font-family: Arial, Helvetica, sans-serif;&quot;&gt;&lt;span style=&quot;font-size: x-small;&quot;&gt;&lt;span class=&quot;style8 style26&quot;&gt;&lt;strong&gt;&lt;span style=&quot;color: #009900;&quot;&gt;&lt;span class=&quot;style27&quot;&gt;&lt;span class=&quot;style11&quot;&gt;&amp;nbsp; //Set RS low&amp;nbsp;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/strong&gt;&amp;nbsp; &lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;
&lt;span class=&quot;style9&quot;&gt;&lt;span style=&quot;font-family: Arial, Helvetica, sans-serif;&quot;&gt;&lt;span style=&quot;font-size: x-small;&quot;&gt;&lt;span class=&quot;style8 style26&quot;&gt;&amp;nbsp; RS=0;&lt;/span&gt; &lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;style26&quot;&gt;
&lt;span class=&quot;style9&quot;&gt;&lt;span class=&quot;style27&quot;&gt;&lt;span class=&quot;style11&quot;&gt;&lt;strong&gt;&lt;span style=&quot;color: #009900; font-family: Arial, Helvetica, sans-serif; font-size: x-small;&quot;&gt;&amp;nbsp; // Display character on 1st position&amp;nbsp;in 2nd line&amp;nbsp;&lt;/span&gt;&lt;/strong&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;span class=&quot;style9&quot;&gt;&lt;span class=&quot;style8 style26&quot;&gt;&lt;span style=&quot;font-family: Arial, Helvetica, sans-serif; font-size: x-small;&quot;&gt;&amp;nbsp; &lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;
&lt;span class=&quot;style9&quot;&gt;&lt;span class=&quot;style8 style26&quot;&gt;&lt;span style=&quot;font-family: Arial, Helvetica, sans-serif; font-size: x-small;&quot;&gt;&amp;nbsp; DATA=0xC0;&lt;br /&gt;
&amp;nbsp; pulse_e():&amp;nbsp;&lt;/span&gt;&lt;span style=&quot;font-family: Arial, Helvetica, sans-serif;&quot;&gt;&lt;span style=&quot;font-size: x-small;&quot;&gt;&lt;strong&gt;&lt;span style=&quot;color: #009900;&quot;&gt;&lt;span class=&quot;style27&quot;&gt;&lt;span class=&quot;style11&quot;&gt;&amp;nbsp; &lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/strong&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;
&lt;span class=&quot;style9&quot;&gt;&lt;span class=&quot;style8 style26&quot;&gt;&lt;span style=&quot;font-family: Arial, Helvetica, sans-serif;&quot;&gt;&lt;span style=&quot;font-size: x-small;&quot;&gt;&lt;strong&gt;&lt;span style=&quot;color: #009900;&quot;&gt;&lt;span class=&quot;style27&quot;&gt;&lt;span class=&quot;style11&quot;&gt;&amp;nbsp; //Set RS High&amp;nbsp;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/strong&gt;&amp;nbsp; &lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;
&lt;span class=&quot;style9&quot;&gt;&lt;span class=&quot;style8 style26&quot;&gt;&lt;span style=&quot;font-family: Arial, Helvetica, sans-serif;&quot;&gt;&lt;span style=&quot;font-size: x-small;&quot;&gt;&amp;nbsp;&amp;nbsp;RS=1;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;span class=&quot;style9&quot;&gt;&lt;br /&gt;
&lt;/span&gt;&lt;span class=&quot;style9&quot;&gt;&lt;span style=&quot;font-family: Arial, Helvetica, sans-serif;&quot;&gt;&lt;span style=&quot;font-size: x-small;&quot;&gt;&lt;strong&gt;&lt;span style=&quot;color: #009900;&quot;&gt;&lt;span class=&quot;style8 style26&quot;&gt;&lt;span class=&quot;style27&quot;&gt;&lt;span class=&quot;style11&quot;&gt;&amp;nbsp; // W&amp;nbsp;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/strong&gt;&amp;nbsp; &lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;
&lt;span class=&quot;style9&quot;&gt;&lt;span style=&quot;font-family: Arial, Helvetica, sans-serif;&quot;&gt;&lt;span style=&quot;font-size: x-small;&quot;&gt;&amp;nbsp; DATA=0x6F; &lt;br /&gt;
&amp;nbsp; pulse_e();&amp;nbsp;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;
&lt;span class=&quot;style9&quot;&gt;&lt;span style=&quot;font-family: Arial, Helvetica, sans-serif;&quot;&gt;&lt;span style=&quot;font-size: x-small;&quot;&gt;&lt;strong&gt;&lt;span style=&quot;color: #009900;&quot;&gt;&lt;span class=&quot;style8 style26&quot;&gt;&lt;span class=&quot;style27&quot;&gt;&lt;span class=&quot;style11&quot;&gt;&amp;nbsp; // o&amp;nbsp;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/strong&gt;&amp;nbsp; &lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;
&lt;span class=&quot;style9&quot;&gt;&lt;span style=&quot;font-family: Arial, Helvetica, sans-serif;&quot;&gt;&lt;span style=&quot;font-size: x-small;&quot;&gt;&amp;nbsp; DATA=0x72; &lt;br /&gt;
&amp;nbsp; pulse_e();&amp;nbsp;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;span class=&quot;style9&quot;&gt;&lt;span style=&quot;font-family: Arial, Helvetica, sans-serif;&quot;&gt;&lt;span style=&quot;font-size: x-small;&quot;&gt;&lt;strong&gt;&lt;span style=&quot;color: #009900;&quot;&gt;&lt;span class=&quot;style8 style26&quot;&gt;&lt;span class=&quot;style27&quot;&gt;&lt;span class=&quot;style11&quot;&gt;&amp;nbsp; &lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/strong&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;
&lt;span class=&quot;style9&quot;&gt;&lt;span style=&quot;font-family: Arial, Helvetica, sans-serif;&quot;&gt;&lt;span style=&quot;font-size: x-small;&quot;&gt;&lt;strong&gt;&lt;span style=&quot;color: #009900;&quot;&gt;&lt;span class=&quot;style8 style26&quot;&gt;&lt;span class=&quot;style27&quot;&gt;&lt;span class=&quot;style11&quot;&gt;&amp;nbsp; // r&amp;nbsp;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/strong&gt;&amp;nbsp; &lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;
&lt;span class=&quot;style9&quot;&gt;&lt;span style=&quot;font-family: Arial, Helvetica, sans-serif;&quot;&gt;&lt;span style=&quot;font-size: x-small;&quot;&gt;&amp;nbsp; DATA=0x6C; &lt;br /&gt;
&amp;nbsp; pulse_e();&amp;nbsp;&lt;/span&gt;&lt;/span&gt;&lt;span class=&quot;style8 style26&quot;&gt;&lt;span class=&quot;style27&quot;&gt;&lt;span class=&quot;style11&quot;&gt;&lt;strong&gt;&lt;span style=&quot;color: #009900; font-family: Arial, Helvetica, sans-serif; font-size: x-small;&quot;&gt;&amp;nbsp; &lt;/span&gt;&lt;/strong&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;
&lt;span class=&quot;style9&quot;&gt;&lt;span class=&quot;style8 style26&quot;&gt;&lt;span class=&quot;style27&quot;&gt;&lt;span class=&quot;style11&quot;&gt;&lt;strong&gt;&lt;span style=&quot;color: #009900; font-family: Arial, Helvetica, sans-serif; font-size: x-small;&quot;&gt;&amp;nbsp; // d&lt;/span&gt;&lt;/strong&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;span class=&quot;style8 style26&quot;&gt;&lt;span style=&quot;font-family: Arial, Helvetica, sans-serif; font-size: x-small;&quot;&gt;&amp;nbsp; &lt;/span&gt;&lt;/span&gt;&lt;br /&gt;
&lt;span class=&quot;style8 style26&quot;&gt;&lt;span style=&quot;font-family: Arial, Helvetica, sans-serif; font-size: x-small;&quot;&gt;&amp;nbsp; DATA=0x64; &lt;br /&gt;
&amp;nbsp; pulse_e();&lt;/span&gt;&lt;span style=&quot;font-family: Arial, Helvetica, sans-serif;&quot;&gt;&lt;span style=&quot;font-size: x-small;&quot;&gt;&lt;strong&gt;&lt;span style=&quot;color: #009900;&quot;&gt;&lt;span class=&quot;style27&quot;&gt;&lt;span class=&quot;style11&quot;&gt;&amp;nbsp; &lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/strong&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;
&lt;span class=&quot;style8 style26&quot;&gt;&lt;span style=&quot;font-family: Arial, Helvetica, sans-serif;&quot;&gt;&lt;span style=&quot;font-size: x-small;&quot;&gt;&lt;strong&gt;&lt;span style=&quot;color: #009900;&quot;&gt;&lt;span class=&quot;style27&quot;&gt;&lt;span class=&quot;style11&quot;&gt;&amp;nbsp;&amp;nbsp;//Set RS low&amp;nbsp;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/strong&gt;&amp;nbsp; &lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;
&lt;span class=&quot;style8 style26&quot;&gt;&lt;span style=&quot;font-family: Arial, Helvetica, sans-serif;&quot;&gt;&lt;span style=&quot;font-size: x-small;&quot;&gt;&amp;nbsp; RS=0;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;text-align: left;&quot;&gt;
&lt;span style=&quot;font-family: Arial, Helvetica, sans-serif; font-size: x-small;&quot;&gt;}&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;text-align: left;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div style=&quot;text-align: center;&quot;&gt;
&lt;a href=&quot;http://www.2shared.com/file/O3dwpzIt/Tutorial_4.html&quot;&gt;&lt;span style=&quot;font-family: Arial, Helvetica, sans-serif;&quot;&gt;Download Tutorial 4 Code&lt;/span&gt;&lt;/a&gt;&lt;/div&gt;
&lt;/div&gt;
</content><link rel='replies' type='application/atom+xml' href='http://maverickelectronic.blogspot.com/feeds/2300195260131925821/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://maverickelectronic.blogspot.com/2011/05/tutorial-4.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/4088045989109170289/posts/default/2300195260131925821'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/4088045989109170289/posts/default/2300195260131925821'/><link rel='alternate' type='text/html' href='http://maverickelectronic.blogspot.com/2011/05/tutorial-4.html' title='LCD Tutorial 4'/><author><name>Fuzzythinking</name><uri>http://www.blogger.com/profile/03873781810471485639</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><media:thumbnail xmlns:media="http://search.yahoo.com/mrss/" url="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEiBgHvA2tfDZuSRHbCG78kRZ8ww6K1UFc6O3-jUMnwgrQWynvQbXMBbtnvpBuWZQ1oL8_I035OlXgf27O-qGJSyUhtxZhjw-Ur8xkguYkOynO6rgyXDzOLOs8CAuOrEdDwUiYcJKuiAUz8/s72-c/LCD_Hello_World.JPG" height="72" width="72"/><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-4088045989109170289.post-540336861739409485</id><published>2011-05-24T02:47:00.000-07:00</published><updated>2013-04-18T00:47:59.060-07:00</updated><title type='text'>LCD Tutorial 3</title><content type='html'>&lt;div dir=&quot;ltr&quot; style=&quot;text-align: left;&quot; trbidi=&quot;on&quot;&gt;
&lt;div style=&quot;text-align: center;&quot;&gt;
&lt;span class=&quot;style20&quot;&gt;&lt;strong&gt;&lt;span style=&quot;font-family: Arial, Helvetica, sans-serif;&quot;&gt;Display Address, Display cursor, blink and underline&lt;/span&gt;&lt;/strong&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;text-align: center;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;
&lt;a href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEho0nLKHNmDSZon7Nj4M3Fq3kHkDQuGPkfBXrAcR2DHAB1oUMJWzdspy8cIH4nxvWy52z3HQ6VcO7hlkTkbX84SUhi5uezpeb2w4Xo7CliZQ6QbLv4auo-s2TmR8KcSIGSLuIDXTNsZuc4/s1600/LCD%252520instruction%252520Table.png&quot; imageanchor=&quot;1&quot; style=&quot;margin-left: 1em; margin-right: 1em;&quot;&gt;&lt;img border=&quot;0&quot; height=&quot;166&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEho0nLKHNmDSZon7Nj4M3Fq3kHkDQuGPkfBXrAcR2DHAB1oUMJWzdspy8cIH4nxvWy52z3HQ6VcO7hlkTkbX84SUhi5uezpeb2w4Xo7CliZQ6QbLv4auo-s2TmR8KcSIGSLuIDXTNsZuc4/s320/LCD%252520instruction%252520Table.png&quot; t8=&quot;true&quot; width=&quot;320&quot; /&gt;&lt;/a&gt;&lt;/div&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;
&lt;span style=&quot;font-family: Arial, Helvetica, sans-serif;&quot;&gt;2 Lines &amp;amp; 16 Character - Address&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;text-align: center;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div style=&quot;text-align: left;&quot;&gt;
&lt;span class=&quot;style20&quot;&gt;&lt;span style=&quot;font-family: Arial, Helvetica, sans-serif;&quot;&gt;Since we are using 2x16 LCD module. 2 and 16 are lines and characters respectively. Each character has unique address as shown above. Maybe you want to start to start from seventh cursor (0x07) instead of first cursor (0x00). At the bottom line of the command control codes, you would see a lot of A. Well A stands for Address. You need to enter 0x87 after = in the fifth line. Then repeat the displaying codes in the second tutorials: &lt;/span&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;style1 style26&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div class=&quot;style1 style26&quot;&gt;
&lt;span style=&quot;font-family: Arial, Helvetica, sans-serif;&quot;&gt;This time, you are going to learn how to display cursor, blink and underline. It is fairly simple procedure like what you have learned in your previous tutorial. Again you need to look up the command control codes table at fourth row, D, U and B represents display, underline and blink respectively. The binary number would be &#39;1000&#39; or &#39;0x08&#39; in hexadecimal number. Now you need to use the similar code as described above and modify line five by putting 0x08. Compile the software and upload the Hex files in your microcontroller chip and give it a test. Your LCD display should like this:&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;style1 style26&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div class=&quot;style1 style26&quot;&gt;
&lt;span style=&quot;font-family: Arial; font-size: x-small;&quot;&gt;void main()&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;style1 style26&quot;&gt;
&lt;span style=&quot;font-family: Arial; font-size: x-small;&quot;&gt;{&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;line-height: normal; margin: 0cm 0cm 10pt; mso-margin-bottom-alt: auto; mso-margin-top-alt: auto;&quot;&gt;
&lt;b&gt;&lt;span style=&quot;color: #009900; font-family: &amp;quot;Arial&amp;quot;, &amp;quot;sans-serif&amp;quot;; mso-fareast-font-family: &amp;quot;Times New Roman&amp;quot;; mso-fareast-language: EN-GB;&quot;&gt;&lt;span style=&quot;font-size: x-small;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; // Set 8 bits, Line 2 and 5x7 format &lt;/span&gt;&lt;/span&gt;&lt;/b&gt;&lt;b&gt;&lt;span style=&quot;font-family: &amp;quot;Arial&amp;quot;, &amp;quot;sans-serif&amp;quot;; mso-fareast-font-family: &amp;quot;Times New Roman&amp;quot;; mso-fareast-language: EN-GB;&quot;&gt;&lt;br /&gt;
&lt;/span&gt;&lt;/b&gt;&lt;span style=&quot;font-family: &amp;quot;Arial&amp;quot;, &amp;quot;sans-serif&amp;quot;; mso-fareast-font-family: &amp;quot;Times New Roman&amp;quot;; mso-fareast-language: EN-GB;&quot;&gt;&lt;span style=&quot;font-size: x-small;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; RW=0;&lt;br /&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp; RS=0;&lt;br /&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp; DATA&lt;b&gt;=&lt;/b&gt;0x3B&lt;b&gt;;&lt;/b&gt;&lt;br /&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp; ENABLE=1;&lt;br /&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp; De&lt;/span&gt;&lt;/span&gt;&lt;span style=&quot;font-size: x-small;&quot;&gt;&lt;span style=&quot;font-family: &amp;quot;Arial&amp;quot;, &amp;quot;sans-serif&amp;quot;; mso-fareast-font-family: &amp;quot;Times New Roman&amp;quot;; mso-fareast-language: EN-GB;&quot;&gt;lay_Loop(5);&lt;br /&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp; ENABLE=0; &lt;/span&gt;&lt;span style=&quot;font-family: &amp;quot;Times New Roman&amp;quot;, &amp;quot;serif&amp;quot;; mso-fareast-font-family: &amp;quot;Times New Roman&amp;quot;; mso-fareast-language: EN-GB;&quot;&gt;&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;style1 style26&quot;&gt;
&lt;b&gt;&lt;span style=&quot;color: #009900; font-family: &amp;quot;Arial&amp;quot;, &amp;quot;sans-serif&amp;quot;; line-height: 115%; mso-ansi-language: EN-GB; mso-bidi-language: AR-SA; mso-fareast-font-family: &amp;quot;Times New Roman&amp;quot;; mso-fareast-language: EN-GB;&quot;&gt;&lt;span style=&quot;font-size: x-small;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; // Display position 7th on 1 line&lt;/span&gt;&lt;/span&gt;&lt;/b&gt;&lt;span style=&quot;font-family: &amp;quot;Arial&amp;quot;, &amp;quot;sans-serif&amp;quot;; line-height: 115%; mso-ansi-language: EN-GB; mso-bidi-language: AR-SA; mso-fareast-font-family: &amp;quot;Times New Roman&amp;quot;; mso-fareast-language: EN-GB;&quot;&gt;&lt;br /&gt;
&lt;span style=&quot;font-size: x-small;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; DATA=0x87;&lt;br /&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;ENABLE=1;&lt;br /&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp; Delay_Loop(5);&lt;br /&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp; ENABLE=0;&lt;/span&gt;&lt;/span&gt;&lt;span style=&quot;font-family: &amp;quot;Times New Roman&amp;quot;, &amp;quot;serif&amp;quot;; line-height: 115%; mso-ansi-language: EN-GB; mso-bidi-language: AR-SA; mso-fareast-font-family: &amp;quot;Times New Roman&amp;quot;; mso-fareast-language: EN-GB;&quot;&gt;&lt;br /&gt;
&lt;/span&gt;&lt;b&gt;&lt;span style=&quot;color: #009900; font-family: &amp;quot;Arial&amp;quot;, &amp;quot;sans-serif&amp;quot;; line-height: 115%; mso-ansi-language: EN-GB; mso-bidi-language: AR-SA; mso-fareast-font-family: &amp;quot;Times New Roman&amp;quot;; mso-fareast-language: EN-GB;&quot;&gt;&lt;span style=&quot;font-size: x-small;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; // Display underline, cursor and blink&lt;/span&gt;&lt;/span&gt;&lt;/b&gt;&lt;span style=&quot;font-family: &amp;quot;Times New Roman&amp;quot;, &amp;quot;serif&amp;quot;; font-size: 9pt; line-height: 115%; mso-ansi-language: EN-GB; mso-bidi-language: AR-SA; mso-fareast-font-family: &amp;quot;Times New Roman&amp;quot;; mso-fareast-language: EN-GB;&quot;&gt;&lt;br /&gt;
&lt;span style=&quot;font-size: x-small;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; DATA=0x0F;&lt;br /&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; ENABLE=1;&lt;br /&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Delay_Loop(5);&lt;br /&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; ENABLE=0;&lt;br style=&quot;mso-special-character: line-break;&quot; /&gt;}&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;
&lt;a href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgtSQYbCKrR6Xi1wEaWgkEDxqtuDuVGJrvXgL30rZr4J-oiJYFylVXAMFw5RjPZov0FWf4iMvAXLZ4-32OZKcQ90rwGoCiGi5iYsFKvbcmVTalKwlMM9xJJz7bpWhYyCG9sQKt3MNs19yQ/s1600/LCD_7th.JPG&quot; imageanchor=&quot;1&quot; style=&quot;margin-left: 1em; margin-right: 1em;&quot;&gt;&lt;img border=&quot;0&quot; height=&quot;240&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgtSQYbCKrR6Xi1wEaWgkEDxqtuDuVGJrvXgL30rZr4J-oiJYFylVXAMFw5RjPZov0FWf4iMvAXLZ4-32OZKcQ90rwGoCiGi5iYsFKvbcmVTalKwlMM9xJJz7bpWhYyCG9sQKt3MNs19yQ/s320/LCD_7th.JPG&quot; t8=&quot;true&quot; width=&quot;320&quot; /&gt;&lt;/a&gt;&lt;/div&gt;
&lt;br /&gt;
&lt;div style=&quot;text-align: center;&quot;&gt;
&lt;a href=&quot;http://www.2shared.com/file/ISlYyy5f/Tutorial_3.html&quot;&gt;&lt;span style=&quot;font-family: Arial, Helvetica, sans-serif;&quot;&gt;Download Tutorial 3 Code&lt;/span&gt;&lt;/a&gt;&lt;/div&gt;
&lt;div class=&quot;style1 style26&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;/div&gt;
</content><link rel='replies' type='application/atom+xml' href='http://maverickelectronic.blogspot.com/feeds/540336861739409485/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://maverickelectronic.blogspot.com/2011/05/tutorial-3.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/4088045989109170289/posts/default/540336861739409485'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/4088045989109170289/posts/default/540336861739409485'/><link rel='alternate' type='text/html' href='http://maverickelectronic.blogspot.com/2011/05/tutorial-3.html' title='LCD Tutorial 3'/><author><name>Fuzzythinking</name><uri>http://www.blogger.com/profile/03873781810471485639</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><media:thumbnail xmlns:media="http://search.yahoo.com/mrss/" url="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEho0nLKHNmDSZon7Nj4M3Fq3kHkDQuGPkfBXrAcR2DHAB1oUMJWzdspy8cIH4nxvWy52z3HQ6VcO7hlkTkbX84SUhi5uezpeb2w4Xo7CliZQ6QbLv4auo-s2TmR8KcSIGSLuIDXTNsZuc4/s72-c/LCD%252520instruction%252520Table.png" height="72" width="72"/><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-4088045989109170289.post-5958081404749652951</id><published>2011-05-23T10:45:00.000-07:00</published><updated>2013-04-18T01:09:34.377-07:00</updated><title type='text'>LCD Tutorial - Documents for interfacing LCD with a microcontroller chip</title><content type='html'>&lt;div dir=&quot;ltr&quot; style=&quot;text-align: left;&quot; trbidi=&quot;on&quot;&gt;
&lt;span style=&quot;font-family: Arial, Helvetica, sans-serif;&quot;&gt;Found two good documents to help you to learn about interfacing LCD with a microcontroller especially PIC chips..........&lt;/span&gt;&lt;br /&gt;
&lt;br /&gt;
&lt;a href=&quot;http://maverickelectronic.blogspot.com/&quot;&gt;&lt;span style=&quot;font-family: Arial, Helvetica, sans-serif;&quot;&gt;Download LCD Document 1&lt;/span&gt;&lt;/a&gt;&lt;br /&gt;
&lt;a href=&quot;http://www.2shared.com/document/MHgRURx7/lcd2.html&quot;&gt;&lt;span style=&quot;font-family: Arial, Helvetica, sans-serif;&quot;&gt;Download LCD Document 2&lt;/span&gt;&lt;/a&gt;&lt;/div&gt;
</content><link rel='replies' type='application/atom+xml' href='http://maverickelectronic.blogspot.com/feeds/5958081404749652951/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://maverickelectronic.blogspot.com/2011/05/documents-for-interfacing-lcd-with.html#comment-form' title='1 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/4088045989109170289/posts/default/5958081404749652951'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/4088045989109170289/posts/default/5958081404749652951'/><link rel='alternate' type='text/html' href='http://maverickelectronic.blogspot.com/2011/05/documents-for-interfacing-lcd-with.html' title='LCD Tutorial - Documents for interfacing LCD with a microcontroller chip'/><author><name>Fuzzythinking</name><uri>http://www.blogger.com/profile/03873781810471485639</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><thr:total>1</thr:total></entry><entry><id>tag:blogger.com,1999:blog-4088045989109170289.post-3984265968335547538</id><published>2011-05-23T08:06:00.000-07:00</published><updated>2013-04-18T00:48:23.616-07:00</updated><title type='text'>LCD Tutorial 2</title><content type='html'>&lt;div dir=&quot;ltr&quot; style=&quot;text-align: left;&quot; trbidi=&quot;on&quot;&gt;
&lt;div class=&quot;style23 style20&quot; style=&quot;text-align: center;&quot;&gt;
&lt;span style=&quot;font-family: Arial, Helvetica, sans-serif;&quot;&gt;&lt;strong&gt;Tutorial 2 - Command mode (Function Set)&lt;/strong&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;style23 style20&quot; style=&quot;text-align: center;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div class=&quot;style23 style20&quot; style=&quot;text-align: center;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;
&lt;a href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgLbw7EYj3u6nZknaawk2ZLAFXSSJuQ5SA3YNKl4rvqSU7A5BdcZkKYJwW2B0ufQnWyjO0V2Q0dMh3hSBD4AMOaMNTviWZb0_QkU3PmyYVBDwhyckfG2AUvsiTMTHsuePRMKsPU6KYvBKI/s1600/commands.gif&quot; imageanchor=&quot;1&quot; style=&quot;margin-left: 1em; margin-right: 1em;&quot;&gt;&lt;img border=&quot;0&quot; height=&quot;320&quot; j8=&quot;true&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgLbw7EYj3u6nZknaawk2ZLAFXSSJuQ5SA3YNKl4rvqSU7A5BdcZkKYJwW2B0ufQnWyjO0V2Q0dMh3hSBD4AMOaMNTviWZb0_QkU3PmyYVBDwhyckfG2AUvsiTMTHsuePRMKsPU6KYvBKI/s320/commands.gif&quot; width=&quot;263&quot; /&gt;&lt;/a&gt;&lt;/div&gt;
&lt;div align=&quot;left&quot; class=&quot;style23 style20&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div align=&quot;left&quot; class=&quot;style26&quot;&gt;
&lt;span style=&quot;font-family: Arial, Helvetica, sans-serif;&quot;&gt;Before you power the circuit up, please take a microcontroller chip out of the circuit. You should see the black dim light appears on the first line. If you cannot see it, adjust the potentiometer with a screw in order to make the line more notiable. If nothing happens, you need to check the layout right and make sure that the you connect the LCD module properly.&lt;/span&gt;&lt;/div&gt;
&lt;div align=&quot;left&quot; class=&quot;style26&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;
&lt;a href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgJoImav5uCnu6tLeb5C_CJCwQC1RSiUPupkTBaTW_2RNz03N_4FjBNpltp49IxPkC5Fuh9UYg8Z_n0-FtMWv6nzKYu41jpxrP2FvJf6dMc_XnSnRO5o0rkxVKS6owShbkq7i5rp4vOFy0/s1600/LCD_without_uP.JPG&quot; imageanchor=&quot;1&quot; style=&quot;margin-left: 1em; margin-right: 1em;&quot;&gt;&lt;img border=&quot;0&quot; height=&quot;173&quot; j8=&quot;true&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgJoImav5uCnu6tLeb5C_CJCwQC1RSiUPupkTBaTW_2RNz03N_4FjBNpltp49IxPkC5Fuh9UYg8Z_n0-FtMWv6nzKYu41jpxrP2FvJf6dMc_XnSnRO5o0rkxVKS6owShbkq7i5rp4vOFy0/s320/LCD_without_uP.JPG&quot; width=&quot;320&quot; /&gt;&lt;/a&gt;&lt;/div&gt;
&lt;div align=&quot;left&quot; class=&quot;style26&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div align=&quot;left&quot; class=&quot;style26&quot;&gt;
&lt;span style=&quot;font-family: Arial, Helvetica, sans-serif;&quot;&gt;Since you are going to control the LCD module with 8 bits and use 2 lines and 5x7 format.. According to the sixth row of command control codes table, you need to configure the function set by setting hexadecimal number as &lt;em&gt;0x3B&lt;strong&gt;.&lt;/strong&gt;&lt;/em&gt; Please be aware that &#39;x&#39; represents don&#39;t care so in this case you are going to use 1 instead of 0. &lt;/span&gt;&lt;/div&gt;
&lt;div align=&quot;left&quot; class=&quot;style26&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div align=&quot;left&quot; class=&quot;style26&quot;&gt;
&lt;span style=&quot;font-family: Arial, Helvetica, sans-serif;&quot;&gt;In your first example code, you need to set both RS and RW to logic zero. Then you set the enable high, generate delay for microseconds and turn the Enable off. Remember that from Port 3.0 to 3.2 are used as RW, RS and Enable respectively while the 8 bits are used in Port 0 which denotes as DATA.&lt;/span&gt;&lt;/div&gt;
&lt;div align=&quot;left&quot; class=&quot;style26&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div align=&quot;left&quot; class=&quot;style26&quot;&gt;
&lt;span style=&quot;font-family: Arial;&quot;&gt;void main()&lt;/span&gt;&lt;/div&gt;
&lt;div align=&quot;left&quot; class=&quot;style26&quot;&gt;
&lt;span style=&quot;font-family: Arial;&quot;&gt;{&lt;/span&gt;&lt;/div&gt;
&lt;div align=&quot;left&quot; class=&quot;style26&quot;&gt;
&lt;span style=&quot;font-family: Arial;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;strong&gt;&lt;span style=&quot;color: #009900;&quot;&gt;&lt;span class=&quot;style27&quot;&gt;&lt;span class=&quot;style11&quot;&gt;// Set 8 bits, Line 2 and 5x7 format&amp;nbsp;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/strong&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div align=&quot;left&quot; class=&quot;style26&quot;&gt;
&lt;span style=&quot;font-family: Arial;&quot;&gt;&lt;span style=&quot;font-family: Times New Roman;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;RW=0;&lt;br /&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; RS=0;&lt;br /&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; DATA&lt;strong&gt;=&lt;/strong&gt;0x3B&lt;strong&gt;;&lt;/strong&gt;&lt;br /&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; ENABLE=1;&lt;br /&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Delay_Loop(5);&lt;br /&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; ENABLE=0;&lt;/span&gt;&lt;br /&gt;
}&lt;/span&gt;&lt;/div&gt;
&lt;div align=&quot;left&quot; class=&quot;style26&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;
&lt;a href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEiUjuCJeW72hh3VyPQ2XBwXo2ys5VSjauT84MrzVwbzaVMMZ5vogSjyyKIjep5HefK0RHhNAojhBII5AVhlT_aJ23rgIeM4ujLV4sCPAZn6Dpmyl_QbGKWBArNsYyxlYzgUqxOD2k6L3Jo/s1600/LCD_2_lines.JPG&quot; imageanchor=&quot;1&quot; style=&quot;margin-left: 1em; margin-right: 1em;&quot;&gt;&lt;img border=&quot;0&quot; j8=&quot;true&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEiUjuCJeW72hh3VyPQ2XBwXo2ys5VSjauT84MrzVwbzaVMMZ5vogSjyyKIjep5HefK0RHhNAojhBII5AVhlT_aJ23rgIeM4ujLV4sCPAZn6Dpmyl_QbGKWBArNsYyxlYzgUqxOD2k6L3Jo/s1600/LCD_2_lines.JPG&quot; /&gt;&lt;/a&gt;&lt;/div&gt;
&lt;div align=&quot;left&quot; class=&quot;style26&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div class=&quot;style26&quot; style=&quot;text-align: center;&quot;&gt;
&lt;span class=&quot;style26&quot;&gt;&lt;span style=&quot;font-family: Arial, Helvetica, sans-serif;&quot;&gt;Hey presto, the LCD module will automatically display 2 lines. Is it pretty simple stuff eh?&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;style26&quot; style=&quot;text-align: center;&quot;&gt;
﻿&lt;/div&gt;
&lt;div class=&quot;style26&quot; style=&quot;text-align: center;&quot;&gt;
&lt;a href=&quot;http://www.2shared.com/file/x9Qu_aIp/Tutorial_2.html&quot;&gt;&lt;span style=&quot;font-family: Arial, Helvetica, sans-serif;&quot;&gt;Download Tutorial 2 Code&lt;/span&gt;&lt;/a&gt;&lt;/div&gt;
&lt;/div&gt;
</content><link rel='replies' type='application/atom+xml' href='http://maverickelectronic.blogspot.com/feeds/3984265968335547538/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://maverickelectronic.blogspot.com/2011/05/tutorial-2.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/4088045989109170289/posts/default/3984265968335547538'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/4088045989109170289/posts/default/3984265968335547538'/><link rel='alternate' type='text/html' href='http://maverickelectronic.blogspot.com/2011/05/tutorial-2.html' title='LCD Tutorial 2'/><author><name>Fuzzythinking</name><uri>http://www.blogger.com/profile/03873781810471485639</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><media:thumbnail xmlns:media="http://search.yahoo.com/mrss/" url="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgLbw7EYj3u6nZknaawk2ZLAFXSSJuQ5SA3YNKl4rvqSU7A5BdcZkKYJwW2B0ufQnWyjO0V2Q0dMh3hSBD4AMOaMNTviWZb0_QkU3PmyYVBDwhyckfG2AUvsiTMTHsuePRMKsPU6KYvBKI/s72-c/commands.gif" height="72" width="72"/><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-4088045989109170289.post-894880008510942668</id><published>2011-05-23T07:17:00.000-07:00</published><updated>2013-04-18T00:48:11.899-07:00</updated><title type='text'>LCD Tutorial 1</title><content type='html'>&lt;div dir=&quot;ltr&quot; style=&quot;text-align: left;&quot; trbidi=&quot;on&quot;&gt;
&lt;strong&gt;&lt;span style=&quot;font-family: Arial;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Tutorial 1 - 2x16 LCD module&#39;s hardware and pin layout&#39;s Description&lt;/span&gt;&lt;/strong&gt;&lt;br /&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;
&lt;a href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEimizOuaUIYZwV33IOu8sY1YuuPORdigoBAlzGiJpjbzuqeadqjhk7khVHJM-_TFZM947JCTRmL8fMiGFOdgU4sqL8srPB2sa7X0UN4jYt74ZLRrmZ8Vs2oF5N4TDPISatLvFZSx7OdiO0/s1600/LCD_pin.JPG&quot; imageanchor=&quot;1&quot; style=&quot;margin-left: 1em; margin-right: 1em;&quot;&gt;&lt;img border=&quot;0&quot; height=&quot;115&quot; j8=&quot;true&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEimizOuaUIYZwV33IOu8sY1YuuPORdigoBAlzGiJpjbzuqeadqjhk7khVHJM-_TFZM947JCTRmL8fMiGFOdgU4sqL8srPB2sa7X0UN4jYt74ZLRrmZ8Vs2oF5N4TDPISatLvFZSx7OdiO0/s320/LCD_pin.JPG&quot; width=&quot;320&quot; /&gt;&lt;/a&gt;&lt;/div&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;
&lt;a href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjz9L544iPiKF9dIhe0mEBwO0S4zF8cL2AsR1QOCzUfJywIxYE4cIoCcxx4luFbPt606DQvnV0KVb4UMNVg5F8R59jzSTCr0swXbF7GQj-fLG6iPUdxSYIXHYGrA8dBlQajx2m2FDpg1sM/s1600/LCD16_PINOUT_.png&quot; imageanchor=&quot;1&quot; style=&quot;margin-left: 1em; margin-right: 1em;&quot;&gt;&lt;img border=&quot;0&quot; height=&quot;320&quot; j8=&quot;true&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjz9L544iPiKF9dIhe0mEBwO0S4zF8cL2AsR1QOCzUfJywIxYE4cIoCcxx4luFbPt606DQvnV0KVb4UMNVg5F8R59jzSTCr0swXbF7GQj-fLG6iPUdxSYIXHYGrA8dBlQajx2m2FDpg1sM/s320/LCD16_PINOUT_.png&quot; width=&quot;231&quot; /&gt;&lt;/a&gt;&lt;/div&gt;
&lt;span style=&quot;font-family: Arial, Helvetica, sans-serif;&quot;&gt;&lt;br /&gt;
You need:&lt;/span&gt;&lt;br /&gt;
&lt;ul&gt;
&lt;li&gt;&lt;span style=&quot;font-family: Arial, Helvetica, sans-serif;&quot;&gt;40 ZIF Socket&lt;/span&gt;&lt;/li&gt;
&lt;li&gt;&lt;span style=&quot;font-family: Arial, Helvetica, sans-serif;&quot;&gt;AT89C51&lt;/span&gt;&lt;/li&gt;
&lt;li&gt;&lt;span style=&quot;font-family: Arial, Helvetica, sans-serif;&quot;&gt;12MHz Crystal Oscillator &lt;/span&gt;&lt;/li&gt;
&lt;li&gt;&lt;span style=&quot;font-family: Arial, Helvetica, sans-serif;&quot;&gt;Two 33pF ceramic capacitors&lt;/span&gt;&lt;/li&gt;
&lt;li&gt;&lt;span style=&quot;font-family: Arial, Helvetica, sans-serif;&quot;&gt;47uF Electrolytic capacitor&lt;/span&gt;&lt;/li&gt;
&lt;li&gt;&lt;span style=&quot;font-family: Arial, Helvetica, sans-serif;&quot;&gt;10k resistor&lt;/span&gt;&lt;/li&gt;
&lt;li&gt;&lt;span style=&quot;font-family: Arial, Helvetica, sans-serif;&quot;&gt;16 pin header 2.54&quot; (It can be fixed with LCD module for inserting into the breadboard)&lt;/span&gt;&lt;/li&gt;
&lt;li&gt;&lt;span style=&quot;font-family: Arial, Helvetica, sans-serif;&quot;&gt;4.7k Potentiometer&lt;/span&gt;&lt;/li&gt;
&lt;li&gt;&lt;span style=&quot;font-family: Arial, Helvetica, sans-serif;&quot;&gt;Core wire (Red, Black, Blue and Yellow)&amp;nbsp;&lt;span style=&quot;font-family: Times New Roman;&quot;&gt;&lt;br /&gt;
&lt;/span&gt;&lt;/span&gt;&lt;/li&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;
&lt;a href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEg0s8YGi-AMCeZlhzGd2wJc6GSHqxc07jwSz2gpV9j0jTjQv0I1CcMTe_BMgEXiLgFTwmx8O2rzH-RoqlFvvKVnREnPBWgS9hNI1VsYeJ-P7h2lhYVD_MQevLDzzwDNQ_7kwJaRIoNMqjk/s1600/LCD_breadboard.JPG&quot; imageanchor=&quot;1&quot; style=&quot;margin-left: 1em; margin-right: 1em;&quot;&gt;&lt;img border=&quot;0&quot; height=&quot;158&quot; j8=&quot;true&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEg0s8YGi-AMCeZlhzGd2wJc6GSHqxc07jwSz2gpV9j0jTjQv0I1CcMTe_BMgEXiLgFTwmx8O2rzH-RoqlFvvKVnREnPBWgS9hNI1VsYeJ-P7h2lhYVD_MQevLDzzwDNQ_7kwJaRIoNMqjk/s320/LCD_breadboard.JPG&quot; width=&quot;320&quot; /&gt;&lt;/a&gt; &lt;/div&gt;
&lt;/ul&gt;
&lt;div style=&quot;text-align: center;&quot;&gt;
&lt;/div&gt;
&lt;span style=&quot;font-family: Arial, Helvetica, sans-serif;&quot;&gt;A breadboard layout of AT89C51 chip and a LCD module &lt;/span&gt;&lt;br /&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;
&lt;a href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjvmAEvOPYMJ4yMehgqmrIphU8CDszaFdc1kkER5NEJ4BAa1FOpW3CbXhDSYjhwbC-lnvaAbJiUCoyMMVtU72oh64YDX4xXipEmt_C4PR-vMT9Nckr9t9ZacLhp79aA6YpPwSoJVn24-UI/s1600/LCD_Schematic.JPG&quot; imageanchor=&quot;1&quot; style=&quot;margin-left: 1em; margin-right: 1em;&quot;&gt;&lt;img border=&quot;0&quot; height=&quot;231&quot; j8=&quot;true&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjvmAEvOPYMJ4yMehgqmrIphU8CDszaFdc1kkER5NEJ4BAa1FOpW3CbXhDSYjhwbC-lnvaAbJiUCoyMMVtU72oh64YDX4xXipEmt_C4PR-vMT9Nckr9t9ZacLhp79aA6YpPwSoJVn24-UI/s320/LCD_Schematic.JPG&quot; width=&quot;320&quot; /&gt;&lt;/a&gt;&lt;/div&gt;
&lt;div style=&quot;text-align: center;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div style=&quot;text-align: center;&quot;&gt;
&lt;span style=&quot;font-family: Arial, Helvetica, sans-serif;&quot;&gt;A schematic of AT89C51 and LCD module &lt;/span&gt;&lt;/div&gt;
&lt;/div&gt;
</content><link rel='replies' type='application/atom+xml' href='http://maverickelectronic.blogspot.com/feeds/894880008510942668/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://maverickelectronic.blogspot.com/2011/05/tutorial-1-2x16-lcd-modules-hardware.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/4088045989109170289/posts/default/894880008510942668'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/4088045989109170289/posts/default/894880008510942668'/><link rel='alternate' type='text/html' href='http://maverickelectronic.blogspot.com/2011/05/tutorial-1-2x16-lcd-modules-hardware.html' title='LCD Tutorial 1'/><author><name>Fuzzythinking</name><uri>http://www.blogger.com/profile/03873781810471485639</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><media:thumbnail xmlns:media="http://search.yahoo.com/mrss/" url="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEimizOuaUIYZwV33IOu8sY1YuuPORdigoBAlzGiJpjbzuqeadqjhk7khVHJM-_TFZM947JCTRmL8fMiGFOdgU4sqL8srPB2sa7X0UN4jYt74ZLRrmZ8Vs2oF5N4TDPISatLvFZSx7OdiO0/s72-c/LCD_pin.JPG" height="72" width="72"/><thr:total>0</thr:total></entry></feed>