<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:wfw="http://wellformedweb.org/CommentAPI/"
	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/"
	xmlns:slash="http://purl.org/rss/1.0/modules/slash/"
	>

<channel>
	<title>TKJ Electronics &#187; ILI9919</title>
	<atom:link href="http://elec.tkjweb.dk/blog/tag/ili9919/feed/" rel="self" type="application/rss+xml" />
	<link>http://elec.tkjweb.dk/blog</link>
	<description>The electronics-blog</description>
	<lastBuildDate>Sun, 20 Jun 2010 11:51:40 +0000</lastBuildDate>
	<generator>http://wordpress.org/?v=2.9.2</generator>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
			<item>
		<title>320&#215;240 Color Display &#8211; SSD2119</title>
		<link>http://elec.tkjweb.dk/blog/2010/01/320x240-color-display-ili9919/</link>
		<comments>http://elec.tkjweb.dk/blog/2010/01/320x240-color-display-ili9919/#comments</comments>
		<pubDate>Wed, 27 Jan 2010 19:45:40 +0000</pubDate>
		<dc:creator>Thomas Jespersen</dc:creator>
				<category><![CDATA[ARM Projects]]></category>
		<category><![CDATA[Display]]></category>
		<category><![CDATA[ILI9320]]></category>
		<category><![CDATA[ILI9919]]></category>
		<category><![CDATA[STM32]]></category>

		<guid isPermaLink="false">http://elec.tkjweb.dk/blog/?p=246</guid>
		<description><![CDATA[I finally got the display I bought on eBay to work. It took me a lot of hours as the man I&#8217;d bought the display from told me that the display controller was an ILI9320, so I started making code for the display like it was using an ILI9320 controller.
But as it didn&#8217;t work, I [...]]]></description>
			<content:encoded><![CDATA[<p>I finally got the display I bought on eBay to work. It took me a lot of hours as the man I&#8217;d bought the display from told me that the display controller was an ILI9320, so I started making code for the display like it was using an ILI9320 controller.</p>
<p>But as it didn&#8217;t work, I started debugging using my Raisonance RLink, and just when I looked at the Device variable &#8211; a variable which holds the controller number, and is loaded at the initialization process of the display, it showed me that it was an SSD2119 controller.</p>
<p>So I found the SSD2119 datasheet and started recoding using the new Command calls found in the datasheet&#8230; Finally it worked and showed some life <img src='http://elec.tkjweb.dk/blog/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' /> </p>
<p>So right now I have a working SSD2119 code with SetPixel, Text, Circle, Rectangle, Fill and some working Touch Screen commands for the onboard ADS7843 touch screen controller.</p>
<p>Please take a look at this image to see the display in action:<br />
<div id="attachment_293" class="wp-caption aligncenter" style="width: 310px"><a href="http://elec.tkjweb.dk/blog/wp-content/uploads/ILI9919_Display1.jpg"><img src="http://elec.tkjweb.dk/blog/wp-content/uploads/ILI9919_Display1-300x225.jpg" alt="SSD2119 seen from top" title="SSD2119 From top" width="300" height="225" class="size-medium wp-image-293" /></a><p class="wp-caption-text">SSD2119 from top</p></div><br />
<div id="attachment_299" class="wp-caption aligncenter" style="width: 310px"><a href="http://elec.tkjweb.dk/blog/wp-content/uploads/ILI9919_Display7.jpg"><img src="http://elec.tkjweb.dk/blog/wp-content/uploads/ILI9919_Display7-300x225.jpg" alt="" title="SSD2119 Pringles example" width="300" height="225" class="size-medium wp-image-299" /></a><p class="wp-caption-text">SSD2119 Pringles example</p></div></p>
<p>The current GUI commands I&#8217;ve made is:<br />
void Lcd_Text(u16 x, u16 y, u8 *str, u16 len,u16 Color, u16 bkColor);<br />
void Lcd_Line(u16 x0, u16 y0, u16 x1, u16 y1,u16 color);<br />
void Lcd_Circle(u16 cx,u16 cy,u16 r,u16 color,u8 fill);<br />
void Lcd_Rectangle(u16 x0, u16 y0, u16 x1, u16 y1,u16 color,u8 fill); // Slower than Lcd_ColorBox<br />
void Lcd_Square(u16 x0, u16 y0, u16 width, u16 color,u8 fill);<br />
void Lcd_ClearCharBox(u16 x,u16 y,u16 color);<br />
void Get320240PictureCode(u8* pBuffer,u32 BufferCounter,u32 BaseAddr);</p>
<p>void Lcd_FastRectangle(u16 x0, u16 y0, u16 x1, u16 y1,u16 color,u8 fill); // Faster than Lcd_Rectangle<br />
void Lcd_FastSquare(u16 x0, u16 y0, u16 width, u16 color,u8 fill); // Faster than Lcd_Rectangle<br />
void Lcd_FastClearCharBox(u16 x,u16 y,u16 color);</p>
<p>void DispPic320_240(const unsigned char *str);<br />
void DispPic(u16 x0, u16 y0, const unsigned char *str);</p>
<p>DispPic320_240 and DispPic uses a byte array to show a image &#8211; the byte array is converted from a 24-bit .BMP (bitmap) file using a program I&#8217;ve made in Visual Basic .NET!</p>
]]></content:encoded>
			<wfw:commentRss>http://elec.tkjweb.dk/blog/2010/01/320x240-color-display-ili9919/feed/</wfw:commentRss>
		<slash:comments>26</slash:comments>
		</item>
	</channel>
</rss>
