📄 微控技术论坛-- diy活动3v串并行口带中文字库lcd模块使用.mht
字号:
else
{ if(G37&(1<<(8-1)))
{ document.write("=D6=B0=CE=F1=A3=BA<font color=3Dblue =
class=3DBlueFont>=C2=DB=CC=B3=B0=E6=D6=F7</font><br>");
}
else
{ if(G37&(1<<(2-1))){document.write("=C8=CF=D6=A4=A3=BA<font =
color=3DGreen class=3DGreenFont>=C8=CF=D6=A4=BB=E1=D4=B1</font><br>");}
}
}
}
document.write("=BC=B6=B1=F0=A3=BA" + DEF_UserLevelString[G23] + =
"<br>");
if(G47 !=3D 0)
{ if(G47 > 127)
{ G47=3D127-G47;
}
else
{ G47=3D"<font color=3Dblue class=3DBlueFont>=A3=AB" + G47 + =
"</font>";
}
document.write("=CD=FE=CD=FB=A3=BA" + G47 + "<br>");
}
if(G48 !=3D 0)document.write("=F7=C8=C1=A6=A3=BA" + G48 + "<br>");
document.write("" + DEF_PointsName + "=A3=BA" + G26 + "<br>");
document.write("=BE=AD=D1=E9=A3=BA" + parseInt(G28/60) + "<br>");
document.write("=CE=C4=D5=C2=A3=BA" + G33 + "<br>");
if(G30>0)document.write("=D7=A2=B2=E1=A3=BA" + G30.substr(2,2) + "-" + =
G30.substr(4,2) + "-" + G30.substr(6,2) + " " + G30.substr(8,2) + ":" + =
G30.substr(10,2));
}
document.write("<br></td></tr></table></td>");
document.write("<td height=3D20 valign=3Dtop><table width=3D100% =
height=3D100% style=3D\"table-layout:fixed; =
word-break:break-all\"><tr><td width=3D2><img src=3D" + HU + =
"images/blank.gif width=3D2 height=3D2></td><td valign=3Dtop>");
document.write("<table align=3Dcenter width=3D100% border=3D0 =
cellspacing=3D0 cellpadding=3D0><tr><td>");
document.write("<img src=3D" + HU + "images/" + GDI + "bf/face" + G9 + =
".gif align=3Dabsbottom width=3D20 height=3D20>");
document.write("=B7=A2=B1=ED: " + G10.substr(0,4) + "-" + =
G10.substr(4,2) + "-" + G10.substr(6,2) + " " + G10.substr(8,2) + ":" + =
G10.substr(10,2) + ":" + G10.substr(12,2));
if(G1 =3D=3D 0)document.write(" =C8=CB=C6=F8:" + G12);
if(0 !=3D 1)document.write(bimg + "<a =
href=3D\"Announce2.asp?BoardID=3D" + GBLBD + "&ID=3D" + G0 + =
"&submitflag=3Dfirst&repost=3D1\"><img src=3D../images/" + GDI + "re.gif =
border=3D0 title=3D=D2=FD=D3=C3=BB=D8=B8=B4 align=3Dabsmiddle width=3D16 =
height=3D16></a>");
if(G15 > 0)document.write(bimg + "<a href=3D\"" + HU + =
"User/SendMessage.asp?SdM_ToUser=3D" + htmlencode(G14) + "\"><img =
src=3D../images/" + GDI + "message.GIF border=3D0 title=3D=B8=F8" + =
htmlencode(G14) + "=B7=A2=CF=FB=CF=A2 align=3Dabsmiddle width=3D16 =
height=3D16></a>");
if(G24!=3D"")
{ if((G24.substr(0,4)).toUpperCase() !=3D "HTTP")G24=3D"http://" + G24;
document.write(bimg + "<a href=3D\"" + htmlencode(G24) + "\" =
target=3D_blank><img src=3D../images/" + GDI + "home.gif border=3D0 =
title=3D=B4=CB=D3=C3=BB=A7=D6=F7=D2=B3 align=3Dabsmiddle width=3D16 =
height=3D16></a>");
}
if(GBL_CHK_User !=3D "" && (GMF >=3D 5 || G14 =3D=3D GBL_CHK_User))
{ document.write(bimg + "<a href=3D\"Editannounce.asp?BoardID=3D" + =
GBLBD + "&ID=3D" + G0 + "\"><img src=3D../images/" + GDI + "edit.gif =
border=3D0 title=3D=D0=DE=B8=C4=CC=FB=D7=D3=C4=DA=C8=DD =
align=3Dabsmiddle width=3D16 height=3D16></a>");
document.write(bimg + "<a =
href=3D'javascript:opw(\"TypeSetAnnounce.asp\",\"RepairID\"," + G0 + =
");'><img src=3D../images/" + GDI + "ts.gif border=3D0 =
title=3D=D7=D4=B6=AF=C5=C5=B0=E6=CF=FB=B3=FD=B6=E0=D3=E0=BB=BB=D0=D0=A3=AC=
=CB=F8=CC=FB=A3=AC=C9=F3=BA=CB=CC=FB=B5=C8=B9=A6=C4=DC align=3Dabsmiddle =
width=3D16 height=3D16></a>");
}
if(GBL_CHK_User !=3D "" && G15 > 0)document.write(bimg + "<a =
href=3D'javascript:opw(\"AddFriend.asp\",\"AddSureFlag=3Dyes&FriendName\"=
,\"" + htmlencode(G14) + "\");'><img src=3D../images/" + GDI + =
"friend.gif border=3D0 =
title=3D=BC=D3=B4=CB=D3=C3=BB=A7=CE=AA=BA=C3=D3=D1 align=3Dabsmiddle =
width=3D16 height=3D16></a>");
=09
if(GBL_CHK_User !=3D "" && GMF >=3D 5)
{ if((!(0&(1<<(5-1)))) && (!(GCU&(1<<(5-1)))))
{ document.write(bimg + "<a href=3D'javascript:opw(\"");
if(101 !=3D 444 && 1 =3D=3D 0 && G1 =3D=3D 0)
{ document.write("MoveAnnounce.asp\",\"MoveID\",\"" + G0 + =
"&BoardID2=3D444\"");
}
else
{ document.write("DelAnnounce.asp\",\"DelID\",\"" + G0 + "\"");
}
document.write(");'><img src=3D../images/" + GDI + "Del.GIF =
border=3D0 title=3D=C9=BE=B3=FD=B4=CB=CC=FB=D7=D3 align=3Dabsmiddle =
width=3D16 height=3D16></a>");
}
if(G1 =3D=3D 0 && (!(GCU&(1<<(6-1))))){document.write(bimg + "<a =
href=3D'javascript:opw(\"MakeGood.asp\",\"GoodID\"," + G0 + ");'><img =
src=3D../images/" + GDI + "jh.GIF border=3D0 =
title=3D=BE=AB=BB=AA=BB=F2=C8=A1=CF=FB=BE=AB=BB=AA=B4=CB=CC=FB=D7=D3=A3=AC=
=BD=B1=B3=CD=B7=A2=CC=FB=D3=C3=BB=A7 align=3Dabsmiddle width=3D16 =
height=3D16></a>");}
}
if(G1 =3D=3D 0)
{ document.write("</td><td align=3Dright><font =
color=3D888888><b>=C2=A5=D6=F7</b></font></td></tr></table>");
}
else
{ document.write("</td><td align=3Dright><font =
color=3D888888>=B5=DA<b>" + (page*15+i) + =
"</b>=C2=A5</font></td></tr></table>");
}
}
function facenum(num)
{
var n =3D 4-((num+"").length),str=3D"",p;
for(p=3D1;p<=3Dn;p++)str+=3D"0";
return(str+num);
}
function JsDateDiffSecond(d1,d2)
{
d1 =3D new =
Date(d1.substr(0,4),d1.substr(4,2),d1.substr(6,2),d1.substr(8,2),d1.subst=
r(10,2),d1.substr(12,2));
d2 =3D new =
Date(d2.substr(0,4),d2.substr(4,2),d2.substr(6,2),d2.substr(8,2),d2.subst=
r(10,2),d2.substr(12,2));
var s, t,t2;
t =3D Date.parse(d1);
t2 =3D Date.parse(d2);
s =3D Math.round(Math.abs(t2 / 1000)) - Math.round(Math.abs(t / 1000));
return(s);
}
function Constellation(Births,B)
{
//alert(Births.substring(0,1));
var s =3D "<img width=3D15 height=3D15 src=3D" + HU + "images/" + GDI + =
"cnstl/z";
switch(Births)
{
case 1:
if(B>=3D21)
{s+=3D"11.gif alt=3D=CB=AE=C6=BF=D7=F9";}
else{s+=3D"10.gif alt=3D=C4=A7=F4=C9=D7=F9";}
break;
case 2:
if(B>=3D20)
{s+=3D"12.gif alt=3D=CB=AB=D3=E3=D7=F9";}
else
{s+=3D"11.gif alt=3D=CB=AE=C6=BF=D7=F9";}
break;
case 3:
if(B>=3D21)
{s+=3D"1.gif alt=3D=B0=D7=D1=F2=D7=F9";}
else
{s+=3D"12.gif alt=3D=CB=AB=D3=E3=D7=F9";}
break;
case 4:
if(B>=3D21)
{s+=3D"2.gif alt=3D=BD=F0=C5=A3=D7=F9";}
else
{s+=3D"1.gif alt=3D=B0=D7=D1=F2=D7=F9";}
break;
case 5:
if(B>=3D22)
{s+=3D"3.gif alt=3D=CB=AB=D7=D3=D7=F9";}
else
{s+=3D"2.gif alt=3D=BD=F0=C5=A3=D7=F9";}
break;
case 6:
if(B>=3D22)
{s+=3D"4.gif alt=3D=BE=DE=D0=B7=D7=F9";}
else
{s+=3D"3.gif alt=3D=CB=AB=D7=D3=D7=F9";}
break;
case 7:
if(B>=3D23)
{s+=3D"5.gif alt=3D=CA=A8=D7=D3=D7=F9";}
else
{s+=3D"4.gif alt=3D=BE=DE=D0=B7=D7=F9";}
break;
case 8:
if(B>=3D24)
{s+=3D"6.gif alt=3D=B4=A6=C5=AE=D7=F9";}
else
{s+=3D"5.gif alt=3D=CA=A8=D7=D3=D7=F9";}
break;
case 9:
if(B>=3D24)
{s+=3D"7.gif alt=3D=CC=EC=B3=D3=D7=F9";}
else
{s+=3D"6.gif alt=3D=B4=A6=C5=AE=D7=F9";}
break;
case 10:
if(B>=3D24)
{s+=3D"8.gif alt=3D=CC=EC=D0=AB=D7=F9";}
else
{s+=3D"7.gif alt=3D=CC=EC=B3=D3=D7=F9";}
break;
case 11:
if(B>=3D23)
{s+=3D"9.gif alt=3D=C9=E4=CA=D6=D7=F9";}
else
{s+=3D"8.gif alt=3D=CC=EC=D0=AB=D7=F9";}
break;
case 12:
if(B>=3D22)
{s+=3D"10.gif alt=3D=C4=A7=F4=C9=D7=F9";}
else
{s+=3D"9.gif alt=3D=C9=E4=CA=D6=D7=F9";}
break;
default:
s=3D"";
}
if(s!=3D""){s+=3D" align=3Dabsmiddle>";}
return(s);
}
function DisplayBirthAnimal(BirthYear)
{
var temp,t=3D"<img width=3D15 height=3D15 src=3D" + HU + "images/" + =
GDI + "snxa/sx";
BirthYear%=3D12;
switch(BirthYear)
{
case 0: t+=3D"9s.gif alt=3D=C9=EA=BA=EF";break;
case 1: t+=3D"10s.gif alt=3D=D3=CF=BC=A6";break;
case 2: t+=3D"11s.gif alt=3D=D0=E7=B9=B7";break;
case 3: t+=3D"12s.gif alt=3D=BA=A5=D6=ED";break;
case 4: t+=3D"1s.gif alt=3D=D7=D3=CA=F3";break;
case 5: t+=3D"2s.gif alt=3D=B3=F3=C5=A3";break;
case 6: t+=3D"3s.gif alt=3D=D2=FA=BB=A2";break;
case 7: t+=3D"4s.gif alt=3D=C3=AE=CD=C3";break;
case 8: t+=3D"5s.gif alt=3D=B3=BD=C1=FA";break;
case 9: t+=3D"6s.gif alt=3D=CB=C8=C9=DF";break;
case 10: t+=3D"7s.gif alt=3D=CE=E7=C2=ED";break;
case 11: t+=3D"8s.gif alt=3D=CE=B4=D1=F2";break;
default: t =3D "";
}
if(t!=3D""){t+=3D" align=3Dabsmiddle>";}
return(t);
}
function DisplayOfficerString(Officer)
{
var t,n,f=3D0;
var str=3D"";
t =3D Officer.split(",");
for(n=3D0;n<=3Dt.length;n++)
{
if(t[n]>=3D0 && t[n]<=3D5)
{
if(f =3D=3D 0)
{ f =3D 1;
str +=3D DEF_UserOfficerString[t[n]];
}
else
{
str +=3D "," + DEF_UserOfficerString[t[n]];
}
}
}
var re =3D /(,)/gi;
str =3D str.replace(re,"<br> ");
return(str);
}
function htmlencode(str)
{
var re =3D /(<)/gi;
var rv =3D str.replace(re,"<");
re =3D /(>)/gi;
rv =3D rv.replace(re,">");
re =3D /(\")/gi;
rv =3D rv.replace(re,""");
return(rv);
}
//-->
</SCRIPT>
<SCRIPT =
language=3Djavascript>ds(90,0,11,"20060404001648",4498,"DC",2,"",3,10,"",=
2683,"3",5282417,"","20060307234240","=C3=DC","20061222183055",2086,"../i=
mages/DC.jpg",90,90,640,"0",0,"",4,8,2);
</SCRIPT>
<BR><SPAN style=3D"LINE-HEIGHT: 15pt"><B><FONT class=3DBlueFont=20
color=3Dblue>DIY=BB=EE=B6=AF:<<3V=B4=AE=B2=A2=D0=D0=BF=DA=B4=F8=D6=D0=
=CE=C4=D7=D6=BF=E2LCD=C4=A3=BF=E9=CA=B9=D3=C3>></FONT></B><BR><BR>
<TABLE style=3D"LINE-HEIGHT: 15pt" cellSpacing=3D0 cellPadding=3D0 =
width=3D"100%"=20
border=3D0>
<TBODY>
<TR>
<TD><SPAN style=3D"FONT-SIZE: 12px"> =
=
DIY=BB=EE=B6=AF:<<3V=B4=AE=B2=A2=D0=D0=BF=DA=B4=F8=D6=D0=CE=C4=D7=D6=
=BF=E2LCD=C4=A3=BF=E9=CA=B9=D3=C3>><BR> =20
=BB=EE=B6=AF=D6=F7=B3=D6=A3=BADC<BR> =
=20
=
=C8=D5=C6=DA=A3=BA2006=C4=EA4=D4=C24=C8=D5<BR><BR>=D4=DA=CD=A8=B9=FD=B1=BE=
=C0=FD=B5=C4DIY=D6=C6=D7=F7=D6=D0=A3=AC=C8=E7=C4=E3=B6=D4=B1=BE=B4=CE=BB=EE=
=B6=AF=D3=D0=C8=CE=BA=CE=D2=C9=CE=CA=A3=AC=BB=B6=D3=AD=BB=D8=CC=F9=D3=EB=CE=
=D2=C3=C7=D2=BB=C6=F0=BB=A5=B6=AF...<BR>=C8=E7=D0=E8=D2=AA=B9=BA=C2=F2=B1=
=BE=B4=CE=BB=EE=B6=AF=B5=C4=D4=AA=C6=F7=BC=FE,=C7=EB=B2=E9=BF=B4=CE=A2=BF=
=D8=D3=CA=B9=BA=B2=BF<BR> =20
<A =
href=3D"http://www.microcontrol.cn/shop.htm"=20
=
target=3D_blank>http://www.microcontrol.cn/shop.htm</A><BR>--------------=
------------------------------------------------------------------<BR>=B1=
=BE=B4=CE=BB=EE=B6=AF=CA=C7=B2=C9=D3=C33=B9=A9=B5=E7=B5=C4MSP430=D3=EB3V=B9=
=A9=B5=E7=B4=AE=B2=A2=BF=DA=B4=F8=D6=D0=CE=C4=D7=D6=BF=E2LCD=C4=A3=BF=E9=CA=
=B9=D3=C3.<BR> LCD=C4=A3=BF=E9=D0=CD=BA=C5=CE=AA:KM12232F,=C4=DA=B2=BF=
=BF=D8=D6=C6=C7=FD=B6=AF=C6=F7=CE=AAST7920A=D0=BE=C6=AC=A1=A3<BR> =20
=B9=D8=D3=DAST7920A=B5=C4=B9=A6=C4=DC=C3=E8=CA=F6=A3=BA<BR> =20
=
=D5=E2ST7920A=B5=E3=D5=F3LCD=BF=D8=D6=C6/=C7=FD=B6=AF=D0=BE=C6=AC,=BF=C9=D2=
=D4=CF=D4=CA=BE=D7=D6=C4=B8,=CA=FD=D7=D6=B7=FB=BA=C5,=D6=D0=CE=C4=D7=D6=D0=
=CD=BC=B0=D7=D4=B6=A8=CD=BC=D0=CE=CF=D4=CA=BE.<BR>=CB=FC=BF=C9=D2=D4=CC=E1=
=B9=A9=C1=BD=D6=D6=BF=D8=D6=C6=BD=D3=BF=DA,=B7=D6=B1=F0=CA=C78=CE=BB=B2=A2=
=D0=D0=BD=D3=BF=DA=BC=B0=B4=AE=D0=D0=BD=D3=BF=DA.=CB=F9=D3=D0=B5=C4=B9=A6=
=C4=DC=B0=FC=BA=AC=CF=D4=CA=BERAM,=D7=D6=D0=CD=B2=FA=C9=FA=C6=F7,=D2=D4=BC=
=B0=D2=BA=BE=A7=CF=D4=CA=BE=C7=FD=B6=AF=BA=CD=BF=D8=D6=C6=C6=F7,=B6=BC=B0=
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -