原创 SSD1818A application note

2008-10-27 06:34 2967 10 10 分类: MCU/ 嵌入式

The  “5527FBPWBNC” Module that is dot matrix graphic module ( with 96x64 dots, 1/64 duty, 1/9 bias, parallel data bus), That LCD controller is SSD1818A, below figure is SSD1818 key command set


点击看大图


SSD1818 drive source code in below header file and source file<?xml:namespace prefix = o ns = "urn:schemas-microsoft-com:office:office" />


(A)Head file “halLcdSSD1818.h”


const UCHAR lcdMapNum[]={…}


const UCHAR lcdMapLowerAlpha[]={…}


const UCHAR lcdFontMap8x8[] = {…}


 


(B)Source file “halLcdSSD1818.c”


lcdSendCommand()


lcdSendData()


initLcdSsd1818 ()


In the Main file, you need to include the two file should be can use

<?xml:namespace prefix = v ns = "urn:schemas-microsoft-com:vml" />


1f3c7366-c1eb-4419-93e1-6e5bf713148f.JPG



 ------------


How to call Functioin and 8x8 Font library see as “halLcdSSD1818.xls”


 ------------


 https://static.assets-stash.eet-china.com/album/old-resources/2008/10/27/08859532-39f9-46ab-a372-841ad3fb52cb.zip


LcdSsd1818.zip


(1)halLcdSSD1818.c

<div style="BORDER-RIGHT: medium none; PADDING-RIGHT: 0in; BORDER-TOP: medium none; PADDING-LEFT: 0in; PADDING-BOTTOM: 4pt; BORDER-LEFT: medium none; PADDING-TOP: 0in; BORDER-BOTTOM: #4f81bd 1pt solid; mso-element: para-border-div; mso-border-bottom-themecolor: accent1"><font face="Calibri">
<p class="MsoNormal" style="MARGIN: 0in 0in 10pt"><span style="FONT-SIZE: 10pt; LINE-HEIGHT: 115%; FONT-FAMILY: TTE173C2E8t00; mso-bidi-font-family: TTE173C2E8t00">The <span style="mso-spacerun: yes"> </span>“5527FBPWBNC” Module that is dot matrix graphic module ( with 96x64 dots, 1/64 duty, 1/9 bias, parallel data bus), That LCD controller is SSD1818A, below figure is SSD1818 key command set</span></font></p></div>
<div style="BORDER-RIGHT: medium none; PADDING-RIGHT: 0in; BORDER-TOP: medium none; PADDING-LEFT: 0in; PADDING-BOTTOM: 4pt; BORDER-LEFT: medium none; PADDING-TOP: 0in; BORDER-BOTTOM: #4f81bd 1pt solid; mso-element: para-border-div; mso-border-bottom-themecolor: accent1"><font face="Calibri"><a href="https://static.assets-stash.eet-china.com/album/old-resources/2008/10/27/3078da61-9d50-497f-817b-bd25dd0e6880.JPG" target=_blank><img height="142" alt="点击看大图" src="https://static.assets-stash.eet-china.com/album/old-resources/2008/10/27/3078da61-9d50-497f-817b-bd25dd0e6880.JPG" width="520"></a></font></div>
<div style="BORDER-RIGHT: medium none; PADDING-RIGHT: 0in; BORDER-TOP: medium none; PADDING-LEFT: 0in; PADDING-BOTTOM: 4pt; BORDER-LEFT: medium none; PADDING-TOP: 0in; BORDER-BOTTOM: #4f81bd 1pt solid; mso-element: para-border-div; mso-border-bottom-themecolor: accent1"><font face="Calibri">
<p class="MsoNormal" style="MARGIN: 0in 0in 0pt; LINE-HEIGHT: normal"><span style="FONT-FAMILY: 'Courier New'">SSD1818 drive source code in below header file and source file<?xml:namespace prefix = o ns = "urn:schemas-microsoft-com:office:office" /><o:p></o:p></span></p>
<p class="MsoNormal" style="MARGIN: 0in 0in 0pt; LINE-HEIGHT: normal"><span style="FONT-FAMILY: 'Courier New'">(A)Head file “halLcdSSD1818.h”<br>…<o:p></o:p></span></p>
<p class="MsoNormal" style="MARGIN: 0in 0in 0pt; LINE-HEIGHT: normal"><span style="FONT-FAMILY: 'Courier New'">const UCHAR lcdMapNum[]={…}<o:p></o:p></span></p>
<p class="MsoNormal" style="MARGIN: 0in 0in 0pt; LINE-HEIGHT: normal"><span style="FONT-FAMILY: 'Courier New'">const UCHAR lcdMapLowerAlpha[]={…}<o:p></o:p></span></p>
<p class="MsoNormal" style="MARGIN: 0in 0in 0pt; LINE-HEIGHT: normal"><span style="FONT-FAMILY: 'Courier New'">const UCHAR lcdFontMap8x8[] = {…}<o:p></o:p></span></p>
<p class="MsoNormal" style="MARGIN: 0in 0in 0pt; LINE-HEIGHT: normal"><span style="FONT-FAMILY: 'Courier New'"><o:p> </o:p></span></p>
<p class="MsoNormal" style="MARGIN: 0in 0in 0pt; LINE-HEIGHT: normal"><span style="FONT-FAMILY: 'Courier New'">(B)Source file “halLcdSSD1818.c”<o:p></o:p></span></p>
<p class="MsoNormal" style="MARGIN: 0in 0in 0pt; LINE-HEIGHT: normal"><span style="FONT-FAMILY: 'Courier New'">lcdSendCommand()<o:p></o:p></span></p>
<p class="MsoNormal" style="MARGIN: 0in 0in 0pt; LINE-HEIGHT: normal"><span style="FONT-FAMILY: 'Courier New'">lcdSendData()<o:p></o:p></span></p>
<p class="MsoNormal" style="MARGIN: 0in 0in 0pt; LINE-HEIGHT: normal"><span style="FONT-FAMILY: 'Courier New'">initLcdSsd1818 ()<o:p></o:p></span></p>
<p class="MsoNormal" style="MARGIN: 0in 0in 0pt; LINE-HEIGHT: normal"><span style="FONT-FAMILY: 'Courier New'">…<o:p></o:p></span></p></font><span style="FONT-SIZE: 11pt; LINE-HEIGHT: 115%; FONT-FAMILY: 'Calibri','sans-serif'; mso-bidi-font-family: 'Times New Roman'; mso-ascii-theme-font: minor-latin; mso-fareast-font-family: SimSun; mso-fareast-theme-font: minor-fareast; mso-hansi-theme-font: minor-latin; mso-bidi-theme-font: minor-bidi; mso-ansi-language: EN-US; mso-fareast-language: ZH-CN; mso-bidi-language: AR-SA">In the Main file, you need to include the two file should be can use</span></div>
<p class="MsoNormal" style="MARGIN: 0in 0in 10pt"><span style="mso-no-proof: yes"><?xml:namespace prefix = v ns = "urn:schemas-microsoft-com:vml" /><v:shapetype id=_x0000_t75 coordsize="21600,21600" o:spt="75" o:preferrelative="t" path="m@4@5l@4@11@9@11@9@5xe" filled="f" stroked="f"><v:stroke joinstyle="miter"></v:stroke><v:formulas><v:f eqn="if lineDrawn pixelLineWidth 0"></v:f><v:f eqn="sum @0 1 0"></v:f><v:f eqn="sum 0 0 @1"></v:f><v:f eqn="prod @2 1 2"></v:f><v:f eqn="prod @3 21600 pixelWidth"></v:f><v:f eqn="prod @3 21600 pixelHeight"></v:f><v:f eqn="sum @0 0 1"></v:f><v:f eqn="prod @6 1 2"></v:f><v:f eqn="prod @7 21600 pixelWidth"></v:f><v:f eqn="sum @8 21600 0"></v:f><v:f eqn="prod @7 21600 pixelHeight"></v:f><v:f eqn="sum @10 21600 0"></v:f></v:formulas><v:path o:extrusionok="f" gradientshapeok="t" o:connecttype="rect"></v:path><o:lock v:ext="edit" aspectratio="t"></o:lock></v:shapetype></span></p>
<p class="MsoNormal" style="MARGIN: 0in 0in 0pt; LINE-HEIGHT: normal"><span style="FONT-FAMILY: 'Courier New'"><img src="https://static.assets-stash.eet-china.com/album/old-resources/2008/10/27/1f3c7366-c1eb-4419-93e1-6e5bf713148f.JPG"></span></p>
<p class="MsoNormal" style="MARGIN: 0in 0in 10pt"><span style="FONT-FAMILY: 'Courier New'; mso-no-proof: yes"></span><span style="FONT-FAMILY: 'Courier New'"><o:p></o:p></span></p>
<p class="MsoNormal" style="MARGIN: 0in 0in 10pt"><span style="FONT-FAMILY: 'Courier New'"><o:p> ------------</o:p></span></p><span style="FONT-FAMILY: 'Courier New'"><o:p>
<p class="MsoNormal" style="MARGIN: 0in 0in 10pt"><span style="FONT-FAMILY: 'Courier New'">How to call Functioin and 8x8 Font library see as “halLcdSSD1818.xls”<o:p></o:p></span></p>
<p class="MsoNormal" style="MARGIN: 0in 0in 10pt"> ------------</o:p></span></p>
<p class="MsoNormal" style="MARGIN: 0in 0in 10pt"><o:p><font face="Calibri"> <a class="myclass" href="https://static.assets-stash.eet-china.com/album/old-resources/2008/10/27/08859532-39f9-46ab-a372-841ad3fb52cb.zip" target="_blank"><img src="https://static.assets-stash.eet-china.com/album/old-resources/FileIco/rar.gif" alt="rar"></a></font></o:p></p><o:p><font face="Calibri">
<p class="MsoNormal" style="MARGIN: 0in 0in 10pt">LcdSsd1818.zip</p>
<p class="MsoNormal" style="MARGIN: 0in 0in 10pt"><span style="FONT-FAMILY: 'Courier New'"><o:p>(1)halLcdSSD1818.c<br></o:p></span><span style="FONT-FAMILY: 'Courier New'"><o:p>(2)halLcdSSD1818.h<br></o:p></span><span style="FONT-FAMILY: 'Courier New'"><o:p>(3)halLcdSSD1818.xls</o:p></span></p></font></o:p>

PARTNER CONTENT

文章评论0条评论)

登录后参与讨论
EE直播间
更多
我要评论
0
10
关闭 站长推荐上一条 /3 下一条