<?xml version="1.0" encoding="utf-8"?>
				<!-- generator="e107" -->
				<!-- content type="Forum / topic" -->
				<rss  version="2.0">
				<channel>
				<title>8051 Microcontroller Projects AVR PIC Projects Tutorials Ebooks Libraries codes : Forum / topic</title>
				<link>http://www.8051projects.net/</link>
				<description>Learn to make simple microcontroller projects, pic, 8051, avr and arm projects. download 8051 projects, tutorials, libraries, sample codes. join the microcontroller discussion forum and ask doubts regarding electronics. the best source for 8051 over internet.</description>

<language>en-gb</language>
				<copyright><a rel="license" href="http://creativecommons.org/licenses/by-nc/2.5/in/" target="_blank"><img alt="Creative Commons License" width="80" height="15" style="border-width:0" src="http://i.creativecommons.org/l/by-nc/2.5/in/80x15.png" target="_blank" /></a>This work is licensed under a <a rel="license" href="http://creativecommons.org/licenses/by-nc/2.5/in/" target="_blank">Creative Commons Attribution-Noncommercial 2.5 India License</a>.<a href='http://www.8051projects.net/disclaimer.htm' target='_blank' />Rickey's World Disclaimer</a></copyright>
				<managingEditor>Ajay Bhargav - contact@nospam.com</managingEditor>
				<webMaster>contact@nospam.com</webMaster>
				<pubDate>Mon, 01 Dec 2008 13:28:32 -0800</pubDate>
				<lastBuildDate>Mon, 01 Dec 2008 13:28:32 -0800</lastBuildDate>
				<docs>http://backend.userland.com/rss</docs>
				<generator>e107 (http://e107.org)</generator>
				<ttl>60</ttl>
				<textInput>
				<title>Search</title>
				<description>Search 8051 Microcontroller Projects AVR PIC Projects Tutorials Ebooks Libraries codes</description>
				<name>query</name>
				<link>http://www.8051projects.net/search.php</link>
				</textInput>
						<item>
						<title>Help GLCD port from 8051</title>
<link>http://www.8051projects.net/forum-t4144.html</link>
<description><![CDATA[Hi,<br />I'm new to arm and microcontrollers, played with pic before but I decided I want to learn arm.<br />I already have a working LCD driver for t6963c, but I kind of like the buffering technique used in the attached. The driver attached is not mine I found it before  I can't remember where actually. I was wondering if any1 could help port the code to gcc arm as I don't have knowledge of 8051 and kind of lost in the code. Or if anyone could just explain how it works I will try to understand it.<br />EDIT:<br />Forgot to tell, I'm using LPc2138 with WinARM<br /><br />TIA.<br /><a href='http://www.8051projects.net/e107_files/public/1198365395_5217_FT0_8051_glcd.zip'><img src='http://www.8051projects.net/e107_images/generic/lite/file.png' alt='' style='border:0; vertical-align:middle' /></a> <a href='http://www.8051projects.net/e107_files/public/1198365395_5217_FT0_8051_glcd.zip'>8051_glcd.zip</a>]]></description>
<pubDate>Sat, 22 Dec 2007 15:17:06 -0800</pubDate>
<guid isPermaLink="true">http://www.8051projects.net/forum-t4144.html</guid>
</item>
						<item>
						<title>Re: Help GLCD port from 8051</title>
<link>http://www.8051projects.net/forum-t4144.html</link>
<description><![CDATA[hi mhel....<br />it is much easier to have glcd in LPC2138  than 51  <img src='http://www.8051projects.net/e107_images/emotes/yahoo/4.gif' alt='' style='vertical-align:middle; border:0' /> <br /><br />only thing... u must know how to handle tje gpios  <br /><br />a thread in corresponding topic is going on i wud like u to  go thru it....<br /><br />cause it is a small issue u can easily do it......<br /><br />]]></description>
<author>shyam&lt;shyam@nospam.com&gt;</author>
<pubDate>Sat, 22 Dec 2007 23:20:48 -0800</pubDate>
<guid isPermaLink="true">http://www.8051projects.net/forum-t4144.html</guid>
</item>
						<item>
						<title>Re: Help GLCD port from 8051</title>
<link>http://www.8051projects.net/forum-t4144.html</link>
<description><![CDATA[Thanks for reply Shyam,<br /><br />Yes, I have learnt how to control GPIOs, I also have a working LCD but I want to learn how to do the offscreen buffering ( i think that's what it's called). Although from what I have found out, the code uses external memory. I'm hoping it could still be done on the 2138 using the 32k ram.<br /><br />]]></description>
<author>mhel&lt;jaqueza@nospam.com&gt;</author>
<pubDate>Sun, 23 Dec 2007 09:05:12 -0800</pubDate>
<guid isPermaLink="true">http://www.8051projects.net/forum-t4144.html</guid>
</item>
						<item>
						<title>Re: Help GLCD port from 8051</title>
<link>http://www.8051projects.net/forum-t4144.html</link>
<description><![CDATA[of course it can be done......<br /><br />u r not using fonts in ur code....<br /><br />i have use 18 fonts with my lpc 2148...   no problem with that......<br /><br />try it out...<br />ne problem i'll be there<br />]]></description>
<author>shyam&lt;shyam@nospam.com&gt;</author>
<pubDate>Sun, 23 Dec 2007 09:47:04 -0800</pubDate>
<guid isPermaLink="true">http://www.8051projects.net/forum-t4144.html</guid>
</item>
						<item>
						<title>Re: Help GLCD port from 8051</title>
<link>http://www.8051projects.net/forum-t4144.html</link>
<description><![CDATA[hi Shyam,<br /><br />The attached is my attempt to port the code, but I got stuck, some definitions are not included,<br />particularly the XBYTES[] array, it's probably in one of the header or it's specific to '51.<br />The low level routine for the LCD works I know that for sure. I tried to adapt it to the code.<br /><br />Is your 2148 LCD driver available to download?<br /><br /><br />Thanks.]]></description>
<author>mhel&lt;jaqueza@nospam.com&gt;</author>
<pubDate>Mon, 24 Dec 2007 08:02:57 -0800</pubDate>
<guid isPermaLink="true">http://www.8051projects.net/forum-t4144.html</guid>
</item>
						<item>
						<title>Re: Help GLCD port from 8051</title>
<link>http://www.8051projects.net/forum-t4144.html</link>
<description><![CDATA[well if u really in need...<br />ok<br />i'll have it for download here....... <br />do u only want to show image on lcd???<br />]]></description>
<author>shyam&lt;shyam@nospam.com&gt;</author>
<pubDate>Mon, 24 Dec 2007 08:17:09 -0800</pubDate>
<guid isPermaLink="true">http://www.8051projects.net/forum-t4144.html</guid>
</item>
						<item>
						<title>Re: Help GLCD port from 8051</title>
<link>http://www.8051projects.net/forum-t4144.html</link>
<description><![CDATA[Thanks, <br /><br />Basically, what I want is to draw the font/image in a buffer before actually sending it to the lcd, as it is done the 8051 code, I want to understand how he did it the e.g the mask[]<br /><br />I won't mind taking a peek at your lcd code tho, thanks again.]]></description>
<author>mhel&lt;jaqueza@nospam.com&gt;</author>
<pubDate>Mon, 24 Dec 2007 09:25:09 -0800</pubDate>
<guid isPermaLink="true">http://www.8051projects.net/forum-t4144.html</guid>
</item>
						<item>
						<title>Re: Help GLCD port from 8051</title>
<link>http://www.8051projects.net/forum-t4144.html</link>
<description><![CDATA[well mhel i am gonna upload a code .. just  see if it helps... otherwise we will surely resume the discussion...<br />watch out here i'll let u know as soon as the code is uploaded<br /><br />]]></description>
<author>shyam&lt;shyam@nospam.com&gt;</author>
<pubDate>Mon, 24 Dec 2007 09:50:21 -0800</pubDate>
<guid isPermaLink="true">http://www.8051projects.net/forum-t4144.html</guid>
</item>
						<item>
						<title>Re: Help GLCD port from 8051</title>
<link>http://www.8051projects.net/forum-t4144.html</link>
<description><![CDATA[hi mhel <br />u can download the library from  <br /><br /> <a class='bbcode' href='http://www.8051projects.net/downloads197.html' rel='external'  target='_blank'>http://www.8051projects.net/downloads197.html</a>]]></description>
<author>shyam&lt;shyam@nospam.com&gt;</author>
<pubDate>Mon, 24 Dec 2007 10:23:24 -0800</pubDate>
<guid isPermaLink="true">http://www.8051projects.net/forum-t4144.html</guid>
</item>
						<item>
						<title>Re: Help GLCD port from 8051</title>
<link>http://www.8051projects.net/forum-t4144.html</link>
<description><![CDATA[I'll look into it.<br /><br />thanks.<br /><br />Edit;<br /><br />This looks like the same code I got from lpc2000 yahoo group. which I already have working too.<br />I'm just having a hard time modifying it to output one character at a time instead of drawing a string.<br />I wanted it to accept newline character and move to the next line too.<br />The reason I like to have a buffered display  is I wanted to implement a vertical scrolling text and from what i've read that's how I could achieved it. Any help on this would be greatly appreciated.<br />]]></description>
<author>mhel&lt;jaqueza@nospam.com&gt;</author>
<pubDate>Mon, 24 Dec 2007 10:52:17 -0800</pubDate>
<guid isPermaLink="true">http://www.8051projects.net/forum-t4144.html</guid>
</item>
						<item>
						<title>Re: Help GLCD port from 8051</title>
<link>http://www.8051projects.net/forum-t4144.html</link>
<description><![CDATA[hmm  ,,<br />well then i m gonna convert that 51 code that too as early as possible... just be with me....]]></description>
<author>shyam&lt;shyam@nospam.com&gt;</author>
<pubDate>Tue, 25 Dec 2007 21:44:04 -0800</pubDate>
<guid isPermaLink="true">http://www.8051projects.net/forum-t4144.html</guid>
</item>
						<item>
						<title>Re: Help GLCD port from 8051</title>
<link>http://www.8051projects.net/forum-t4144.html</link>
<description><![CDATA[hi mhel,<br />cudnt find the following definitions....<br /><div class='code_box'>CODE:</div><div class='code_highlight' style='unicode-bidi: embed; direction: ltr'><div class="c" style="font-family: monospace;"><br />byte_basso<span style="color: #66cc66;">&#40;</span>dato<span style="color: #66cc66;">&#41;</span>;<br />&nbsp;byte_alto<span style="color: #66cc66;">&#40;</span>dato<span style="color: #66cc66;">&#41;</span>;</div></div><br /><br />plz.. check if u have them n which file.....]]></description>
<author>shyam&lt;shyam@nospam.com&gt;</author>
<pubDate>Wed, 26 Dec 2007 09:18:07 -0800</pubDate>
<guid isPermaLink="true">http://www.8051projects.net/forum-t4144.html</guid>
</item>
						<item>
						<title>Re: Help GLCD port from 8051</title>
<link>http://www.8051projects.net/forum-t4144.html</link>
<description><![CDATA[I couldn't find that part too, I assumed it's sending the low byte first then high byte,<br />that's what I did in my attempt. I think it's in Italian.<br /><br />I only got that zip file. There was no contact infor for the guy, else I would have asked him.]]></description>
<author>mhel&lt;jaqueza@nospam.com&gt;</author>
<pubDate>Wed, 26 Dec 2007 09:52:47 -0800</pubDate>
<guid isPermaLink="true">http://www.8051projects.net/forum-t4144.html</guid>
</item>
						<item>
						<title>Re: Help GLCD port from 8051</title>
<link>http://www.8051projects.net/forum-t4144.html</link>
<description><![CDATA[hi mhel got this attatchment....<br />will lokk on to it....]]></description>
<author>shyam&lt;shyam@nospam.com&gt;</author>
<pubDate>Sun, 06 Jan 2008 05:42:03 -0800</pubDate>
<guid isPermaLink="true">http://www.8051projects.net/forum-t4144.html</guid>
</item>
						<item>
						<title>Re: Help GLCD port from 8051</title>
<link>http://www.8051projects.net/forum-t4144.html</link>
<description><![CDATA[Hi,<br />I'm making some progress , I manage to display something but it's not as expected.<br />I'm using 5x8 font only. The text display overlaps, characters are too close to each other or the mapping is incorrect, the graphics is chopped on the bottom. I think it's related to the current_addr_pointer().<br /><br />Shyam: if you have time, maybe you could look at the attached. I can't figure out where the value 1024 came from, 128x8=1024, but the original author uses 128x128 lcd, mine is 240x128. Also perhaps you could make changes on the struct, it's tedious to add those brackets in the array, I get warnings/errors without them. If you do then wbm() would have to be changed too I think.<br /><br />this is how test it, same as in the original<br /><div class='code_asm'>CODE:</div><div class='code_highlight' style='unicode-bidi: embed; direction: ltr'><div class="asm" style="font-family: monospace;"><br />&nbsp; do<br />&nbsp; &nbsp; <span style="color: #66cc66;">&#123;</span><br />&nbsp; &nbsp; &nbsp; i = <span style="color: #ff0000;">0</span><span style="color: #adadad; font-style: italic;">;</span><br />&nbsp; &nbsp; &nbsp; do<br />&nbsp; &nbsp; &nbsp; &nbsp; <span style="color: #66cc66;">&#123;</span><br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; gotoxy<span style="color: #66cc66;">&#40;</span>i, i<span style="color: #66cc66;">&#41;</span><span style="color: #adadad; font-style: italic;">;</span><br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; box<span style="color: #66cc66;">&#40;</span><span style="color: #ff0000;">239</span><span style="color: #ff0000;">-4</span>*i, <span style="color: #ff0000;">127</span><span style="color: #ff0000;">-4</span>*i<span style="color: #66cc66;">&#41;</span><span style="color: #adadad; font-style: italic;">;</span><br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; refresh_LCD<span style="color: #66cc66;">&#40;</span><span style="color: #ff0000;">0</span><span style="color: #66cc66;">&#41;</span><span style="color: #adadad; font-style: italic;">;&nbsp; &nbsp; &nbsp; &nbsp;&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; //refresh for each box</span><br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; pause<span style="color: #66cc66;">&#40;</span>QUARTER_SEC<span style="color: #66cc66;">&#41;</span><span style="color: #adadad; font-style: italic;">;</span><br />&nbsp; &nbsp; &nbsp; &nbsp; <span style="color: #66cc66;">&#125;</span><span style="color: #0000ff;">while</span> <span style="color: #66cc66;">&#40;</span>i++ &lt; <span style="color: #ff0000;">16</span><span style="color: #66cc66;">&#41;</span><span style="color: #adadad; font-style: italic;">;</span><br />&nbsp; &nbsp; &nbsp; set_display<span style="color: #66cc66;">&#40;</span>F5x8, <span style="color: #66cc66;">&#40;</span>flag<span style="color: #66cc66;">&#41;</span> ? NORMAL : REVERSE<span style="color: #66cc66;">&#41;</span><span style="color: #adadad; font-style: italic;">;</span><br />&nbsp; &nbsp; &nbsp; flag = !flag<span style="color: #adadad; font-style: italic;">;</span><br />&nbsp; &nbsp; <span style="color: #66cc66;">&#125;</span><span style="color: #0000ff;">while</span> <span style="color: #66cc66;">&#40;</span>flag<span style="color: #66cc66;">&#41;</span><span style="color: #adadad; font-style: italic;">;</span><br />&nbsp; &nbsp;<br />&nbsp; &nbsp;&nbsp; &nbsp; &nbsp;pause<span style="color: #66cc66;">&#40;</span>FIVE_SEC<span style="color: #66cc66;">&#41;</span><span style="color: #adadad; font-style: italic;">;</span><br /><br />&nbsp; &nbsp; &nbsp; &nbsp; //clearlcd <span style="color: #66cc66;">&#40;</span><span style="color: #0000ff;">ALL</span><span style="color: #66cc66;">&#41;</span><span style="color: #adadad; font-style: italic;">;</span><br /><br />&nbsp; &nbsp; &nbsp; &nbsp; // <span style="color: #00007f; font-weight:bold;">test</span> fonts<br />&nbsp;&nbsp; &nbsp; &nbsp; &nbsp;set_display<span style="color: #66cc66;">&#40;</span>F5x8, NORMAL<span style="color: #66cc66;">&#41;</span><span style="color: #adadad; font-style: italic;">;</span><br />&nbsp;&nbsp; &nbsp; &nbsp; &nbsp;gotoxy<span style="color: #66cc66;">&#40;</span><span style="color: #ff0000;">2</span>,<span style="color: #ff0000;">2</span><span style="color: #66cc66;">&#41;</span><span style="color: #adadad; font-style: italic;">; wrstr(&quot;5/8 FONT&quot;);</span><br /><br />refresh_LCD<span style="color: #66cc66;">&#40;</span><span style="color: #ff0000;">0</span><span style="color: #66cc66;">&#41;</span><span style="color: #adadad; font-style: italic;">;</span><br />&nbsp;</div></div><br /><br />Thanks.]]></description>
<author>mhel&lt;jaqueza@nospam.com&gt;</author>
<pubDate>Sat, 05 Jan 2008 16:02:27 -0800</pubDate>
<guid isPermaLink="true">http://www.8051projects.net/forum-t4144.html</guid>
</item>
						<item>
						<title>Re: Help GLCD port from 8051</title>
<link>http://www.8051projects.net/forum-t4144.html</link>
<description><![CDATA[7zip files is not supported , I forgot about it.<br /><a href='http://www.8051projects.net/e107_files/public/1199577914_5217_FT4144_lcdt.zip'><img src='http://www.8051projects.net/e107_images/generic/lite/file.png' alt='' style='border:0; vertical-align:middle' /></a> <a href='http://www.8051projects.net/e107_files/public/1199577914_5217_FT4144_lcdt.zip'>lcdt.zip</a><br /><br />Edit: how do I update the attachment I want to reupload a new one???]]></description>
<author>mhel&lt;jaqueza@nospam.com&gt;</author>
<pubDate>Sat, 05 Jan 2008 16:05:14 -0800</pubDate>
<guid isPermaLink="true">http://www.8051projects.net/forum-t4144.html</guid>
</item>
						<item>
						<title>Re: Help GLCD port from 8051</title>
<link>http://www.8051projects.net/forum-t4144.html</link>
<description><![CDATA[the box routine is working ok, somehow I'm limited to 127x63 size of box. still trying to find which to hack in <img src='http://www.8051projects.net/e107_images/emotes/yahoo/1.gif' alt='' style='vertical-align:middle; border:0' />   the font drawing is still the same.<br /><br />EDIT: fixed the box, parameters in hline/vline were signed char changed to int16_t, there's still problems<br />some pixels on the right are not drawn/erased.<br />EDIT2: now, the box is really fixed <img src='http://www.8051projects.net/e107_images/emotes/yahoo/1.gif' alt='' style='vertical-align:middle; border:0' />  <br />changed in clearfiled()<br /> <div class='code_asm'>CODE:</div><div class='code_highlight' style='unicode-bidi: embed; direction: ltr'><div class="asm" style="font-family: monospace;"><span style="color: #0000ff;">const</span> uint8_t blank<span style="color: #66cc66;">&#91;</span><span style="color: #66cc66;">&#93;</span> =<span style="color: #66cc66;">&#123;</span> <span style="color: #ff0000;">0</span>,<span style="color: #ff0000;">0</span>,<span style="color: #ff0000;">0</span>,<span style="color: #ff0000;">0</span>,<span style="color: #ff0000;">0</span>,<span style="color: #ff0000;">0</span>,<span style="color: #ff0000;">0</span>,<span style="color: #ff0000;">0</span>,<span style="color: #ff0000;">0</span>,<span style="color: #ff0000;">0</span>,<span style="color: #ff0000;">0</span>,<span style="color: #ff0000;">0</span>,<span style="color: #ff0000;">0</span>,<span style="color: #ff0000;">0</span>,<span style="color: #ff0000;">0</span>,<span style="color: #ff0000;">0</span> <span style="color: #66cc66;">&#125;</span><span style="color: #adadad; font-style: italic;">; </span></div></div><br />to: <div class='code_asm'>CODE:</div><div class='code_highlight' style='unicode-bidi: embed; direction: ltr'><div class="asm" style="font-family: monospace;"><span style="color: #0000ff;">const</span> uint8_t blank<span style="color: #66cc66;">&#91;</span><span style="color: #66cc66;">&#93;</span> = <span style="color: #66cc66;">&#123;</span> <span style="color: #ff0000;">0</span>,<span style="color: #ff0000;">0</span>,<span style="color: #ff0000;">0</span>,<span style="color: #ff0000;">0</span>,<span style="color: #ff0000;">0</span>,<span style="color: #ff0000;">0</span>,<span style="color: #ff0000;">0</span>,<span style="color: #ff0000;">0</span>,<span style="color: #ff0000;">0</span>,<span style="color: #ff0000;">0</span>,<span style="color: #ff0000;">0</span>,<span style="color: #ff0000;">0</span>,<span style="color: #ff0000;">0</span>,<span style="color: #ff0000;">0</span>,<span style="color: #ff0000;">0</span>,<span style="color: #ff0000;">0</span>,<span style="color: #ff0000;">0</span>,<span style="color: #ff0000;">0</span>,<span style="color: #ff0000;">0</span>,<span style="color: #ff0000;">0</span>,<span style="color: #ff0000;">0</span>,<span style="color: #ff0000;">0</span>,<span style="color: #ff0000;">0</span>,<span style="color: #ff0000;">0</span>,<span style="color: #ff0000;">0</span>,<span style="color: #ff0000;">0</span>,<span style="color: #ff0000;">0</span>,<span style="color: #ff0000;">0</span>,<span style="color: #ff0000;">0</span>,<span style="color: #ff0000;">0</span> <span style="color: #66cc66;">&#125;</span><span style="color: #adadad; font-style: italic;">;</span></div></div><br /><br />the font drawing  is really tough I need help on that one, but I'm  kinda a glad I got this going  <img src='http://www.8051projects.net/e107_images/emotes/yahoo/3.gif' alt='' style='vertical-align:middle; border:0' />]]></description>
<author>mhel&lt;jaqueza@nospam.com&gt;</author>
<pubDate>Sat, 05 Jan 2008 17:41:19 -0800</pubDate>
<guid isPermaLink="true">http://www.8051projects.net/forum-t4144.html</guid>
</item>
						<item>
						<title>Re: Help GLCD port from 8051</title>
<link>http://www.8051projects.net/forum-t4144.html</link>
<description><![CDATA[<div class='quote_top'>mhel wrote ...</div><div class='quote'><br /> 7zip files is not supported , I forgot about it.<br /><a href='http://www.8051projects.net/e107_files/public/1199577914_5217_FT4144_lcdt.zip'><img src='http://www.8051projects.net/e107_images/generic/lite/file.png' alt='' style='border:0; vertical-align:middle' /></a> <a href='http://www.8051projects.net/e107_files/public/1199577914_5217_FT4144_lcdt.zip'>lcdt.zip</a><br /><br />Edit: how do I update the attachment I want to reupload a new one???<br /></div><br /><br />if you want then i can add 7z extention to be uploaded.. but the reason is.. its not supported by all..<br />post a screenshot of your LCD.. <img src='http://www.8051projects.net/e107_images/emotes/yahoo/1.gif' alt='' style='vertical-align:middle; border:0' />  wanna see the gfx]]></description>
<author>Ajay&lt;contact@nospam.com&gt;</author>
<pubDate>Sun, 06 Jan 2008 05:58:09 -0800</pubDate>
<guid isPermaLink="true">http://www.8051projects.net/forum-t4144.html</guid>
</item>
						<item>
						<title>Re: Help GLCD port from 8051</title>
<link>http://www.8051projects.net/forum-t4144.html</link>
<description><![CDATA[Thanks guys, but I freaking did it <img src='http://www.8051projects.net/e107_images/emotes/yahoo/1.gif' alt='' style='vertical-align:middle; border:0' />  my bit rotation was wrong, I just have that cut and paste from post somewhere didn't really know it's inner working, I actually attempted it in assembly, but got lost.<br /> I still don't know where the 1024 value came from tho.<br /><br />Shyam: Thanks for the time, maybe you should look at this new attachment and see what I'm missing, although it seems to be working I'd like to be able to place bitmap graphic too.<br /><br />Ajay: I actually just found out about 7zip, it's free why not support it?<br /><br />I attached a screenshot.<br />BTW, this is just a home project, I'm just a hobbyist, that's why I'm glad I found this site, with lots of good tutorials and such, not to mention the knowledgeable people that are willing to help. Thank you.<br /><img src='http://www.8051projects.net/e107_files/public/1199636175_5217_FT4144_dscf0009_.jpg' class='bbcode' alt='' width='550' height='413'  />	<br /><br /><a href='http://www.8051projects.net/e107_files/public/1199636176_5217_FT4144_080106lcdt.zip'><img src='http://www.8051projects.net/e107_images/generic/lite/file.png' alt='' style='border:0; vertical-align:middle' /></a> <a href='http://www.8051projects.net/e107_files/public/1199636176_5217_FT4144_080106lcdt.zip'>080106lcdt.zip</a>]]></description>
<author>mhel&lt;jaqueza@nospam.com&gt;</author>
<pubDate>Sun, 06 Jan 2008 08:18:01 -0800</pubDate>
<guid isPermaLink="true">http://www.8051projects.net/forum-t4144.html</guid>
</item>
						<item>
						<title>Re: Help GLCD port from 8051</title>
<link>http://www.8051projects.net/forum-t4144.html</link>
<description><![CDATA[hi mhel...<br />i understand  how excited u wud be for this project runnning in front of u...<br />u have done  a lot of hard work....<br /><br />i hve been out of my office for a long time... cud not look on the code...<br />to save time if u cud just sent us the complete application... it wud save time...<br />cause i  dont know which machine i'll be working on....  <img src='http://www.8051projects.net/e107_images/emotes/yahoo/4.gif' alt='' style='vertical-align:middle; border:0' />  <br />plus i wud request ajay to put it in download section as soon as the scrolling thing is done...<br />BTW i ve started working on menuing...<br />wud post the tested application/code soon...<br />]]></description>
<author>shyam&lt;shyam@nospam.com&gt;</author>
<pubDate>Sun, 06 Jan 2008 10:18:24 -0800</pubDate>
<guid isPermaLink="true">http://www.8051projects.net/forum-t4144.html</guid>
</item>
						<item>
						<title>Re: Help GLCD port from 8051</title>
<link>http://www.8051projects.net/forum-t4144.html</link>
<description><![CDATA[@mhel <br /><div class='indent'>but the original author uses 128x128 lcd, mine is 240x128</div><br /><br />well  if u talking abt the following function u r right<br /><div class='code_box'>CODE:</div><div class='code_highlight' style='unicode-bidi: embed; direction: ltr'><div class="c" style="font-family: monospace;"><br /><span style="color: #993333;">static</span> uint32_t current_addr_pointer <span style="color: #66cc66;">&#40;</span><span style="color: #993333;">void</span><span style="color: #66cc66;">&#41;</span><br /><span style="color: #808080; font-style: italic;">/**************************************************************/</span><br /><span style="color: #66cc66;">&#123;</span><br />&nbsp; <span style="color: #b1b100;">return</span> <span style="color: #cc66cc;">1024</span> * selected_page + yStart*Nmax + xStart/<span style="color: #cc66cc;">8</span>;<br /><span style="color: #66cc66;">&#125;</span><br />&nbsp;</div></div><br /><br />ok see...<br />using 5x8 pixel...  =><br />8 pixel y direction<br /><br />128  *8 = 1024<br /><br />=>one page = 1024<br /><br />now if i want to select page 2 coordinates 30,40<br />so the function will return 1024 *2 + 30*5 + 40*8<br /><br />i guess that is what the function is doing...<br /><br />bottom line...<br />wether it be 240x128   or 128x128...<br />for complete page scan we need to scan 128<br />so doesnt matter..<br />it wud be 1024 in both the cases...<br />not tested on board just a logical suggestion  <img src='http://www.8051projects.net/e107_images/emotes/yahoo/10.gif' alt='' style='vertical-align:middle; border:0' />]]></description>
<author>shyam&lt;shyam@nospam.com&gt;</author>
<pubDate>Sun, 06 Jan 2008 10:33:16 -0800</pubDate>
<guid isPermaLink="true">http://www.8051projects.net/forum-t4144.html</guid>
</item>
						<item>
						<title>Re: Help GLCD port from 8051</title>
<link>http://www.8051projects.net/forum-t4144.html</link>
<description><![CDATA[shyam:<br />I'll try to clean it first then I'll upload it.<br /><br />thanks.]]></description>
<author>mhel&lt;jaqueza@nospam.com&gt;</author>
<pubDate>Sun, 06 Jan 2008 11:53:13 -0800</pubDate>
<guid isPermaLink="true">http://www.8051projects.net/forum-t4144.html</guid>
</item>
						<item>
						<title>Re: Help GLCD port from 8051</title>
<link>http://www.8051projects.net/forum-t4144.html</link>
<description><![CDATA[Hi Shyam,<br /><br />this is the simple setup I have,  to test the lcd.<br />pinouts are in the config.h. this is taken from WinArm samples, I use CodeBlocks as<br />as my editor, I like it, not keil but better than programmer's notepad.<br /><br /><br /><img src='http://www.8051projects.net/e107_files/public/1199657923_5217_FT4144_lpcpic.gif' class='bbcode' alt='' width='300' height='235'  />	<br /><a href='http://www.8051projects.net/e107_files/public/1199657923_5217_FT4144_winarm_lcdt.zip'><img src='http://www.8051projects.net/e107_images/generic/lite/file.png' alt='' style='border:0; vertical-align:middle' /></a> <a href='http://www.8051projects.net/e107_files/public/1199657923_5217_FT4144_winarm_lcdt.zip'>winarm_lcdt.zip</a>]]></description>
<author>mhel&lt;jaqueza@nospam.com&gt;</author>
<pubDate>Sun, 06 Jan 2008 14:20:47 -0800</pubDate>
<guid isPermaLink="true">http://www.8051projects.net/forum-t4144.html</guid>
</item>
						<item>
						<title>Re: Help GLCD port from 8051</title>
<link>http://www.8051projects.net/forum-t4144.html</link>
<description><![CDATA[<span style='color:#6666ff'>bottom line...<br />wether it be 240x128 or 128x128...<br />for complete page scan we need to scan 128<br />so doesnt matter..<br />it wud be 1024 in both the cases...<br />not tested on board just a logical suggestion </span><br /><br />I have verified the above to be correct, I have changed it to 3840, and  changed it back to 1024 and the behaviour is the same. I assumed, since I was using 240x128 and fontwidth of 8 that I needed 3840 bytes according to a document I read.  Although I think my math skills   is skewed <img src='http://www.8051projects.net/e107_images/emotes/yahoo/1.gif' alt='' style='vertical-align:middle; border:0' />   I have 30columns by 16rows, does this mean I only need 480bytes of ram per page? or this calculation only applicable to Text mode?<br /><br />BTW, I attempted to to draw bitmaps, but it only draws part of the image, please tell me what I missed thanks. The structure for IMG  is defined with height, width, and the actual data.<br /> <div class='code_box'>CODE:</div><div class='code_highlight' style='unicode-bidi: embed; direction: ltr'><div class="c" style="font-family: monospace;">uint8_t draw_img<span style="color: #66cc66;">&#40;</span>uint8_t x1, uint8_t y1, IMG * img<span style="color: #66cc66;">&#41;</span><br /><span style="color: #66cc66;">&#123;</span><br />&nbsp; uint8_t x, y;<br />&nbsp; uint8_t *iptr=img-&gt;data;<br /><span style="color: #808080; font-style: italic;">// &nbsp;set_display(F5x8, NORMAL);</span><br />&nbsp; gotoxy<span style="color: #66cc66;">&#40;</span>x1,y1<span style="color: #66cc66;">&#41;</span>;<br />&nbsp; x = x1;<br />&nbsp; y = y1;<br />&nbsp; <span style="color: #b1b100;">while</span> <span style="color: #66cc66;">&#40;</span>y &lt; y1+img-&gt;height<span style="color: #66cc66;">&#41;</span><br />&nbsp; &nbsp; <span style="color: #66cc66;">&#123;</span><br />&nbsp; &nbsp; &nbsp; <span style="color: #b1b100;">while</span> <span style="color: #66cc66;">&#40;</span>x &lt; x1+img-&gt;width/<span style="color: #cc66cc;">8</span><span style="color: #66cc66;">&#41;</span><br />&nbsp; &nbsp; &nbsp; &nbsp; <span style="color: #66cc66;">&#123;</span><br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; framebuffer<span style="color: #66cc66;">&#91;</span>current_addr_pointer<span style="color: #66cc66;">&#40;</span><span style="color: #66cc66;">&#41;</span><span style="color: #66cc66;">&#93;</span>=*iptr;<br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; iptr++;<br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; x+=<span style="color: #cc66cc;">1</span>;<br />&nbsp; &nbsp; &nbsp; &nbsp; <span style="color: #66cc66;">&#125;</span><br />&nbsp; &nbsp; &nbsp; x=x1;<br />&nbsp; &nbsp; &nbsp; y+=<span style="color: #cc66cc;">1</span>;<br />&nbsp; &nbsp; &nbsp; <span style="color: #b1b100;">if</span> <span style="color: #66cc66;">&#40;</span>Nmax != img-&gt;width/<span style="color: #cc66cc;">8</span><span style="color: #66cc66;">&#41;</span><span style="color: #808080; font-style: italic;">//Nmax = 30</span><br />&nbsp; &nbsp; &nbsp; &nbsp; <span style="color: #66cc66;">&#123;</span><br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; gotoxy<span style="color: #66cc66;">&#40;</span>x,y<span style="color: #66cc66;">&#41;</span>;<br />&nbsp; &nbsp; &nbsp; &nbsp; <span style="color: #66cc66;">&#125;</span><br /><br />&nbsp; &nbsp; <span style="color: #66cc66;">&#125;</span><br />&nbsp; refresh_LCD<span style="color: #66cc66;">&#40;</span><span style="color: #cc66cc;">0</span><span style="color: #66cc66;">&#41;</span>;<br />&nbsp; <span style="color: #b1b100;">return</span> x1 + img-&gt;width + <span style="color: #cc66cc;">1</span>;<br /><span style="color: #66cc66;">&#125;</span></div></div> <br /><br />Shyam: I appreciate your time on doing the scroll thing, I'll wait for it  'cause I doubt I'd be able to hack it. Thanks.]]></description>
<author>mhel&lt;jaqueza@nospam.com&gt;</author>
<pubDate>Wed, 09 Jan 2008 03:11:15 -0800</pubDate>
<guid isPermaLink="true">http://www.8051projects.net/forum-t4144.html</guid>
</item>
						<item>
						<title>Re: Help GLCD port from 8051</title>
<link>http://www.8051projects.net/forum-t4144.html</link>
<description><![CDATA[I got the image drawing working, I can't believe it's this simple I had to hit my head a couple of times  <img src='http://www.8051projects.net/e107_images/emotes/yahoo/9.gif' alt='' style='vertical-align:middle; border:0' />  <br /> <div class='code_box'>CODE:</div><div class='code_highlight' style='unicode-bidi: embed; direction: ltr'><div class="c" style="font-family: monospace;">uint8_t draw_img<span style="color: #66cc66;">&#40;</span>uint8_t x1, uint8_t y1, IMG * img<span style="color: #66cc66;">&#41;</span><br /><span style="color: #66cc66;">&#123;</span><br />&nbsp; gotoxy<span style="color: #66cc66;">&#40;</span>x1,y1<span style="color: #66cc66;">&#41;</span>;<br />&nbsp; wrbm<span style="color: #66cc66;">&#40;</span>img-&gt;width, img-&gt;height, img-&gt;data<span style="color: #66cc66;">&#41;</span>;<br />&nbsp; refresh_LCD<span style="color: #66cc66;">&#40;</span><span style="color: #cc66cc;">0</span><span style="color: #66cc66;">&#41;</span>;<br />&nbsp; <span style="color: #b1b100;">return</span> xStart + <span style="color: #cc66cc;">1</span>;<span style="color: #808080; font-style: italic;">//returns next x position</span><br /><span style="color: #66cc66;">&#125;</span></div></div><br /><br />I guess if you look at the code for a long time it will just pop up  <img src='http://www.8051projects.net/e107_images/emotes/yahoo/4.gif' alt='' style='vertical-align:middle; border:0' />]]></description>
<author>mhel&lt;jaqueza@nospam.com&gt;</author>
<pubDate>Wed, 16 Jan 2008 10:23:39 -0800</pubDate>
<guid isPermaLink="true">http://www.8051projects.net/forum-t4144.html</guid>
</item>
						<item>
						<title>Re: Help GLCD port from 8051</title>
<link>http://www.8051projects.net/forum-t4144.html</link>
<description><![CDATA[congratulations.. mhel!!!!... <br />enjoy your work!! <img src='http://www.8051projects.net/e107_images/emotes/yahoo/4.gif' alt='' style='vertical-align:middle; border:0' /> <br /> <img src='http://www.8051projects.net/e107_images/emotes/yahoo/69.gif' alt='' style='vertical-align:middle; border:0' />   <img src='http://www.8051projects.net/e107_images/emotes/yahoo/69.gif' alt='' style='vertical-align:middle; border:0' />   <img src='http://www.8051projects.net/e107_images/emotes/yahoo/69.gif' alt='' style='vertical-align:middle; border:0' />  <br />]]></description>
<author>shyam&lt;shyam@nospam.com&gt;</author>
<pubDate>Wed, 16 Jan 2008 11:33:45 -0800</pubDate>
<guid isPermaLink="true">http://www.8051projects.net/forum-t4144.html</guid>
</item>
						<item>
						<title>Re: Help GLCD port from 8051</title>
<link>http://www.8051projects.net/forum-t4144.html</link>
<description><![CDATA[thnx shyam,<br /><br />one question, in the lcd code, what do you think would be the posible uses of the function copy_page(), right now I have it commented out since i limit my framebuffer pages to just 1.]]></description>
<author>mhel&lt;jaqueza@nospam.com&gt;</author>
<pubDate>Thu, 17 Jan 2008 13:11:02 -0800</pubDate>
<guid isPermaLink="true">http://www.8051projects.net/forum-t4144.html</guid>
</item>
						<item>
						<title>Re: Help GLCD port from 8051</title>
<link>http://www.8051projects.net/forum-t4144.html</link>
<description><![CDATA[I managed to add blinking cursor to lcd driver:<br /> <div class='code_box'>CODE:</div><div class='code_highlight' style='unicode-bidi: embed; direction: ltr'><div class="c" style="font-family: monospace;"><span style="color: #993333;">static</span> <span style="color: #993333;">void</span> set_cursor<span style="color: #66cc66;">&#40;</span>uint8_t row, uint8_t col, uint8_t cursor<span style="color: #66cc66;">&#41;</span><br /><span style="color: #66cc66;">&#123;</span><br />&nbsp; uint16_t addr;<br />&nbsp; addr = &nbsp;GHOME + <span style="color: #66cc66;">&#40;</span>row/<span style="color: #cc66cc;">8</span><span style="color: #66cc66;">&#41;</span> &nbsp;+ <span style="color: #66cc66;">&#40;</span>col*<span style="color: #cc66cc;">30</span><span style="color: #66cc66;">&#41;</span>;<br />&nbsp; lcd_setaddr<span style="color: #66cc66;">&#40;</span>0x24, addr<span style="color: #66cc66;">&#41;</span>;<br />&nbsp; <span style="color: #b1b100;">if</span> <span style="color: #66cc66;">&#40;</span>cursor<span style="color: #66cc66;">&#41;</span><br />&nbsp; &nbsp; lcd_sendcmd<span style="color: #66cc66;">&#40;</span>0xf8 | <span style="color: #66cc66;">&#40;</span><span style="color: #66cc66;">&#40;</span><span style="color: #cc66cc;">7</span>-row%<span style="color: #cc66cc;">8</span><span style="color: #66cc66;">&#41;</span><span style="color: #66cc66;">&#41;</span><span style="color: #66cc66;">&#41;</span>;<br />&nbsp; <span style="color: #b1b100;">else</span><br />&nbsp; &nbsp; lcd_sendcmd<span style="color: #66cc66;">&#40;</span>0xf0 | <span style="color: #66cc66;">&#40;</span><span style="color: #66cc66;">&#40;</span><span style="color: #cc66cc;">7</span>-row%<span style="color: #cc66cc;">8</span><span style="color: #66cc66;">&#41;</span><span style="color: #66cc66;">&#41;</span><span style="color: #66cc66;">&#41;</span>;<br /><span style="color: #66cc66;">&#125;</span><br /><br /><span style="color: #993333;">void</span> set_curpos<span style="color: #66cc66;">&#40;</span><span style="color: #993333;">void</span><span style="color: #66cc66;">&#41;</span><br /><span style="color: #66cc66;">&#123;</span><br />&nbsp; uint8_t i, c;<br />&nbsp; c = yStart<span style="color: #cc66cc;">+8</span>;<br />&nbsp; cursortoggle ^= <span style="color: #cc66cc;">1</span>;<br />&nbsp; <span style="color: #b1b100;">for</span> <span style="color: #66cc66;">&#40;</span>i=<span style="color: #cc66cc;">0</span>; i&lt;<span style="color: #cc66cc;">8</span>;i++<span style="color: #66cc66;">&#41;</span><span style="color: #66cc66;">&#123;</span><br /><span style="color: #808080; font-style: italic;">// &nbsp; &nbsp;set_cursor(xStart, yStart+i, cursortoggle); /* set vertical cursor position */</span><br />set_cursor<span style="color: #66cc66;">&#40;</span>xStart+i, c , cursortoggle<span style="color: #66cc66;">&#41;</span>; <span style="color: #808080; font-style: italic;">/* set horizontal cursor position */</span><br />&nbsp; <span style="color: #66cc66;">&#125;</span><br /><span style="color: #66cc66;">&#125;</span></div></div> <br /><br />the code above is independent of the framebuffer, It is called after the lcd is refreshed. Actually, it is called from a timer interrupt every 500ms,<br />I place a flag in refresh_LCD() and is checked in the interrupt if the cursor is to be displayed. xStart and yStart is global and primarily used in the framebuffer. I can't remember why I had the cursortoggle global too tho. the code is basically turning on/off 8pixels following the xStart &amp; yStart.]]></description>
<author>mhel&lt;jaqueza@nospam.com&gt;</author>
<pubDate>Mon, 04 Feb 2008 08:45:19 -0800</pubDate>
<guid isPermaLink="true">http://www.8051projects.net/forum-t4144.html</guid>
</item>
						<item>
						<title>Re: Help GLCD port from 8051</title>
<link>http://www.8051projects.net/forum-t4144.html</link>
<description><![CDATA[great going mhel (whats your real name <img src='http://www.8051projects.net/e107_images/emotes/yahoo/1.gif' alt='' style='vertical-align:middle; border:0' />  )<br />adding blinking cursor to LCD will keep controller busy, is it? coz gfx LCD has to be updated after every half sec or something.. what you say?]]></description>
<author>Ajay&lt;contact@nospam.com&gt;</author>
<pubDate>Mon, 04 Feb 2008 09:39:12 -0800</pubDate>
<guid isPermaLink="true">http://www.8051projects.net/forum-t4144.html</guid>
</item>
						<item>
						<title>Re: Help GLCD port from 8051</title>
<link>http://www.8051projects.net/forum-t4144.html</link>
<description><![CDATA[he is a wise guy..  <br />using interrupts..<br />there are lots of interrupt sources in arm that you can use mostly IRQ  not much burden on the controller...!! ARM is supposed to handle this business @ low power <img src='http://www.8051projects.net/e107_images/emotes/yahoo/4.gif' alt='' style='vertical-align:middle; border:0' />  <img src='http://www.8051projects.net/e107_images/emotes/yahoo/10.gif' alt='' style='vertical-align:middle; border:0' />]]></description>
<author>shyam&lt;shyam@nospam.com&gt;</author>
<pubDate>Mon, 04 Feb 2008 11:33:25 -0800</pubDate>
<guid isPermaLink="true">http://www.8051projects.net/forum-t4144.html</guid>
</item>
						<item>
						<title>Re: Help GLCD port from 8051</title>
<link>http://www.8051projects.net/forum-t4144.html</link>
<description><![CDATA[I only needed the cursor display when I'm ask to input values via keyboard, it seems odd without the cursor, and the blinking is just aesthetic i thought it looks cool <img src='http://www.8051projects.net/e107_images/emotes/yahoo/1.gif' alt='' style='vertical-align:middle; border:0' />  and the interrupt seems to be a good way of doing it.<br /><br />]]></description>
<author>mhel&lt;jaqueza@nospam.com&gt;</author>
<pubDate>Tue, 05 Feb 2008 11:05:16 -0800</pubDate>
<guid isPermaLink="true">http://www.8051projects.net/forum-t4144.html</guid>
</item>
						<item>
						<title>Re: Help GLCD port from 8051</title>
<link>http://www.8051projects.net/forum-t4144.html</link>
<description><![CDATA[sounds sweet.. <img src='http://www.8051projects.net/e107_images/emotes/yahoo/4.gif' alt='' style='vertical-align:middle; border:0' /> <br /><br />make a small video i wanna see scrolling thingy..]]></description>
<author>Ajay&lt;contact@nospam.com&gt;</author>
<pubDate>Wed, 13 Feb 2008 21:59:52 -0800</pubDate>
<guid isPermaLink="true">http://www.8051projects.net/forum-t4144.html</guid>
</item>
						<item>
						<title>Re: Help GLCD port from 8051</title>
<link>http://www.8051projects.net/forum-t4144.html</link>
<description><![CDATA[finally figured out how to scroll <img src='http://www.8051projects.net/e107_images/emotes/yahoo/3.gif' alt='' style='vertical-align:middle; border:0' />  sweeet.<br />this works for a 5x8 font, need to change the hard values to variables<br />to match the font size used.<br /><br />Note: this is for 240x128 dots LCD, 16rows 30columns 8x8dots 16*8*30=3840<br />so you know which to change to match your's.<br /> <div class='code_box'>CODE:</div><div class='code_highlight' style='unicode-bidi: embed; direction: ltr'><div class="c" style="font-family: monospace;"><span style="color: #993333;">void</span> scroll<span style="color: #66cc66;">&#40;</span><span style="color: #993333;">void</span><span style="color: #66cc66;">&#41;</span><br /><span style="color: #808080; font-style: italic;">/**************************************************************/</span><br /><span style="color: #66cc66;">&#123;</span><br />&nbsp; &nbsp; uint32_t i;<br />&nbsp; &nbsp; <span style="color: #808080; font-style: italic;">// Row 15 is the end, this means we need to scroll up</span><br />&nbsp; &nbsp; <span style="color: #b1b100;">if</span> <span style="color: #66cc66;">&#40;</span>yStart &gt;=<span style="color: #cc66cc;">128</span><span style="color: #66cc66;">&#41;</span><br />&nbsp; &nbsp; <span style="color: #66cc66;">&#123;</span><br />&nbsp; &nbsp; &nbsp; &nbsp; <span style="color: #808080; font-style: italic;">// Move the current text chunk that makes up the screen</span><br />&nbsp; &nbsp; &nbsp; &nbsp; <span style="color: #808080; font-style: italic;">// back in the buffer by a line</span><br />&nbsp; &nbsp; &nbsp; &nbsp; <span style="color: #b1b100;">for</span> <span style="color: #66cc66;">&#40;</span>i = <span style="color: #cc66cc;">0</span>; i &lt; <span style="color: #cc66cc;">3840</span>; i++<span style="color: #66cc66;">&#41;</span><br />&nbsp; &nbsp; &nbsp; &nbsp; <span style="color: #66cc66;">&#123;</span><br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; framebuffer<span style="color: #66cc66;">&#91;</span>i<span style="color: #66cc66;">&#93;</span> = framebuffer<span style="color: #66cc66;">&#91;</span>i<span style="color: #cc66cc;">+240</span><span style="color: #66cc66;">&#93;</span>;<br /><br />&nbsp; &nbsp; &nbsp; &nbsp; <span style="color: #66cc66;">&#125;</span><br />&nbsp; &nbsp; &nbsp; &nbsp; <span style="color: #808080; font-style: italic;">// The last line should now be blank. Do this by writing 0's</span><br />&nbsp; &nbsp; &nbsp; &nbsp; <span style="color: #b1b100;">for</span> <span style="color: #66cc66;">&#40;</span>i = <span style="color: #cc66cc;">3600</span>; i &lt; <span style="color: #cc66cc;">3840</span>; i++<span style="color: #66cc66;">&#41;</span><span style="color: #808080; font-style: italic;">//120*30</span><br />&nbsp; &nbsp; &nbsp; &nbsp; <span style="color: #66cc66;">&#123;</span><br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; framebuffer<span style="color: #66cc66;">&#91;</span>i<span style="color: #66cc66;">&#93;</span> = 0x00;<br />&nbsp; &nbsp; &nbsp; &nbsp; <span style="color: #66cc66;">&#125;</span><br />&nbsp; &nbsp; &nbsp; &nbsp; <span style="color: #808080; font-style: italic;">// The cursor should now be on the last line.</span><br />&nbsp; &nbsp; &nbsp; &nbsp; yStart = <span style="color: #cc66cc;">120</span>;<br /><br />&nbsp; &nbsp; <span style="color: #66cc66;">&#125;</span><br /><span style="color: #66cc66;">&#125;</span></div></div>]]></description>
<author>mhel&lt;jaqueza@nospam.com&gt;</author>
<pubDate>Wed, 13 Feb 2008 18:47:57 -0800</pubDate>
<guid isPermaLink="true">http://www.8051projects.net/forum-t4144.html</guid>
</item>
						<item>
						<title>Re: Help GLCD port from 8051</title>
<link>http://www.8051projects.net/forum-t4144.html</link>
<description><![CDATA[<div class='quote_top'>Ajay wrote ...</div><div class='quote'><br />sounds sweet.. <img src='http://www.8051projects.net/e107_images/emotes/yahoo/4.gif' alt='' style='vertical-align:middle; border:0' /> <br /><br />make a small video i wanna see scrolling thingy..<br /></div><br />me tooooooooooo  <img src='http://www.8051projects.net/e107_images/emotes/yahoo/4.gif' alt='' style='vertical-align:middle; border:0' />   <img src='http://www.8051projects.net/e107_images/emotes/yahoo/4.gif' alt='' style='vertical-align:middle; border:0' />   <img src='http://www.8051projects.net/e107_images/emotes/yahoo/4.gif' alt='' style='vertical-align:middle; border:0' />  <br />]]></description>
<author>abbas1707&lt;abbas@nospam.com&gt;</author>
<pubDate>Thu, 14 Feb 2008 06:13:03 -0800</pubDate>
<guid isPermaLink="true">http://www.8051projects.net/forum-t4144.html</guid>
</item>
						<item>
						<title>Re: Help GLCD port from 8051</title>
<link>http://www.8051projects.net/forum-t4144.html</link>
<description><![CDATA[shyam,<br />just curious, why is it that in glcd.h  the defines for control pins are:<br /> <div class='code_box'>CODE:</div><div class='code_highlight' style='unicode-bidi: embed; direction: ltr'><div class="c" style="font-family: monospace;"><br /><span style="color: #339933;">#define LCD_CS2&nbsp;&nbsp; &nbsp; &nbsp; &nbsp; BIT(10) &nbsp;/* Chip Select Col1-64 &nbsp; P0.10*/</span><br /><span style="color: #339933;">#define LCD_CS1&nbsp;&nbsp; &nbsp; &nbsp; &nbsp; BIT(28) &nbsp;/* Chip Select Col64-128 P0.28 */</span><br /><span style="color: #339933;">#define LCD_RW&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; BIT(31) &nbsp;/* Read/Write &nbsp;P031 */</span><br /><span style="color: #339933;">#define LCD_DI&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; BIT(6) &nbsp;/* Data/Instr. P0.06 */</span><br /><span style="color: #339933;">#define LCD_E&nbsp; &nbsp;&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; BIT(26) &nbsp;/* Enable P0.26 */</span><br /><span style="color: #339933;">#define LCD_RST&nbsp;&nbsp; &nbsp; &nbsp; &nbsp; BIT(27) &nbsp;/* Enable P0.27 */</span><br />&nbsp;</div></div> <br /><br />but when used in control it has 'G'<br /><div class='code_asm'>CODE:</div><div class='code_highlight' style='unicode-bidi: embed; direction: ltr'><div class="asm" style="font-family: monospace;"><br />#define LCD_CONTROL&nbsp; &nbsp; &nbsp;<span style="color: #66cc66;">&#40;</span>uint32_t<span style="color: #66cc66;">&#41;</span><span style="color: #66cc66;">&#40;</span>GLCD_CS1|GLCD_CS2|GLCD_RW|GLCD_DI|GLCD_E|GLCD_RESET<span style="color: #66cc66;">&#41;</span><br />&nbsp;</div></div><br /><br />edit:<br />never mind I just saw the lcdinit and I guess it doesnt matter.]]></description>
<author>mhel&lt;jaqueza@nospam.com&gt;</author>
<pubDate>Fri, 18 Apr 2008 10:03:22 -0700</pubDate>
<guid isPermaLink="true">http://www.8051projects.net/forum-t4144.html</guid>
</item>
						<item>
						<title>Re: Help GLCD port from 8051</title>
<link>http://www.8051projects.net/forum-t4144.html</link>
<description><![CDATA[Hi all,<br />how have you connected your dsiplay to the LPC<br />have you used a level shifter from 3,3 to 5V or is it connected directly to the LPC port pins.<br /><br />regards Tom]]></description>
<author>tom_softi&lt;thomas.fruechtl@nospam.com&gt;</author>
<pubDate>Thu, 17 Apr 2008 17:32:24 -0700</pubDate>
<guid isPermaLink="true">http://www.8051projects.net/forum-t4144.html</guid>
</item>
						<item>
						<title>Re: Help GLCD port from 8051</title>
<link>http://www.8051projects.net/forum-t4144.html</link>
<description><![CDATA[well you can do that yourself <img src='http://www.8051projects.net/e107_images/emotes/yahoo/4.gif' alt='' style='vertical-align:middle; border:0' />  add it.. will see u on chat and explain you how to do that <img src='http://www.8051projects.net/e107_images/emotes/yahoo/3.gif' alt='' style='vertical-align:middle; border:0' />]]></description>
<author>Ajay&lt;contact@nospam.com&gt;</author>
<pubDate>Sat, 19 Apr 2008 09:17:06 -0700</pubDate>
<guid isPermaLink="true">http://www.8051projects.net/forum-t4144.html</guid>
</item>
						<item>
						<title>Re: Help GLCD port from 8051</title>
<link>http://www.8051projects.net/forum-t4144.html</link>
<description><![CDATA[level shifter is not required!!!..<br /><br />the pins (data/ctrl)  are 3v3  compattible . By the way which LCD u plan to use??<br /> <img src='http://www.8051projects.net/e107_images/emotes/yahoo/103.gif' alt='' style='vertical-align:middle; border:0' />  <br />]]></description>
<author>shyam&lt;shyam@nospam.com&gt;</author>
<pubDate>Thu, 17 Apr 2008 21:14:47 -0700</pubDate>
<guid isPermaLink="true">http://www.8051projects.net/forum-t4144.html</guid>
</item>
						<item>
						<title>Re: Help GLCD port from 8051</title>
<link>http://www.8051projects.net/forum-t4144.html</link>
<description><![CDATA[Sorry guys for late reply, been busy.  I was not able to take video of the scrolling, with t6963c scrolling does not look good since it causes ghosting I think that's the right term. I meant because it scrolls very fast the display is not as clear compared to when you scroll in a terminal.<br /><br /><br />tom_softi:<br />yes shyam is right I didn't use any level shifter, it depends on the lcd specs I guess. usually minimum turn on is 3.2v I think, and some of the LPC pins are 5v tolerant.<br /><br /><br /><br /><br />]]></description>
<author>mhel&lt;jaqueza@nospam.com&gt;</author>
<pubDate>Fri, 18 Apr 2008 00:50:50 -0700</pubDate>
<guid isPermaLink="true">http://www.8051projects.net/forum-t4144.html</guid>
</item>
						<item>
						<title>Re: Help GLCD port from 8051</title>
<link>http://www.8051projects.net/forum-t4144.html</link>
<description><![CDATA[i am working on Mukund Deshmukh's code for KS0108 adapted from the 51 code.<br />i am attaching the code .<br />i am facing a strange problem.<br />i can see data on only one half of the LCD.<br />i interchanged CS1 and CS2 pins thus now i can see data on the other half..  but still unable to access both at a time.<br />hope somebody wud help me out!<br /><br /><a href='http://www.8051projects.net/e107_files/public/1208524980_2984_FT4144_grlcd.rar'><img src='http://www.8051projects.net/e107_images/generic/lite/file.png' alt='' style='border:0; vertical-align:middle' /></a> <a href='http://www.8051projects.net/e107_files/public/1208524980_2984_FT4144_grlcd.rar'>grlcd.rar</a>]]></description>
<author>shyam&lt;shyam@nospam.com&gt;</author>
<pubDate>Fri, 18 Apr 2008 06:23:00 -0700</pubDate>
<guid isPermaLink="true">http://www.8051projects.net/forum-t4144.html</guid>
</item>
						<item>
						<title>Re: Help GLCD port from 8051</title>
<link>http://www.8051projects.net/forum-t4144.html</link>
<description><![CDATA[u r right mhel...<br /><br />but u can see in the code..<br /><br /><br />LCD_CONTROL is not used  any where..  this is cause i have not started the cleaning job yet <img src='http://www.8051projects.net/e107_images/emotes/yahoo/1.gif' alt='' style='vertical-align:middle; border:0' />]]></description>
<author>shyam&lt;shyam@nospam.com&gt;</author>
<pubDate>Fri, 18 Apr 2008 15:10:59 -0700</pubDate>
<guid isPermaLink="true">http://www.8051projects.net/forum-t4144.html</guid>
</item>
						<item>
						<title>Re: Help GLCD port from 8051</title>
<link>http://www.8051projects.net/forum-t4144.html</link>
<description><![CDATA[hello everybody!!!!<br /><br />as always the code was perfect somehow the PIN P0.2 was not functional dont know why...<br /><br />any ways i am pleased to announce that this code is working perfectly ..<br />so we have one more code for KS0108 taht can be uploaded to the library   <img src='http://www.8051projects.net/e107_images/emotes/yahoo/69.gif' alt='' style='vertical-align:middle; border:0' />   <img src='http://www.8051projects.net/e107_images/emotes/yahoo/69.gif' alt='' style='vertical-align:middle; border:0' />]]></description>
<author>shyam&lt;shyam@nospam.com&gt;</author>
<pubDate>Fri, 18 Apr 2008 19:55:05 -0700</pubDate>
<guid isPermaLink="true">http://www.8051projects.net/forum-t4144.html</guid>
</item>
						<item>
						<title>Re: Help GLCD port from 8051</title>
<link>http://www.8051projects.net/forum-t4144.html</link>
<description><![CDATA[could it be the pullup?  P0.2 is an i2c pin.]]></description>
<author>mhel&lt;jaqueza@nospam.com&gt;</author>
<pubDate>Sat, 19 Apr 2008 13:02:07 -0700</pubDate>
<guid isPermaLink="true">http://www.8051projects.net/forum-t4144.html</guid>
</item>
						<item>
						<title>Re: Help GLCD port from 8051</title>
<link>http://www.8051projects.net/forum-t4144.html</link>
<description><![CDATA[aha!!!<br />u got point there!!<br /><br />|o| how cud i have missed it???  <img src='http://www.8051projects.net/e107_images/emotes/yahoo/102.gif' alt='' style='vertical-align:middle; border:0' />  <br />will check that and reply!<br /><br />thanx Mhel]]></description>
<author>shyam&lt;shyam@nospam.com&gt;</author>
<pubDate>Sat, 19 Apr 2008 14:25:22 -0700</pubDate>
<guid isPermaLink="true">http://www.8051projects.net/forum-t4144.html</guid>
</item>
				</channel>
				</rss>