<?xml version="1.0" encoding="UTF-8"?><rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
		>
<channel>
	<title>Comments on: Using LCD Module with AVRs</title>
	<atom:link href="http://extremeelectronics.co.in/avr-tutorials/using-lcd-module-with-avrs/feed/" rel="self" type="application/rss+xml" />
	<link>http://extremeelectronics.co.in/avr-tutorials/using-lcd-module-with-avrs/</link>
	<description></description>
	<lastBuildDate>Sat, 25 May 2013 10:45:22 +0000</lastBuildDate>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=</generator>
	<item>
		<title>By: PeterS</title>
		<link>http://extremeelectronics.co.in/avr-tutorials/using-lcd-module-with-avrs/comment-page-5/#comment-52456</link>
		<dc:creator>PeterS</dc:creator>
		<pubDate>Mon, 15 Apr 2013 22:32:41 +0000</pubDate>
		<guid isPermaLink="false">http://extremeelectronics.co.in/?p=15#comment-52456</guid>
		<description>Hello Srdjan,

thank you for your reply. It makes me happy :-)
If I can help you again, let me know.

Cheers
Peter</description>
		<content:encoded><![CDATA[<p>Hello Srdjan,</p>
<p>thank you for your reply. It makes me happy <img src='http://extremeelectronics.co.in/wp-includes/images/smilies/icon_smile.gif' alt=':-)' class='wp-smiley' /><br />
If I can help you again, let me know.</p>
<p>Cheers<br />
Peter</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Srdjan</title>
		<link>http://extremeelectronics.co.in/avr-tutorials/using-lcd-module-with-avrs/comment-page-5/#comment-52454</link>
		<dc:creator>Srdjan</dc:creator>
		<pubDate>Mon, 15 Apr 2013 22:21:32 +0000</pubDate>
		<guid isPermaLink="false">http://extremeelectronics.co.in/?p=15#comment-52454</guid>
		<description>@PeterS,

I would like to thank you for helping me with this.I didn&#039;t respond right away because, I wanted to familiarize myself closer with WinAVR and makefile generation. Yes, you were right, the problem was in configuration of printf in the makefile. I generated the makefile again with the WinAVR mfile application, and with it a compiled your code, and run the ISIS simulation. Everything works like a charm now.

Thank again,
Cheers,
Srdjan</description>
		<content:encoded><![CDATA[<p>@PeterS,</p>
<p>I would like to thank you for helping me with this.I didn&#8217;t respond right away because, I wanted to familiarize myself closer with WinAVR and makefile generation. Yes, you were right, the problem was in configuration of printf in the makefile. I generated the makefile again with the WinAVR mfile application, and with it a compiled your code, and run the ISIS simulation. Everything works like a charm now.</p>
<p>Thank again,<br />
Cheers,<br />
Srdjan</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: PeterS</title>
		<link>http://extremeelectronics.co.in/avr-tutorials/using-lcd-module-with-avrs/comment-page-5/#comment-52423</link>
		<dc:creator>PeterS</dc:creator>
		<pubDate>Sat, 13 Apr 2013 17:23:47 +0000</pubDate>
		<guid isPermaLink="false">http://extremeelectronics.co.in/?p=15#comment-52423</guid>
		<description>@Srdjan,

I see, it&#039;s a problem to post lines with angle brackets in it. The first three lines are the normal includes with angle brackets:

&lt;code&gt;
#include &lt;avr/io.h&gt;
#include &lt;stdio.h&gt;
#include &lt;util/delay.h&gt;
&lt;/code&gt;
Cheers
Peter</description>
		<content:encoded><![CDATA[<p>@Srdjan,</p>
<p>I see, it&#8217;s a problem to post lines with angle brackets in it. The first three lines are the normal includes with angle brackets:</p>
<p><code><br />
#include &lt;avr/io.h&gt;<br />
#include &lt;stdio.h&gt;<br />
#include &lt;util/delay.h&gt;<br />
</code><br />
Cheers<br />
Peter</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: PeterS</title>
		<link>http://extremeelectronics.co.in/avr-tutorials/using-lcd-module-with-avrs/comment-page-5/#comment-52422</link>
		<dc:creator>PeterS</dc:creator>
		<pubDate>Sat, 13 Apr 2013 17:15:06 +0000</pubDate>
		<guid isPermaLink="false">http://extremeelectronics.co.in/?p=15#comment-52422</guid>
		<description>@Srdjan,

the code-snipped is ok, but I think, you must change a little bit in your Makefile. Search in the Makefile the following line:
#PRINTF_LIB = $(PRINTF_LIB_FLOAT)
Delete the &quot;#&quot; at the beginning of the line and save the Makefile. Here comes the whole code again:

&lt;code&gt;
#include &lt;avr/io.h&gt;
#include &lt;stdio.h&gt;
#include &lt;util/delay.h&gt;
#include &quot;lcd.h&quot;

char mystr[10];
double myflt1, myflt2;

int main(void)
{
	LCDInit(LS_NONE);
	LCDClear();
	myflt1 = 3.14159;
	myflt2 = myflt1*5.1324;
	sprintf(mystr, &quot;%.3f&quot;, myflt2);
	LCDWriteString(mystr);
}
&lt;/code&gt;

In the line:
sprintf(mystr, &quot;%.3f&quot;, myflt2);
you can define the number of decimal places.

Info: I&#039;m working with WinAVR

Hope it helps
Peter</description>
		<content:encoded><![CDATA[<p>@Srdjan,</p>
<p>the code-snipped is ok, but I think, you must change a little bit in your Makefile. Search in the Makefile the following line:<br />
#PRINTF_LIB = $(PRINTF_LIB_FLOAT)<br />
Delete the &#8220;#&#8221; at the beginning of the line and save the Makefile. Here comes the whole code again:</p>
<p><code><br />
#include &lt;avr/io.h&gt;<br />
#include &lt;stdio.h&gt;<br />
#include &lt;util/delay.h&gt;<br />
#include "lcd.h"</p>
<p>char mystr[10];<br />
double myflt1, myflt2;</p>
<p>int main(void)<br />
{<br />
	LCDInit(LS_NONE);<br />
	LCDClear();<br />
	myflt1 = 3.14159;<br />
	myflt2 = myflt1*5.1324;<br />
	sprintf(mystr, "%.3f", myflt2);<br />
	LCDWriteString(mystr);<br />
}<br />
</code></p>
<p>In the line:<br />
sprintf(mystr, &#8220;%.3f&#8221;, myflt2);<br />
you can define the number of decimal places.</p>
<p>Info: I&#8217;m working with WinAVR</p>
<p>Hope it helps<br />
Peter</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Srdjan</title>
		<link>http://extremeelectronics.co.in/avr-tutorials/using-lcd-module-with-avrs/comment-page-5/#comment-52406</link>
		<dc:creator>Srdjan</dc:creator>
		<pubDate>Fri, 12 Apr 2013 18:11:40 +0000</pubDate>
		<guid isPermaLink="false">http://extremeelectronics.co.in/?p=15#comment-52406</guid>
		<description>@Peter

Thank you very much on the reply. 
I tried the code you provided, but I don&#039;t get result as expected. I have run the simulation in Proteus ,and I keep getting ? on the screen. So it doesn&#039;t prints the decimal number I want, but just the prints ?. can you please help with this,my programing skills in C are still not very good,I am learning.

Thanks,
Srdjan</description>
		<content:encoded><![CDATA[<p>@Peter</p>
<p>Thank you very much on the reply.<br />
I tried the code you provided, but I don&#8217;t get result as expected. I have run the simulation in Proteus ,and I keep getting ? on the screen. So it doesn&#8217;t prints the decimal number I want, but just the prints ?. can you please help with this,my programing skills in C are still not very good,I am learning.</p>
<p>Thanks,<br />
Srdjan</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: PeterS</title>
		<link>http://extremeelectronics.co.in/avr-tutorials/using-lcd-module-with-avrs/comment-page-5/#comment-52396</link>
		<dc:creator>PeterS</dc:creator>
		<pubDate>Fri, 12 Apr 2013 14:40:48 +0000</pubDate>
		<guid isPermaLink="false">http://extremeelectronics.co.in/?p=15#comment-52396</guid>
		<description>Hi Srdjan,

1. You have to change the integer (or float) to a string.
Code-snipped:

int main(void){
char mystr[16];
double myflt1, myflt2;
myflt1 = 3.14159;
myflt2 = myflt1*5.1324;
sprintf(mystr, &quot;%.5f&quot;, myflt2);
LCDWriteString(mystr);
}

sprintf makes this change. This string can be displayed at the LCD. Use the function &quot;LCDWriteString(const char *msg);&quot; from the library.

2. Your second problem is a little bit difficulter. One idea you&#039;ll find at
http://www.avrfreaks.net/index.php?name=PNphpBB2&amp;file=viewtopic&amp;t=128191
Search in Google to &quot;atmega8&quot; and &quot;lm35&quot;.

Cheers
Peter</description>
		<content:encoded><![CDATA[<p>Hi Srdjan,</p>
<p>1. You have to change the integer (or float) to a string.<br />
Code-snipped:</p>
<p>int main(void){<br />
char mystr[16];<br />
double myflt1, myflt2;<br />
myflt1 = 3.14159;<br />
myflt2 = myflt1*5.1324;<br />
sprintf(mystr, &#8220;%.5f&#8221;, myflt2);<br />
LCDWriteString(mystr);<br />
}</p>
<p>sprintf makes this change. This string can be displayed at the LCD. Use the function &#8220;LCDWriteString(const char *msg);&#8221; from the library.</p>
<p>2. Your second problem is a little bit difficulter. One idea you&#8217;ll find at<br />
<a href="http://www.avrfreaks.net/index.php?name=PNphpBB2&#038;file=viewtopic&#038;t=128191" rel="nofollow">http://www.avrfreaks.net/index.php?name=PNphpBB2&#038;file=viewtopic&#038;t=128191</a><br />
Search in Google to &#8220;atmega8&#8243; and &#8220;lm35&#8243;.</p>
<p>Cheers<br />
Peter</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Srdjan</title>
		<link>http://extremeelectronics.co.in/avr-tutorials/using-lcd-module-with-avrs/comment-page-5/#comment-52395</link>
		<dc:creator>Srdjan</dc:creator>
		<pubDate>Fri, 12 Apr 2013 11:20:03 +0000</pubDate>
		<guid isPermaLink="false">http://extremeelectronics.co.in/?p=15#comment-52395</guid>
		<description>Hello,

first of all,thank you for making this great library and very very good tutorials on the subject of micro-controllers.I have two question for you if you can please answer:
1.How to print a number other than integer on the LCD display (for example 25.5 or so)? What should I modify in the lcd source code?
2. How to measure temperature with LM35 and Atmega8 but to have increments in half of the degree (for example measure temperature of 18.5 degrees Celsius)? Because as I can see in your tutorial of interfacing LM35 with Atmega8 you have resolution on one degree. 

Thank you!</description>
		<content:encoded><![CDATA[<p>Hello,</p>
<p>first of all,thank you for making this great library and very very good tutorials on the subject of micro-controllers.I have two question for you if you can please answer:<br />
1.How to print a number other than integer on the LCD display (for example 25.5 or so)? What should I modify in the lcd source code?<br />
2. How to measure temperature with LM35 and Atmega8 but to have increments in half of the degree (for example measure temperature of 18.5 degrees Celsius)? Because as I can see in your tutorial of interfacing LM35 with Atmega8 you have resolution on one degree. </p>
<p>Thank you!</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: PeterS</title>
		<link>http://extremeelectronics.co.in/avr-tutorials/using-lcd-module-with-avrs/comment-page-5/#comment-52355</link>
		<dc:creator>PeterS</dc:creator>
		<pubDate>Thu, 11 Apr 2013 07:41:28 +0000</pubDate>
		<guid isPermaLink="false">http://extremeelectronics.co.in/?p=15#comment-52355</guid>
		<description>@Ujjwal,
at first, is your hardware correct connected? In your software you must init the LCD-module at the right way. How do you put the data witch should be displayed to the LCD? Please post the code of your program.

Cheers
Peter</description>
		<content:encoded><![CDATA[<p>@Ujjwal,<br />
at first, is your hardware correct connected? In your software you must init the LCD-module at the right way. How do you put the data witch should be displayed to the LCD? Please post the code of your program.</p>
<p>Cheers<br />
Peter</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Avinash</title>
		<link>http://extremeelectronics.co.in/avr-tutorials/using-lcd-module-with-avrs/comment-page-5/#comment-52352</link>
		<dc:creator>Avinash</dc:creator>
		<pubDate>Thu, 11 Apr 2013 07:04:00 +0000</pubDate>
		<guid isPermaLink="false">http://extremeelectronics.co.in/?p=15#comment-52352</guid>
		<description>@Ujjwal,

Pay us the cost and get assembled and tested hardware.

Then only we can proceed.</description>
		<content:encoded><![CDATA[<p>@Ujjwal,</p>
<p>Pay us the cost and get assembled and tested hardware.</p>
<p>Then only we can proceed.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Ujjwal Soni</title>
		<link>http://extremeelectronics.co.in/avr-tutorials/using-lcd-module-with-avrs/comment-page-5/#comment-52351</link>
		<dc:creator>Ujjwal Soni</dc:creator>
		<pubDate>Thu, 11 Apr 2013 06:35:57 +0000</pubDate>
		<guid isPermaLink="false">http://extremeelectronics.co.in/?p=15#comment-52351</guid>
		<description>Hi Avinash,

I am using your code and have connected terminals in same manner as described in your article, i am using ATMEGA328P-PU. LCD backlit gets lit but nothing gets displayed.

Please help..

Thanks,

Ujjwal Soni</description>
		<content:encoded><![CDATA[<p>Hi Avinash,</p>
<p>I am using your code and have connected terminals in same manner as described in your article, i am using ATMEGA328P-PU. LCD backlit gets lit but nothing gets displayed.</p>
<p>Please help..</p>
<p>Thanks,</p>
<p>Ujjwal Soni</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: mohammad rp</title>
		<link>http://extremeelectronics.co.in/avr-tutorials/using-lcd-module-with-avrs/comment-page-5/#comment-52021</link>
		<dc:creator>mohammad rp</dc:creator>
		<pubDate>Sat, 30 Mar 2013 06:31:03 +0000</pubDate>
		<guid isPermaLink="false">http://extremeelectronics.co.in/?p=15#comment-52021</guid>
		<description>persian!</description>
		<content:encoded><![CDATA[<p>persian!</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Avinash</title>
		<link>http://extremeelectronics.co.in/avr-tutorials/using-lcd-module-with-avrs/comment-page-5/#comment-52017</link>
		<dc:creator>Avinash</dc:creator>
		<pubDate>Sat, 30 Mar 2013 05:36:37 +0000</pubDate>
		<guid isPermaLink="false">http://extremeelectronics.co.in/?p=15#comment-52017</guid>
		<description>&lt;strong&gt;which language?&lt;/strong&gt;</description>
		<content:encoded><![CDATA[<p><strong>which language?</strong></p>
]]></content:encoded>
	</item>
	<item>
		<title>By: mohammad rp</title>
		<link>http://extremeelectronics.co.in/avr-tutorials/using-lcd-module-with-avrs/comment-page-5/#comment-51994</link>
		<dc:creator>mohammad rp</dc:creator>
		<pubDate>Fri, 29 Mar 2013 15:30:18 +0000</pubDate>
		<guid isPermaLink="false">http://extremeelectronics.co.in/?p=15#comment-51994</guid>
		<description>hi
Can I place the translated article along with the files in my website?</description>
		<content:encoded><![CDATA[<p>hi<br />
Can I place the translated article along with the files in my website?</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: PeterS</title>
		<link>http://extremeelectronics.co.in/avr-tutorials/using-lcd-module-with-avrs/comment-page-5/#comment-51859</link>
		<dc:creator>PeterS</dc:creator>
		<pubDate>Tue, 26 Mar 2013 06:45:45 +0000</pubDate>
		<guid isPermaLink="false">http://extremeelectronics.co.in/?p=15#comment-51859</guid>
		<description>Hi Akshay,

this is not a problem, but a info to you. A good idea is, to take the following line in your main.c sourcecode:
#define F_CPU 8000000UL	/*CPU clock in Hertz*/
You must write the right frequency of your CPU in the line.

Second, your main-function should begin with a:
int main(void)
{
.....

I hope, it helps.

Cheers
Peter</description>
		<content:encoded><![CDATA[<p>Hi Akshay,</p>
<p>this is not a problem, but a info to you. A good idea is, to take the following line in your main.c sourcecode:<br />
#define F_CPU 8000000UL	/*CPU clock in Hertz*/<br />
You must write the right frequency of your CPU in the line.</p>
<p>Second, your main-function should begin with a:<br />
int main(void)<br />
{<br />
&#8230;..</p>
<p>I hope, it helps.</p>
<p>Cheers<br />
Peter</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Avinash</title>
		<link>http://extremeelectronics.co.in/avr-tutorials/using-lcd-module-with-avrs/comment-page-5/#comment-51848</link>
		<dc:creator>Avinash</dc:creator>
		<pubDate>Tue, 26 Mar 2013 04:31:56 +0000</pubDate>
		<guid isPermaLink="false">http://extremeelectronics.co.in/?p=15#comment-51848</guid>
		<description>&lt;strong&gt;@Akshay,

For that you need to have good understanding of C.&lt;/strong&gt;</description>
		<content:encoded><![CDATA[<p><strong>@Akshay,</p>
<p>For that you need to have good understanding of C.</strong></p>
]]></content:encoded>
	</item>
	<item>
		<title>By: akshay</title>
		<link>http://extremeelectronics.co.in/avr-tutorials/using-lcd-module-with-avrs/comment-page-5/#comment-51840</link>
		<dc:creator>akshay</dc:creator>
		<pubDate>Mon, 25 Mar 2013 19:58:55 +0000</pubDate>
		<guid isPermaLink="false">http://extremeelectronics.co.in/?p=15#comment-51840</guid>
		<description>first of all thak u for such a good project i am 11 th class student and i made this proj. by directly burning the hex file given by u but  when i go to the compiling process i get 2 warnings one is
1. e:/winavr-201......../lib/gcc/avr/include/until/delay.h:85:3:warning:#warning &quot;F_CPU not defined for &quot;
2. LCDTEST.C:6:WARNING return type of &#039;main&#039; is not &#039;int&#039;
plz give the sol. of this problem</description>
		<content:encoded><![CDATA[<p>first of all thak u for such a good project i am 11 th class student and i made this proj. by directly burning the hex file given by u but  when i go to the compiling process i get 2 warnings one is<br />
1. e:/winavr-201&#8230;&#8230;../lib/gcc/avr/include/until/delay.h:85:3:warning:#warning &#8220;F_CPU not defined for &#8221;<br />
2. LCDTEST.C:6:WARNING return type of &#8216;main&#8217; is not &#8216;int&#8217;<br />
plz give the sol. of this problem</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: PeterS</title>
		<link>http://extremeelectronics.co.in/avr-tutorials/using-lcd-module-with-avrs/comment-page-5/#comment-51273</link>
		<dc:creator>PeterS</dc:creator>
		<pubDate>Fri, 08 Mar 2013 21:46:49 +0000</pubDate>
		<guid isPermaLink="false">http://extremeelectronics.co.in/?p=15#comment-51273</guid>
		<description>Dear Sir,

is it possible, to use a 8x1-module with your lcd-library?

Sincerely
PeterS</description>
		<content:encoded><![CDATA[<p>Dear Sir,</p>
<p>is it possible, to use a 8&#215;1-module with your lcd-library?</p>
<p>Sincerely<br />
PeterS</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: GSM Module SIM300 Interface with AVR Amega32 &#124; eXtreme ElectronicseXtreme Electronics</title>
		<link>http://extremeelectronics.co.in/avr-tutorials/using-lcd-module-with-avrs/comment-page-5/#comment-50971</link>
		<dc:creator>GSM Module SIM300 Interface with AVR Amega32 &#124; eXtreme ElectronicseXtreme Electronics</dc:creator>
		<pubDate>Tue, 19 Feb 2013 15:49:40 +0000</pubDate>
		<guid isPermaLink="false">http://extremeelectronics.co.in/?p=15#comment-50971</guid>
		<description>[...] Driver Connections.LCD JHD 162a not displaying Charactersatmega32apu resets when i operate any keyATmega8A with 2x16 LCD panel using extremeelectronics libraries - problemRobotics Competition at IIT Kharagpur&#124;&#124; ROBOTIX [...]</description>
		<content:encoded><![CDATA[<p>[...] Driver Connections.LCD JHD 162a not displaying Charactersatmega32apu resets when i operate any keyATmega8A with 2&#215;16 LCD panel using extremeelectronics libraries &#8211; problemRobotics Competition at IIT Kharagpur|| ROBOTIX [...]</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: inacio1981</title>
		<link>http://extremeelectronics.co.in/avr-tutorials/using-lcd-module-with-avrs/comment-page-5/#comment-50689</link>
		<dc:creator>inacio1981</dc:creator>
		<pubDate>Wed, 06 Feb 2013 11:34:23 +0000</pubDate>
		<guid isPermaLink="false">http://extremeelectronics.co.in/?p=15#comment-50689</guid>
		<description>i found error. i´m in c++ and the project is c.
TKS</description>
		<content:encoded><![CDATA[<p>i found error. i´m in c++ and the project is c.<br />
TKS</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: inacio1981</title>
		<link>http://extremeelectronics.co.in/avr-tutorials/using-lcd-module-with-avrs/comment-page-5/#comment-50687</link>
		<dc:creator>inacio1981</dc:creator>
		<pubDate>Wed, 06 Feb 2013 10:22:33 +0000</pubDate>
		<guid isPermaLink="false">http://extremeelectronics.co.in/?p=15#comment-50687</guid>
		<description>i copy you code and the atmel studio send a error.
&quot;main must return int&quot;
i ned help.</description>
		<content:encoded><![CDATA[<p>i copy you code and the atmel studio send a error.<br />
&#8220;main must return int&#8221;<br />
i ned help.</p>
]]></content:encoded>
	</item>
</channel>
</rss>

<!-- Performance optimized by W3 Total Cache. Learn more: http://www.w3-edge.com/wordpress-plugins/

Database Caching 18/43 queries in 0.014 seconds using apc
Object Caching 600/621 objects using disk: basic

Served from: extremeelectronics.co.in @ 2013-05-26 02:36:10 -->