導航:首頁 > 操作系統 > 單片機的廣告燈設計

單片機的廣告燈設計

發布時間:2022-05-07 19:49:25

A. 在單片機的開發板上,製作一個廣告燈,要求低四位led燈從低到高(從右

這對咱們信息這個廣告一定要注意,LED燈的功率19 85

B. 單片機廣告燈

這個問題其實並不難,還要看一看你的電路圖,只有知道LED數碼管的接線才能編寫代碼。

C. 單片機匯編語言編廣告燈

#include <reg52.h>
//由於你沒說清楚,這里假設只接了四個燈,IO口輸出低電平時燈亮,
//P1.0接最右邊的發光二極體。
sbit P10 = P1^0;
sbit P11 = P1^1;
sbit P12 = P1^2;
sbit P13 = P1^3;
//廣告燈程序
void main(void)
{
unsigned int n,i;
while(1) //程序循環
{ //左移兩次
for(i=0;i<2;i++)
{P13=1;P10=0;
for(n=0;n<40000;n++); //延時
P10=1;P11=0;
for(n=0;n<40000;n++);
P11=1;P12=0;
for(n=0;n<40000;n++);
P12=1;P13=0;
for(n=0;n<40000;n++);
}
//右移兩次
for(i=0;i<2;i++)
{
P13=1;P12=0;
for(n=0;n<40000;n++);
P12=1;P11=0;
for(n=0;n<40000;n++);
P11=1;P10=0;
for(n=0;n<40000;n++);
P10=1;P13=0;
for(n=0;n<40000;n++);
}
//閃爍兩次
for(i=0;i<2;i++)
{P13=0;P12=0;P11=0;P10=0;
for(n=0;n<40000;n++); //延時
P13=1;P12=1;P11=1;P10=1;
for(n=0;n<40000;n++); //延時
}
}
}

D. 幫忙翻譯英文"基於單片機的廣告燈電路設計」幫忙翻譯下面一段摘要。太感謝了

Abstract: A new type of LED lanterns control system design methods to AT-89C51 microcontroller core, as the main control, and buttons, monitors, and other ancillary hardware circuit less by combining the use of LED lanterns software control. This system is small in size, less hardware, the circuit structure is simple and easy to operate, and other advantages.
Key words: LED lanterns; AT89C51; lantern controller; Mole Design

E. 單片機廣告燈的設計C語言程序<分數不多 但求大神告知 好人一生平安>

#include<reg51.h>
#define uchar unsigned char
uchar ledt[]={0xfe,0xfd,0xfb,0xf7,0xef,0xdf,0xbf,0x7f};
uchar ledi[]={0xfc,0xf9,0xf3,0xe7,0xcf,0x9f,0x3f,0x7e);
uchar nt=0,ni=0;
void timer0() interrupt 1
{
TH0=(65536-50000)/256;
TL0=(65536-50000)%256;
switch(nt)
{
case 0:
case 1:
case 2:
case 3:
case 4:
case 5:
case 6:
case 7:
P1=ledt[nt];break;
case 8:
case 9:
case 10:
case 11:
case 12:
case 13:
case 14:
p1=ledt[14-nt];break;
case 15:
P1=0x00;break;
case 16:
P1=0xff;break;
default:
nt=0;break;
}
nt++;
}
void ext0() interrupt 0
{
switch(ni)
{
case 0:
case 1:
case 2:
case 3:
case 4:
case 5:
case 6:
case 7:
P1=ledt[ni];break;
case 8:
case 9:
case 10:
case 11:
case 12:
case 13:
case 14:
P1=ledt[14-ni];break;
case 15:
P1=0xff;break;
case 16:
P1=0x00;break;
default:
ni=0;break;
}
}
void delay(uchar a)
{
uchar i,j;
for(i=0;i<a;i++)
for(j=0;j<120;j++);
}
main()
{
TMOD=0x01;
TH0=(65536-50000)/256;
TL0=(65536-50000)%256;
ET0=1;
EX0=1;
IT0=0;
EA=1;
TR0=1;
while(1)
{
while(P3_2)
{
TR0=0;
delay(50);
ni++;
}
TR0=1;
}

F. 用單片機匯編語言製作廣告燈。利用取表的方法。

ORG0000H
MOVDPTR,#TAB
LP1:
MOVR2,#4
LP:MOVA,R2
MOVCA,@A+DPTR
MOVP0,A
DJNZR7,$
DJNZR6,$-2
DJNZR2,LP
SJMPLP1
TAB:
DB0,18H,24H,42H,81H

END

G. MCS-51系列單片機製作廣告燈程序和電路設計

明白你的需求我來完成你的任務
你把重點內容告訴我
我到時候怎樣發給你

H. 用單片機設計廣告燈

可以參見:
http://wenku..com/view/b8925de2524de518964b7d4d.html

I. 單片機應用課程設計(廣告燈的設計)

你下次要是說100RMB或許還有可能有人給你做

閱讀全文

與單片機的廣告燈設計相關的資料

熱點內容
上層怎麼看程序員 瀏覽:25
程序員便當排骨 瀏覽:852
如何禁用安卓全家桶 瀏覽:259
oa伺服器異常怎麼辦 瀏覽:71
cmd編譯utf8 瀏覽:278
怎麼截取app接受的數據 瀏覽:277
nrf24l01pdf 瀏覽:299
php字元串轉array 瀏覽:435
U盤分了文件夾後 瀏覽:941
javasetstring 瀏覽:838
壓縮包里文件夾是白色的 瀏覽:474
編譯鏈接知乎 瀏覽:592
php查詢按鈕 瀏覽:717
有音響游戲解壓神器 瀏覽:254
怎麼壓縮圖片jpeg 瀏覽:714
澳大利亞net程序員 瀏覽:580
程序員加班難受 瀏覽:991
如何看伺服器品牌 瀏覽:257
ecy50clp壓縮機多少W 瀏覽:756
mac終端命令怎麼保存 瀏覽:851