📄 navigation bar tabs - menu examples.htm
字号:
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<!-- saved from url=(0046)http://www.microsyl.com/graphlcd/graphlcd.html -->
<HTML><HEAD><TITLE>Navigation Bar Tabs - Menu Examples</TITLE>
<META http-equiv=Content-Type content="text/html; charset=gb2312"><LINK
href="exstyle.css" type=text/css rel=stylesheet>
<META content="MSHTML 6.00.2900.2627" name=GENERATOR></HEAD>
<BODY bgColor=#cc3300 leftMargin=4 topMargin=0 marginwidth="0" marginheight="0">
<TABLE cellSpacing=0 cellPadding=0 width="100%" border=0>
<TBODY>
<TR>
<TD bgColor=#cc3300>
<TABLE height=796 cellSpacing=0 cellPadding=10 width=800 align=center
border=0>
<TBODY>
<TR>
<TD vAlign=top width="100%" bgColor=#000066 height=776>
<P align=center><SPAN style="BACKGROUND-COLOR: #000066"><FONT
color=#cc3300 size=6>Graphic LCD Library for
SED1330</FONT></SPAN></P>
<P align=left><FONT color=#ff9900
size=5><STRONG>History</STRONG></FONT></P>
<P align=left><FONT color=#ff9900>This LCD is very different from
the other standards text 2 x 20. This graphic and text LCD is 320 x
200 pixels. This LCD have differents memories map for the text and
graphic region. If you buy this LCD in a "real" electronic
store you will pay like 400$ each but you can find it brand new in a
surplus store for 50$!!!. I used this LCD in a major project
to display charts and a lots of information collected around my
house: temperature, humidity, wind speed, etc. This LCD is perfect
for project that needs to display a lot of
information.</FONT></P>
<P align=left><FONT color=#ff9900>In the source code you will find
all the functions you need to make this LCD works.</FONT></P>
<P align=left><STRONG><FONT color=#ff9900 size=5>Functions
Features</FONT><FONT color=#ff9900 size=4> </FONT></STRONG></P><!--msimagelist-->
<TABLE cellSpacing=0 cellPadding=0 width="100%" border=0><!--msimagelist-->
<TBODY>
<TR><!--msimagelist-->
<TD vAlign=baseline width=42><IMG height=14 alt=bullet
hspace=14
src="Navigation Bar Tabs - Menu Examples.files/yellowba.gif"
width=14></TD>
<TD vAlign=top width="100%"><FONT color=#ff9900>void
LCDWriteData(unsigned char
byte)</FONT><!--msimagelist--></TD></TR><!--msimagelist-->
<TR><!--msimagelist-->
<TD vAlign=baseline width=42><IMG height=14 alt=bullet
hspace=14
src="Navigation Bar Tabs - Menu Examples.files/yellowba.gif"
width=14></TD>
<TD vAlign=top width="100%"><FONT color=#ff9900>void
LCDWriteCmd(unsigned char byte)</FONT><!--msimagelist--></TD></TR><!--msimagelist-->
<TR><!--msimagelist-->
<TD vAlign=baseline width=42><IMG height=14 alt=bullet
hspace=14
src="Navigation Bar Tabs - Menu Examples.files/yellowba.gif"
width=14></TD>
<TD vAlign=top width="100%"><FONT color=#ff9900>unsigned char
LCDReadData(void)</FONT><!--msimagelist--></TD></TR><!--msimagelist-->
<TR><!--msimagelist-->
<TD vAlign=baseline width=42><IMG height=14 alt=bullet
hspace=14
src="Navigation Bar Tabs - Menu Examples.files/yellowba.gif"
width=14></TD>
<TD vAlign=top width="100%"><FONT color=#ff9900>void
InitLCD(void)</FONT><!--msimagelist--></TD></TR><!--msimagelist-->
<TR><!--msimagelist-->
<TD vAlign=baseline width=42><IMG height=14 alt=bullet
hspace=14
src="Navigation Bar Tabs - Menu Examples.files/yellowba.gif"
width=14></TD>
<TD vAlign=top width="100%"><FONT color=#ff9900>void
ClrSCR(void)</FONT><!--msimagelist--></TD></TR><!--msimagelist-->
<TR><!--msimagelist-->
<TD vAlign=baseline width=42><IMG height=14 alt=bullet
hspace=14
src="Navigation Bar Tabs - Menu Examples.files/yellowba.gif"
width=14></TD>
<TD vAlign=top width="100%"><FONT color=#ff9900>void
GotoXY(unsigned char, unsigned
char)</FONT><!--msimagelist--></TD></TR><!--msimagelist-->
<TR><!--msimagelist-->
<TD vAlign=baseline width=42><IMG height=14 alt=bullet
hspace=14
src="Navigation Bar Tabs - Menu Examples.files/yellowba.gif"
width=14></TD>
<TD vAlign=top width="100%"><FONT color=#ff9900>void
LCDWriteString(char *ptr)</FONT><!--msimagelist--></TD></TR><!--msimagelist-->
<TR><!--msimagelist-->
<TD vAlign=baseline width=42><IMG height=14 alt=bullet
hspace=14
src="Navigation Bar Tabs - Menu Examples.files/yellowba.gif"
width=14></TD>
<TD vAlign=top width="100%"><FONT color=#ff9900>void
LCDWriteConstString(const char
*ptr)</FONT><!--msimagelist--></TD></TR><!--msimagelist-->
<TR><!--msimagelist-->
<TD vAlign=baseline width=42><IMG height=14 alt=bullet
hspace=14
src="Navigation Bar Tabs - Menu Examples.files/yellowba.gif"
width=14></TD>
<TD vAlign=top width="100%"><FONT color=#ff9900>void
Cursor(unsigned char cursor)</FONT><!--msimagelist--></TD></TR><!--msimagelist-->
<TR><!--msimagelist-->
<TD vAlign=baseline width=42><IMG height=14 alt=bullet
hspace=14
src="Navigation Bar Tabs - Menu Examples.files/yellowba.gif"
width=14></TD>
<TD vAlign=top width="100%"><FONT color=#ff9900>void
GClrSCR(void)</FONT><!--msimagelist--></TD></TR><!--msimagelist-->
<TR><!--msimagelist-->
<TD vAlign=baseline width=42><IMG height=14 alt=bullet
hspace=14
src="Navigation Bar Tabs - Menu Examples.files/yellowba.gif"
width=14></TD>
<TD vAlign=top width="100%"><FONT color=#ff9900>void GPix(int
x, int y, unsigned char stat)</FONT><!--msimagelist--></TD></TR><!--msimagelist-->
<TR><!--msimagelist-->
<TD vAlign=baseline width=42><IMG height=14 alt=bullet
hspace=14
src="Navigation Bar Tabs - Menu Examples.files/yellowba.gif"
width=14></TD>
<TD vAlign=top width="100%"><FONT color=#ff9900>void GBox(int
x1, int y1, int x2, int y2,int
stat)</FONT><!--msimagelist--></TD></TR><!--msimagelist-->
<TR><!--msimagelist-->
<TD vAlign=baseline width=42><IMG height=14 alt=bullet
hspace=14
src="Navigation Bar Tabs - Menu Examples.files/yellowba.gif"
width=14></TD>
<TD vAlign=top width="100%"><FONT color=#ff9900>void
TextBox(int x, int y, int length,int stat)</FONT><!--msimagelist--></TD></TR><!--msimagelist-->
<TR><!--msimagelist-->
<TD vAlign=baseline width=42><IMG height=14 alt=bullet
hspace=14
src="Navigation Bar Tabs - Menu Examples.files/yellowba.gif"
width=14></TD>
<TD vAlign=top width="100%"><FONT color=#ff9900>void GLine(int
x1, int y1, int x2, int y2)</FONT><!--msimagelist--></TD></TR><!--msimagelist--></TBODY></TABLE>
<P> </P>
<P><STRONG><FONT color=#ff9900 size=5>Pictures</FONT></STRONG></P>
<P align=center><FONT color=#ff9900 size=4>Click to
enlarge</FONT></P>
<TABLE id=AutoNumber1 style="BORDER-COLLAPSE: collapse"
cellSpacing=0 cellPadding=0 width="100%" border=0>
<TBODY>
<TR>
<TD width="33%">
<P align=center><FONT color=#ff9900>LCD in Graphic & Text
mode</FONT></P></TD>
<TD width="33%">
<P align=center><FONT color=#ff9900>PCB of the ATMega128 who
drive the LCD</FONT></P></TD></TR>
<TR>
<TD width="33%">
<DIV align=center>
<CENTER>
<TABLE id=AutoNumber2 style="BORDER-COLLAPSE: collapse"
borderColor=#000000 cellSpacing=0 cellPadding=0 width="10%"
border=5>
<TBODY>
<TR>
<TD width="100%"><A
href="Navigation Bar Tabs - Menu Examples.files/graphlcd1.jpg"
target=_blank><IMG height=372
src="Navigation Bar Tabs - Menu Examples.files/graphlcd1.jpg"
width=259
border=0></A></TD></TR></TBODY></TABLE></CENTER></DIV></TD>
<TD width="33%">
<DIV align=center>
<CENTER>
<TABLE id=AutoNumber3 style="BORDER-COLLAPSE: collapse"
borderColor=#000000 cellSpacing=0 cellPadding=0 width="10%"
border=5>
<TBODY>
<TR>
<TD width="100%"><A
href="Navigation Bar Tabs - Menu Examples.files/graphlcd2.jpg"
target=_blank><IMG height=208
src="Navigation Bar Tabs - Menu Examples.files/graphlcd2.jpg"
width=367
border=0></A></TD></TR></TBODY></TABLE></CENTER></DIV></TD></TR></TBODY></TABLE>
<P> </P>
<P><STRONG><FONT color=#ff9900 size=5>Sources codes &
Schematics</FONT></STRONG></P>
<P><B><FONT color=#ff9900><FONT color=#cc3300>-</FONT><A
href="http://www.microsyl.com/graphlcd/graphlcd.pdf"
target=_blank><FONT color=#cc3300>Schematic in PDF
format</FONT></A></FONT></B></P><PRE><CODE><FONT color=#ffff00>
<FONT color=#c0c0c0><I>//************************************************************************
// This code is taken from one of my project, you can't compile it like
// it is, That's only to help you to understand graphic LCD's
//
// Sylvain Bissonnette
//************************************************************************
//
// R E T U R N S T A C K 3 2
//
// X T A L 12 M h z
//
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -