找回密碼
 立即注冊

QQ登錄

只需一步,快速開始

帖子
查看: 106426|回復(fù): 142
收起左側(cè)

光立方的詳細(xì)制作教程 含程序詳解 原理圖和仿真電路圖等圖片和資料下載

  [復(fù)制鏈接]
ID:169468 發(fā)表于 2017-3-9 19:40 | 顯示全部樓層 |閱讀模式
如何制作光立方,帶有視頻,ad畫的原理圖,單片機(jī)仿真電路圖等很詳細(xì)的教程
0.png
帶有光立方的程序詳解,注釋非常詳細(xì)。
所有資料下載:
光立方制作.zip (18.97 MB, 下載次數(shù): 1850)



光立方制作成功后的效果圖片:
34.jpg

1.jpg 2.jpg
光立方的原理:
3.jpg 4.jpg
仿真制作原理:先從P0口給控制共陰端的573鎖入相應(yīng)的數(shù)值,然后給共陽端再送人相應(yīng)的數(shù)值,這樣與共陰端的相呼應(yīng)就可點(diǎn)亮相應(yīng)的燈.
光立方的proteus仿真原理圖:
0.png

下面是光立方的制作過程,非常詳細(xì):

5.jpg 6.jpg 7.jpg 8.jpg 9.jpg 10.jpg 11.jpg 12.jpg 13.jpg 14.jpg 15.jpg 16.jpg 17.jpg 18.jpg 19.jpg 20.jpg 21.jpg 22.jpg 24.jpg 25.jpg 26.jpg 27.jpg 28.jpg 29.jpg 31.jpg 32.jpg 33.jpg 35.jpg

光立方的單片機(jī)源程序:
  1. /*銳銳制作光立方源程序*/

  2. #include<reg51.h> //包含頭文件,一般情況不需要改動(dòng),頭文件包含特殊功能寄存器的定義

  3. #define DataPort P0 //定義數(shù)據(jù)端口 程序中遇到DataPort 則用P0 替換
  4. sbit line_LATCH=P1^0;//定義鎖存使能端口 行掃描的鎖存端口
  5. sbit LATCH1=P2^0;//定義鎖存使能端口 第一燈板的字節(jié)鎖存
  6. sbit LATCH2=P2^1;//                 
  7. sbit LATCH3=P2^2;//
  8. sbit LATCH4=P2^3;
  9. sbit LATCH5=P2^4;
  10. sbit LATCH6=P2^5;
  11. sbit LATCH7=P2^6;
  12. sbit LATCH8=P2^7;
  13.                                                                         
  14. void Delay(unsigned int t)
  15. {
  16.         while(--t);
  17. }
  18. unsigned char line[8]={0xfe,0xfd,0xfb,0xf7,0xef,0xdf,0xbf,0x7f};// 顯示行值01234567        
  19. void display(unsigned char *Data)//顯示子程序,指針數(shù)組作為形參,直接指向傳過來的實(shí)參數(shù)組的地址        ,這樣就可直接操縱數(shù)組傳過來的數(shù)組了
  20. {
  21.         unsigned char i;
  22.         for(i=0;i<8;i++)
  23.         {
  24.                 DataPort=line[i]; //先給行(燈板的公共端)輸入數(shù)據(jù)
  25.                line_LATCH=1;     //打開鎖存,把數(shù)據(jù)line[i]放進(jìn)去
  26.                    line_LATCH=0;          //關(guān)閉鎖存,阻止外部數(shù)據(jù)進(jìn)來
  27.         
  28.                 DataPort=Data[i];         //把數(shù)組Data[0~7]里的值依次傳給第一燈板的573鎖存器中
  29.                 LATCH1=1;LATCH1=0;
  30.                
  31.                 DataPort=Data[8+i];  //把數(shù)組Data[8~15]里的值依次傳給第二燈板的573鎖存器中  
  32.                 LATCH2=1;LATCH2=0;        
  33.                
  34.                 DataPort=Data[16+i]; //把數(shù)組Data[16~23]里的值依次傳給第三燈板的573鎖存器中
  35.                 LATCH3=1;LATCH3=0;     
  36.                
  37.                 DataPort=Data[24+i];
  38.                 LATCH4=1;LATCH4=0;

  39.                 DataPort=Data[32+i];
  40.                 LATCH5=1;LATCH5=0;     
  41.                         
  42.                 DataPort=Data[40+i];
  43.                 LATCH6=1;LATCH6=0;        
  44.                                                 
  45.                 DataPort=Data[48+i];
  46.                 LATCH7=1;LATCH7=0;     
  47.                         
  48.                 DataPort=Data[56+i];
  49.                 LATCH8=1;LATCH8=0;

  50.                 Delay(200); //掃描間隙延時(shí),時(shí)間太長會(huì)閃爍,太短會(huì)造成重影
  51.                
  52.                 DataPort=0xff; // 清空行鎖存器里數(shù)據(jù),防止出現(xiàn)亂碼
  53.                line_LATCH=1;  //
  54.                line_LATCH=0;
  55.         }                                        /*如此一趟循環(huán)下來,每次都是8塊燈板的同一行一起點(diǎn)亮,
  56.                                                   如此組成一個(gè)燈板,8次循環(huán)下來,就全部燈都點(diǎn)亮了*/
  57. }

  58. void liang()                //點(diǎn)亮所有的燈
  59. {
  60.         unsigned int i;
  61.         for(i=0;i<5000;i++)
  62.         {
  63.                 DataPort=0x00;    //先給行(燈板的公共端)輸入數(shù)據(jù)
  64.                line_LATCH=1;     //打開鎖存,把數(shù)據(jù)0x00放進(jìn)去
  65.                    line_LATCH=0;          //關(guān)閉鎖存,阻止外部數(shù)據(jù)進(jìn)來
  66.                
  67.                 DataPort=0xff;           //把0xff送進(jìn)鎖存器1~8中,使它們的輸出引腳都輸出高電平,與行鎖存器的0x00相對,點(diǎn)亮所有的燈
  68.                 LATCH1=1;LATCH1=0;
  69.                 LATCH2=1;LATCH2=0;               
  70.                 LATCH3=1;LATCH3=0;                 
  71.                 LATCH4=1;LATCH4=0;
  72.                 LATCH5=1;LATCH5=0;
  73.                 LATCH6=1;LATCH6=0;
  74.                 LATCH7=1;LATCH7=0;
  75.                 LATCH8=1;LATCH8=0;
  76.         }                                 
  77. }
  78. void mie()                        //熄滅所有的燈
  79. {
  80.         unsigned int i;
  81.         for(i=0;i<5000;i++)
  82.         {
  83.                 DataPort=0x00; //先給行(燈板的公共端)輸入數(shù)據(jù)
  84.                line_LATCH=1;     //打開鎖存,把數(shù)據(jù)0x00放進(jìn)去
  85.                    line_LATCH=0;          //關(guān)閉鎖存,阻止外部數(shù)據(jù)進(jìn)來
  86.                
  87.                 DataPort=0x00;                 //把0x00送進(jìn)鎖存器1~8中,使它們的輸出引腳都輸出高電平,與行鎖存器的0x00相對,熄滅所有的燈
  88.                 LATCH1=1;LATCH1=0;
  89.                 LATCH2=1;LATCH2=0;               
  90.                 LATCH3=1;LATCH3=0;                 
  91.                 LATCH4=1;LATCH4=0;
  92.                 LATCH5=1;LATCH5=0;
  93.                 LATCH6=1;LATCH6=0;
  94.                 LATCH7=1;LATCH7=0;
  95.                 LATCH8=1;LATCH8=0;
  96.         }
  97. }                        
  98. void Laihui()                //來回?zé)舭屣@示效果
  99. {
  100.         unsigned char i;
  101.         unsigned char code laihui0[]={0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,//定義空間為64的數(shù)組并賦值,用以傳遞給顯示子程序
  102.                                                                       0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,
  103.                                                                      0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,
  104.                                                                  0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,
  105.                                                                      0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,
  106.                                                              0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,
  107.                                                                       0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,
  108.                                                                       0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff
  109.                                                                    };
  110.         unsigned char code laihui1[]={0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,
  111.                                                                      0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,
  112.                                                           0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,
  113.                                                       0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,
  114.                                                               0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,
  115.                                                           0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,
  116.                                                               0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,
  117.                                                           0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00
  118.                                                              };               
  119.         unsigned char code laihui2[]={0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,
  120.                                                               0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,
  121.                                                               0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,
  122.                                                               0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,
  123.                                                               0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,
  124.                                                           0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,
  125.                                                               0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,
  126.                                                               0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00
  127.                                                          };
  128.         unsigned char code laihui3[]={0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,
  129.                                                       0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,
  130.                                                       0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,
  131.                                                       0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,
  132.                                                                0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,
  133.                                                               0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,
  134.                                                               0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,
  135.                                                               0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00
  136.                                                          };        
  137.         unsigned char code laihui4[]={0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,
  138.                                                               0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,
  139.                                                                 0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,
  140.                                                                 0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,
  141.                                                                 0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,
  142.                                                                0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,
  143.                                                       0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,
  144.                                                   0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00
  145.                                                              };        
  146.         unsigned char code laihui5[]={0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,
  147.                                                                0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,
  148.                                                            0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,
  149.                                                               0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,
  150.                                                                 0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,
  151.                                                               0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,
  152.                                                       0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,
  153.                                                                0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00
  154.                                                          };        
  155.         unsigned char code laihui6[]={0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,
  156.                                                                0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,
  157.                                                                0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,
  158.                                                               0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,
  159.                                                                0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,
  160.                                                                0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,
  161.                                                       0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,
  162.                                                       0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00
  163.                                                              };        
  164.         unsigned char code laihui7[]={0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,
  165.                                                               0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,
  166.                                                                0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,
  167.                                                               0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,
  168.                                                                0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,
  169.                                                                0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,
  170.                                                               0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,
  171.                                                               0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00
  172.                                                          };
  173.         for(i=0;i<10;i++)         display(laihui0);//調(diào)用顯示子程序display,并把數(shù)組laihui0的數(shù)組名作為實(shí)參傳給指針式形參
  174.         for(i=0;i<10;i++)    display(laihui1);
  175.         for(i=0;i<10;i++)    display(laihui2);
  176.         for(i=0;i<10;i++)    display(laihui3);
  177.         for(i=0;i<10;i++)    display(laihui4);
  178.         for(i=0;i<10;i++)    display(laihui5);
  179.         for(i=0;i<10;i++)    display(laihui6);
  180.         for(i=0;i<10;i++)    display(laihui7);
  181.         for(i=0;i<10;i++)    display(laihui7);
  182.         for(i=0;i<10;i++)    display(laihui6);
  183.         for(i=0;i<10;i++)    display(laihui5);
  184.         for(i=0;i<10;i++)    display(laihui4);
  185.         for(i=0;i<10;i++)    display(laihui3);
  186.         for(i=0;i<10;i++)    display(laihui2);
  187.         for(i=0;i<10;i++)    display(laihui1);
  188.         for(i=0;i<10;i++)    display(laihui0);
  189. }

  190. void Zhengfang()  //顯示正方形方框
  191. {
  192.         unsigned char i;
  193.         unsigned char code zhengfang1[]={0xff,0x81,0x81,0x81,0x81,0x81,0x81,0xff,
  194.                                                                            0x81,0x00,0x00,0x00,0x00,0x00,0x00,0x81,
  195.                                                                             0x81,0x00,0x00,0x00,0x00,0x00,0x00,0x81,
  196.                                                                            0x81,0x00,0x00,0x00,0x00,0x00,0x00,0x81,
  197.                                                                              0x81,0x00,0x00,0x00,0x00,0x00,0x00,0x81,
  198.                                                                              0x81,0x00,0x00,0x00,0x00,0x00,0x00,0x81,
  199.                                                                               0x81,0x00,0x00,0x00,0x00,0x00,0x00,0x81,
  200.                                                                             0xff,0x81,0x81,0x81,0x81,0x81,0x81,0xff
  201.                                                                 };
  202.         unsigned char code zhengfang2[]={0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,
  203.                                                                           0x00,0x7e,0x42,0x42,0x42,0x42,0x7e,0x00,
  204.                                                                            0x00,0x42,0x00,0x00,0x00,0x00,0x42,0x00,
  205.                                                                           0x00,0x42,0x00,0x00,0x00,0x00,0x42,0x00,
  206.                                                                             0x00,0x42,0x00,0x00,0x00,0x00,0x42,0x00,
  207.                                                                             0x00,0x42,0x00,0x00,0x00,0x00,0x42,0x00,
  208.                                                                            0x00,0x7e,0x42,0x42,0x42,0x42,0x7e,0x00,
  209.                                                                            0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00
  210.                                                                };
  211.         unsigned char code zhengfang3[]={0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,
  212.                                                                           0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,
  213.                                                                            0x00,0x00,0x3c,0x00,0x00,0x3c,0x00,0x00,
  214.                                                                           0x00,0x00,0x24,0x00,0x00,0x24,0x00,0x00,
  215.                                                                             0x00,0x00,0x24,0x00,0x00,0x24,0x00,0x00,
  216.                                                                             0x00,0x00,0x3c,0x00,0x00,0x3c,0x00,0x00,
  217.                                                                            0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,
  218.                                                                            0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00
  219.                                                                };
  220.         unsigned char code zhengfang4[]={0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,
  221.                                                                           0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,
  222.                                                                            0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,
  223.                                                                           0x00,0x00,0x00,0x18,0x00,0x00,0x00,0x00,
  224.                                                                             0x00,0x00,0x00,0x18,0x00,0x00,0x00,0x00,
  225.                                                                             0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,
  226.                                                                            0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,
  227.                                                                            0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00
  228.                                                                };  

  229.         for(i=0;i<20;i++)display(zhengfang1);
  230.         for(i=0;i<14;i++)display(zhengfang2);
  231.         for(i=0;i<14;i++)display(zhengfang3);
  232.         for(i=0;i<14;i++)display(zhengfang4);
  233.         for(i=0;i<14;i++)display(zhengfang4);
  234.         for(i=0;i<14;i++)display(zhengfang3);
  235.         for(i=0;i<14;i++)display(zhengfang2);
  236.         for(i=0;i<14;i++)display(zhengfang1);
  237.         
  238.         
  239.         for(i=0;i<4;i++)
  240.         {
  241.         for(i=0;i<3;i++)display(zhengfang1);
  242.         for(i=0;i<3;i++)display(zhengfang2);
  243.         for(i=0;i<3;i++)display(zhengfang3);
  244.         for(i=0;i<3;i++)display(zhengfang4);
  245.         for(i=0;i<3;i++)display(zhengfang4);
  246.         for(i=0;i<3;i++)display(zhengfang3);
  247.         for(i=0;i<3;i++)display(zhengfang2);
  248.         for(i=0;i<3;i++)display(zhengfang1);
  249.         }
  250. }
  251. void Xin()           //顯示心形圖案
  252. {
  253.         unsigned char code xin[]={ 0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,
  254.                                                             0x10,0x00,0x00,0x00,0x00,0x00,0x00,0x00,
  255.                                                             0x28,0x00,0x00,0x00,0x00,0x00,0x00,0x00,
  256.                                                            0x44,0x00,0x00,0x00,0x00,0x00,0x00,0x00,
  257.                                                             0x82,0x00,0x00,0x00,0x00,0x00,0x00,0x00,
  258.                                                             0x92,0x00,0x00,0x00,0x00,0x00,0x00,0x00,
  259.                                                    0x6c,0x00,0x00,0x00,0x00,0x00,0x00,0x00,
  260.                                                    0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00
  261.                                                           };
  262.         display(xin);        
  263. }


  264. void Zhahua()         //顯示炸花式效果
  265. {
  266.         unsigned char i;
  267.         unsigned char code zhahua1[64]={0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,
  268.                                                                           0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,
  269.                                                                            0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,
  270.                                                                           0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,
  271.                                                                             0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,
  272.                                                                             0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,
  273.                                                                            0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,
  274.                                                                            0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff
  275.                                                                };
  276.         unsigned char code zhahua2[64]={0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,
  277.                                                                           0x00,0x7e,0x7e,0x7e,0x7e,0x7e,0x7e,0x00,
  278.                                                                            0x00,0x7e,0x7e,0x7e,0x7e,0x7e,0x7e,0x00,
  279.                                                                           0x00,0x7e,0x7e,0x7e,0x7e,0x7e,0x7e,0x00,
  280.                                                                             0x00,0x7e,0x7e,0x7e,0x7e,0x7e,0x7e,0x00,
  281.                                                                             0x00,0x7e,0x7e,0x7e,0x7e,0x7e,0x7e,0x00,
  282.                                                                            0x00,0x7e,0x7e,0x7e,0x7e,0x7e,0x7e,0x00,
  283.                                                                            0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00
  284.                                                                };
  285.         unsigned char code zhahua3[64]={0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,
  286.                                                                           0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,
  287.                                                                            0x00,0x00,0x3c,0x3c,0x3c,0x3c,0x00,0x00,
  288.                                                                           0x00,0x00,0x3c,0x3c,0x3c,0x3c,0x00,0x00,
  289.                                                                             0x00,0x00,0x3c,0x3c,0x3c,0x3c,0x00,0x00,
  290.                                                                             0x00,0x00,0x3c,0x3c,0x3c,0x3c,0x00,0x00,
  291.                                                                            0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,
  292.                                                                            0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00
  293.                                                                };
  294.         unsigned char code zhahua4[64]={0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,
  295.                                                                           0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,
  296.                                                                            0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,
  297.                                                                           0x00,0x00,0x00,0x18,0x18,0x00,0x00,0x00,
  298.                                                                             0x00,0x00,0x00,0x18,0x18,0x00,0x00,0x00,
  299.                                                                             0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,
  300.                                                                            0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,
  301.                                                                            0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00
  302.                                                                };
  303.         for(i=0;i<6;i++)        
  304.         {
  305.         for(i=0;i<18;i++)display(zhahua1);//用for循環(huán)多調(diào)用幾次,可增加顯示的時(shí)間,可省去延時(shí)的調(diào)用
  306.         for(i=0;i<18;i++)display(zhahua2);
  307.         for(i=0;i<18;i++)display(zhahua3);
  308.         for(i=0;i<21;i++)display(zhahua4);
  309.         for(i=0;i<18;i++)display(zhahua3);
  310.         for(i=0;i<18;i++)display(zhahua2);
  311.         for(i=0;i<18;i++)display(zhahua1);
  312.         }
  313.         for(i=0;i<6;i++)
  314.         {
  315.         for(i=0;i<5;i++)display(zhahua1);
  316.         for(i=0;i<5;i++)display(zhahua2);
  317.         for(i=0;i<5;i++)display(zhahua3);
  318.         for(i=0;i<6;i++)display(zhahua4);
  319.         for(i=0;i<5;i++)display(zhahua3);
  320.         for(i=0;i<5;i++)display(zhahua2);
  321.         for(i=0;i<5;i++)display(zhahua1);
  322.         }
  323. }



  324. void Budai()                //布帶抖動(dòng)效果
  325. {
  326.         unsigned char i;
  327.         unsigned char code budai0[]={0x00,0x00,0x00,0x00,0x00,0x00,0x00,0xff,
  328.                                                               0x00,0x00,0x00,0x00,0x00,0x00,0xff,0x00,
  329.                                                              0x00,0x00,0x00,0x00,0x00,0xff,0x00,0x00,
  330.                                                          0x00,0x00,0x00,0x00,0xff,0x00,0x00,0x00,
  331.                                                              0x00,0x00,0x00,0xff,0x00,0x00,0x00,0x00,
  332.                                                      0x00,0x00,0xff,0x00,0x00,0x00,0x00,0x00,
  333.                                                               0x00,0xff,0x00,0x00,0x00,0x00,0x00,0x00,
  334.                                                               0xff,0x00,0x00,0x00,0x00,0x00,0x00,0x00
  335.                                                             };
  336.         unsigned char code budai1[]={0x00,0x00,0x00,0x00,0x00,0x00,0xff,0x00,
  337.                                                              0x00,0x00,0x00,0x00,0x00,0xff,0x00,0xff,
  338.                                                          0x00,0x00,0x00,0x00,0xff,0x00,0x00,0x00,
  339.                                                      0x00,0x00,0x00,0xff,0x00,0x00,0x00,0x00,
  340.                                                              0x00,0x00,0xff,0x00,0x00,0x00,0x00,0x00,
  341.                                                          0x00,0xff,0x00,0x00,0x00,0x00,0x00,0x00,
  342.                                                              0xff,0x00,0x00,0x00,0x00,0x00,0x00,0x00,
  343.                                                          0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00
  344.                                                             };               
  345.         unsigned char code budai2[]={0x00,0x00,0x00,0x00,0x00,0xff,0x00,0x00,
  346.                                                              0x00,0x00,0x00,0x00,0xff,0x00,0xff,0x00,
  347.                                                              0x00,0x00,0x00,0xff,0x00,0x00,0x00,0xff,
  348.                                                              0x00,0x00,0xff,0x00,0x00,0x00,0x00,0x00,
  349.                                                              0x00,0xff,0x00,0x00,0x00,0x00,0x00,0x00,
  350.                                                          0xff,0x00,0x00,0x00,0x00,0x00,0x00,0x00,
  351.                                                              0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,
  352.                                                              0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00
  353.                                                         };
  354.         unsigned char code budai3[]={0x00,0x00,0x00,0x00,0xff,0x00,0x00,0x00,
  355.                                                      0x00,0x00,0x00,0xff,0x00,0xff,0x00,0x00,
  356.                                                      0x00,0x00,0xff,0x00,0x00,0x00,0xff,0x00,
  357.                                                      0x00,0xff,0x00,0x00,0x00,0x00,0x00,0xff,
  358.                                                               0xff,0x00,0x00,0x00,0x00,0x00,0x00,0xff,
  359.                                                              0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,
  360.                                                              0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,
  361.                                                              0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00
  362.                                                         };        
  363.         unsigned char code budai4[]={0x00,0x00,0x00,0xff,0x00,0x00,0x00,0x00,
  364.                                                              0x00,0x00,0xff,0x00,0xff,0x00,0x00,0x00,
  365.                                                                0x00,0xff,0x00,0x00,0x00,0xff,0x00,0x00,
  366.                                                                0xff,0x00,0x00,0x00,0x00f,0x00,0xff,0x00,
  367.                                                                0x00,0x00,0x00,0x00,0x00,0x00,0x00,0xff,
  368.                                                               0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,
  369.                                                      0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,
  370.                                                  0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00
  371.                                                             };        
  372.         unsigned char code budai5[]={0x00,0x00,0xff,0x00,0x00,0x00,0x00,0x00,
  373.                                                               0x00,0xff,0x00,0xff,0x00,0x00,0x00,0x00,
  374.                                                           0xff,0x00,0x00,0x00,0xff,0x00,0x00,0x00,
  375.                                                              0x00,0x00,0x00,0x00,0x00,0xff,0x00,0x00,
  376.                                                                0x00,0x00,0x00,0x00,0x00,0x00,0xff,0x00,
  377.                                                              0x00,0x00,0x00,0x00,0x00,0x00,0x00,0xff,
  378.                                                      0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,
  379.                                                               0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00
  380.                                                         };        
  381.         unsigned char code budai6[]={0x00,0xff,0x00,0x00,0x00,0x00,0x00,0x00,
  382.                                                               0xff,0x00,0xff,0x00,0x00,0x00,0x00,0x00,
  383.                                                               0x00,0x00,0x00,0xff,0x00,0x00,0x00,0x00,
  384.                                                              0x00,0x00,0x00,0x00,0xff,0x00,0x00,0x00,
  385.                                                               0x00,0x00,0x00,0x00,0x00,0xff,0x00,0x00,
  386.                                                               0x00,0x00,0x00,0x00,0x00,0x00,0xff,0x00,
  387.                                                      0x00,0x00,0x00,0x00,0x00,0x00,0x00,0xff,
  388.                                                      0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00
  389.                                                             };        
  390.         unsigned char code budai7[]={0xff,0x00,0x00,0x00,0x00,0x00,0x00,0x00,
  391.                                                              0x00,0xff,0x00,0x00,0x00,0x00,0x00,0x00,
  392.                                                               0x00,0x00,0xff,0x00,0x00,0x00,0x00,0x00,
  393.                                                              0x00,0x00,0x00,0xff,0x00,0x00,0x00,0x00,
  394.                                                               0x00,0x00,0x00,0x00,0xff,0x00,0x00,0x00,
  395.                                                               0x00,0x00,0x00,0x00,0x00,0xff,0x00,0x00,
  396.                                                              0x00,0x00,0x00,0x00,0x00,0x00,0xff,0x00,
  397.                                                              0x00,0x00,0x00,0x00,0x00,0x00,0x00,0xff
  398.                                                         };
  399.         unsigned char code budai8[]={0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,
  400.                                                              0xff,0x00,0x00,0x00,0x00,0x00,0x00,0x00,
  401.                                                               0x00,0xff,0x00,0x00,0x00,0x00,0x00,0x00,
  402.                                                              0x00,0x00,0xff,0x00,0x00,0x00,0x00,0x00,
  403.                                                               0x00,0x00,0x00,0xff,0x00,0x00,0x00,0x00,
  404.                                                               0x00,0x00,0x00,0x00,0xff,0x00,0x00,0x00,
  405.                                                              0x00,0x00,0x00,0x00,0x00,0xff,0x00,0xff,
  406.                                                              0x00,0x00,0x00,0x00,0x00,0x00,0xff,0x00
  407.                                                         };
  408.         unsigned char code budai9[]={0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,
  409.                                                              0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,
  410.                                                               0xff,0x00,0x00,0x00,0x00,0x00,0x00,0x00,
  411.                                                              0x00,0xff,0x00,0x00,0x00,0x00,0x00,0x00,
  412.                                                               0x00,0x00,0xff,0x00,0x00,0x00,0x00,0x00,
  413.                                                               0x00,0x00,0x00,0xff,0x00,0x00,0x00,0xff,
  414.                                                              0x00,0x00,0x00,0x00,0xff,0x00,0xff,0x00,
  415.                                                              0x00,0x00,0x00,0x00,0x00,0xff,0x00,0x00
  416.                                                         };
  417.         unsigned char code budai10[]={0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,
  418.                                                              0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,
  419.                                                               0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,
  420.                                                              0xff,0x00,0x00,0x00,0x00,0x00,0x00,0x00,
  421.                                                               0x00,0xff,0x00,0x00,0x00,0x00,0x00,0xff,
  422.                                                               0x00,0x00,0xff,0x00,0x00,0xff,0xff,0x00,
  423.                                                              0x00,0x00,0x00,0xff,0x00,0xff,0x00,0x00,
  424.                                                              0x00,0x00,0x00,0x00,0xff,0x00,0x00,0xff
  425.                                                         };
  426.         unsigned char code budai11[]={0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,
  427.                                                              0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,
  428.                                                               0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,
  429.                                                              0x00,0x00,0x00,0x00,0x00,0x00,0x00,0xff,
  430.                                                               0xff,0x00,0x00,0x00,0x00,0x00,0xff,0x00,
  431.                                                               0x00,0xff,0x00,0x00,0x00,0xff,0x00,0x00,
  432.                                                              0x00,0x00,0xff,0x00,0xff,0x00,0x00,0x00,
  433.                                                              0x00,0x00,0x00,0xff,0x00,0x00,0x00,0x00
  434.                                                         };
  435.         unsigned char code budai12[]={0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,
  436.                                                              0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,
  437.                                                               0x00,0x00,0x00,0x00,0x00,0x00,0x00,0xff,
  438.                                                              0x00,0x00,0x00,0x00,0x00,0x00,0xff,0x00,
  439.                                                               0x00,0x00,0x00,0x00,0x00,0xff,0x00,0x00,
  440.                                                               0xff,0x00,0x00,0x00,0xff,0x00,0x00,0x00,
  441.                                                              0x00,0xff,0x00,0xff,0x00,0x00,0x00,0x00,
  442.                                                              0x00,0x00,0xff,0x00,0x00,0x00,0x00,0x00
  443.                                                         };
  444.         unsigned char code budai13[]={0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,
  445.                                                              0x00,0x00,0x00,0x00,0x00,0x00,0x00,0xff,
  446.                                                               0x00,0x00,0x00,0x00,0x00,0x00,0xff,0x00,
  447.                                                              0x00,0x00,0x00,0x00,0x00,0xff,0x00,0x00,
  448.                                                               0x00,0x00,0x00,0x00,0xff,0x00,0x00,0x00,
  449.                                                               0x00,0x00,0x00,0xff,0x00,0x00,0x00,0x00,
  450.                                                              0xff,0x00,0xff,0x00,0x00,0x00,0x00,0x00,
  451.                                                              0x00,0xff,0x00,0x00,0x00,0x00,0x00,0x00
  452.                                                         };
  453.         unsigned char code budai14[]={0x00,0x00,0x00,0x00,0x00,0x00,0x00,0xff,
  454.                                                              0x00,0x00,0x00,0x00,0x00,0x00,0xff,0x00,
  455.                                                               0x00,0x00,0x00,0x00,0x00,0xff,0x00,0x00,
  456.                                                              0x00,0x00,0x00,0x00,0xff,0x00,0x00,0x00,
  457.                                                               0x00,0x00,0x00,0xff,0x00,0x00,0x00,0x00,
  458.                                                               0x00,0x00,0xff,0x00,0x00,0x00,0x00,0x00,
  459.                                                              0x00,0xff,0x00,0x00,0x00,0x00,0x00,0x00,
  460.                                                              0xff,0x00,0x00,0x00,0x00,0x00,0x00,0x00
  461.                                                         };
  462.         for(i=0;i<8;i++)         display(budai0);
  463.         for(i=0;i<8;i++)    display(budai1);
  464.         for(i=0;i<8;i++)    display(budai2);
  465.         for(i=0;i<8;i++)    display(budai3);
  466.         for(i=0;i<8;i++)    display(budai4);
  467.         for(i=0;i<8;i++)    display(budai5);
  468.         for(i=0;i<8;i++)    display(budai6);
  469.         for(i=0;i<8;i++)    display(budai7);
  470.         for(i=0;i<8;i++)        display(budai8);
  471.         for(i=0;i<8;i++)    display(budai9);
  472.         for(i=0;i<8;i++)    display(budai10);
  473.         for(i=0;i<8;i++)    display(budai11);
  474.         for(i=0;i<8;i++)    display(budai12);
  475.         for(i=0;i<8;i++)    display(budai13);
  476.         for(i=0;i<8;i++)    display(budai14);

  477. }

  478. unsigned char Data0[8]={0x01,0x01,0x01,0x01,0x01,0x01,0x01,0x01};// 顯示
  479. unsigned char Data1[8]={0x02,0x02,0x02,0x02,0x02,0x02,0x02,0x02};// 顯示
  480. unsigned char Data2[8]={0x04,0x04,0x04,0x04,0x04,0x04,0x04,0x04};// 顯示
  481. unsigned char Data3[8]={0x08,0x08,0x08,0x08,0x08,0x08,0x08,0x08};// 顯示
  482. unsigned char Data4[8]={0x10,0x10,0x10,0x10,0x10,0x10,0x10,0x10};// 顯示
  483. unsigned char Data5[8]={0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20};// 顯示
  484. unsigned char Data6[8]={0x40,0x40,0x40,0x40,0x40,0x40,0x40,0x40};// 顯示
  485. unsigned char Data7[8]={0x80,0x80,0x80,0x80,0x80,0x80,0x80,0x80,};
  486. void display1(unsigned char *Data)//顯示功能模塊
  487. {
  488.         unsigned char i,j,k,num=0;
  489.         for(k=0;k<10;k++)
  490.         {
  491.                 DataPort=0x00; // 清空行鎖存器里數(shù)據(jù),防止出現(xiàn)亂碼
  492.                line_LATCH=1;  //
  493.                line_LATCH=0;
  494.                 LATCH1=1;LATCH1=0;
  495.                 LATCH2=1;LATCH2=0;               
  496.                 LATCH3=1;LATCH3=0;                 
  497.                 LATCH4=1;LATCH4=0;
  498.                 LATCH5=1;LATCH5=0;
  499.                 LATCH6=1;LATCH6=0;
  500.                 LATCH7=1;LATCH7=0;
  501.                 LATCH8=1;LATCH8=0;
  502.                
  503.                 for(j=0;j<45&&num<=8&&num>=1;j++)
  504.                 {
  505.                         DataPort=0xff; // 清空行鎖存器里數(shù)據(jù),防止出現(xiàn)亂碼
  506.                        line_LATCH=1;  //
  507.                        line_LATCH=0;
  508.                
  509.                         for(i=0;i<8;i++)
  510.                         {
  511.                                 DataPort=line[i]; //先給行(燈板的公共端)輸入數(shù)據(jù)
  512.                                line_LATCH=1;     //打開鎖存,把數(shù)據(jù)line[i]放進(jìn)去
  513.                                    line_LATCH=0;          //關(guān)閉鎖存,阻止外部數(shù)據(jù)進(jìn)來

  514.                                 DataPort=Data[i];         //把數(shù)值Data[0~7]里的值依次傳給第一燈板的573鎖存器中
  515.                                 if(num==1){LATCH1=1;LATCH1=0;}
  516.                                 else if(num==2){LATCH2=1;LATCH2=0;}
  517.                                 else if(num==3){LATCH3=1;LATCH3=0;}
  518.                                 else if(num==4){LATCH4=1;LATCH4=0;}
  519.                                 else if(num==5){LATCH5=1;LATCH5=0;}
  520.                                 else if(num==6){LATCH6=1;LATCH6=0;}
  521.                                 else if(num==7){LATCH7=1;LATCH7=0;}
  522.                                 else if(num==8){LATCH8=1;LATCH8=0;}
  523.                                 
  524.                                 Delay(100); //掃描間隙延時(shí),時(shí)間太長會(huì)閃爍,太短會(huì)造成重影
  525.                         }     
  526.                 }
  527.                 num++;
  528.                 if(num==9)num=0;
  529.         }         
  530. }

  531. void display2(unsigned char *Data)//顯示功能模塊
  532. {
  533.         unsigned char i,j,k,num=9;
  534.         for(k=0;k<10;k++)
  535.         {
  536.                 DataPort=0x00; // 清空行鎖存器里數(shù)據(jù),防止出現(xiàn)亂碼
  537.                line_LATCH=1;  //
  538.                line_LATCH=0;
  539.                 LATCH1=1;LATCH1=0;
  540.                 LATCH2=1;LATCH2=0;               
  541.                 LATCH3=1;LATCH3=0;                 
  542.                 LATCH4=1;LATCH4=0;
  543.                 LATCH5=1;LATCH5=0;
  544.                 LATCH6=1;LATCH6=0;
  545.                 LATCH7=1;LATCH7=0;
  546.                 LATCH8=1;LATCH8=0;
  547.         
  548.                 for(j=0;j<45&&num<=8&&num>=1;j++)
  549.                 {
  550.                         DataPort=0xff; // 清空行鎖存器里數(shù)據(jù),防止出現(xiàn)亂碼
  551.                        line_LATCH=1;  //
  552.                        line_LATCH=0;
  553.                
  554.                         for(i=0;i<8;i++)
  555.                         {
  556.                                 DataPort=line[i]; //先給行(燈板的公共端)輸入數(shù)據(jù)
  557.                                line_LATCH=1;     //打開鎖存,把數(shù)據(jù)line[i]放進(jìn)去
  558.                                    line_LATCH=0;          //關(guān)閉鎖存,阻止外部數(shù)據(jù)進(jìn)來

  559.                                 DataPort=Data[i];         //把數(shù)值Data[0~7]里的值依次傳給第一燈板的573鎖存器中
  560.                                 if(num==1){LATCH1=1;LATCH1=0;}
  561.                                 else if(num==2){LATCH2=1;LATCH2=0;}
  562.                                 else if(num==3){LATCH3=1;LATCH3=0;}
  563.                                 else if(num==4){LATCH4=1;LATCH4=0;}
  564.                                 else if(num==5){LATCH5=1;LATCH5=0;}
  565.                                 else if(num==6){LATCH6=1;LATCH6=0;}
  566.                                 else if(num==7){LATCH7=1;LATCH7=0;}
  567.                                 else if(num==8){LATCH8=1;LATCH8=0;}
  568.                                 Delay(100); //掃描間隙延時(shí),時(shí)間太長會(huì)閃爍,太短會(huì)造成重影
  569.                          }      
  570.                 }
  571.                 num--;
  572.                 if(num==0)num=9;
  573.         }        
  574. }
  575. void display3(unsigned char *Data)//顯示功能模塊
  576. {
  577.         unsigned char i,j,k;
  578.         for(k=0;k<9;k++)
  579.         {
  580.                 DataPort=0x00; // 清空行鎖存器里數(shù)據(jù),防止出現(xiàn)亂碼
  581.                line_LATCH=1;  //
  582.                line_LATCH=0;
  583.                 LATCH1=1;LATCH1=0;
  584.                 LATCH2=1;LATCH2=0;               
  585.                 LATCH3=1;LATCH3=0;                 
  586.                 LATCH4=1;LATCH4=0;
  587.                 LATCH5=1;LATCH5=0;
  588.                 LATCH6=1;LATCH6=0;
  589.                 LATCH7=1;LATCH7=0;
  590.                 LATCH8=1;LATCH8=0;
  591.                 for(j=0;j<8;j++)
  592.                 {
  593.                         DataPort=0xff; // 清空行鎖存器里數(shù)據(jù),防止出現(xiàn)亂碼
  594.                        line_LATCH=1;  //
  595.                        line_LATCH=0;
  596.                
  597.                         for(i=0;i<8;i++)
  598.                         {
  599.                                 DataPort=line[i]; //先給行(燈板的公共端)輸入數(shù)據(jù)
  600.                                line_LATCH=1;     //打開鎖存,把數(shù)據(jù)line[i]放進(jìn)去
  601.                                    line_LATCH=0;          //關(guān)閉鎖存,阻止外部數(shù)據(jù)進(jìn)來

  602.                                 DataPort=Data[i];         //把數(shù)值Data[0~7]里的值依次傳給第一燈板的573鎖存器中
  603.                                 LATCH8=1;LATCH8=0;
  604.                                 Delay(100); //掃描間隙延時(shí),時(shí)間太長會(huì)閃爍,太短會(huì)造成重影
  605.                          }      
  606.                 }        
  607.         }        
  608. }

  609. void display4(unsigned char *Data)//顯示功能模塊
  610. {
  611.         unsigned char i,j,k;
  612.         for(k=0;k<9;k++)
  613.         {
  614.                 DataPort=0x00; // 清空行鎖存器里數(shù)據(jù),防止出現(xiàn)亂碼
  615.                line_LATCH=1;  //
  616.                line_LATCH=0;
  617.                 LATCH1=1;LATCH1=0;
  618.                 LATCH2=1;LATCH2=0;               
  619.                 LATCH3=1;LATCH3=0;                 
  620.                 LATCH4=1;LATCH4=0;
  621.                 LATCH5=1;LATCH5=0;
  622.                 LATCH6=1;LATCH6=0;
  623.                 LATCH7=1;LATCH7=0;
  624.                 LATCH8=1;LATCH8=0;
  625.                 for(j=0;j<8;j++)
  626.                 {
  627.                         DataPort=0xff; // 清空行鎖存器里數(shù)據(jù),防止出現(xiàn)亂碼
  628.                        line_LATCH=1;  //
  629.                     line_LATCH=0;
  630.                         for(i=0;i<8;i++)
  631.                         {
  632.                                 DataPort=line[i]; //先給行(燈板的公共端)輸入數(shù)據(jù)
  633.                                line_LATCH=1;     //打開鎖存,把數(shù)據(jù)line[i]放進(jìn)去
  634.                                    line_LATCH=0;          //關(guān)閉鎖存,阻止外部數(shù)據(jù)進(jìn)來
  635.                                 DataPort=Data[i];         //把數(shù)值Data[0~7]里的值依次傳給第一燈板的573鎖存器中
  636.                                 LATCH1=1;LATCH1=0;
  637.                                 Delay(100); //掃描間隙延時(shí),時(shí)間太長會(huì)閃爍,太短會(huì)造成重影
  638.                          }
  639.                 }      
  640.         }        
  641. }
  642. void zhuzi()        //柱子移動(dòng)效果
  643. {
  644.         display1(Data0);
  645.         

  646. …………余下代碼請下載附件…………
  647.          
復(fù)制代碼

評分

參與人數(shù) 17黑幣 +181 收起 理由
selfhelp + 12 贊一個(gè)!
caoxinyan520 + 6 贊一個(gè)!
wangshoukai + 5
菜用雞 + 5 贊一個(gè)!
wcyxx00 + 6 贊一個(gè)!
花蟲戀蝶 + 5 這個(gè)資料剛剛好滿足我的需求。
wdfabc + 5 共享資料的黑幣獎(jiǎng)勵(lì)!
TSD123 + 5 贊一個(gè)!
18819467771 + 5 很給力!
天慢慢亮 + 5 絕世好帖!
MCU_user + 1 贊一個(gè)!
西瓜吹風(fēng) + 5 共享資料的黑幣獎(jiǎng)勵(lì)!
油炸冰溜子 + 5 很給力!
asfcjisa + 1 共享資料的黑幣獎(jiǎng)勵(lì)!
呂聰聰 + 5 贊一個(gè)!
2649506328 + 5 很給力!
admin + 100 共享資料的黑幣獎(jiǎng)勵(lì)!

查看全部評分

回復(fù)

使用道具 舉報(bào)

ID:161756 發(fā)表于 2017-3-11 18:45 | 顯示全部樓層
樓主,學(xué)習(xí)了
回復(fù)

使用道具 舉報(bào)

ID:170471 發(fā)表于 2017-3-23 23:28 | 顯示全部樓層
怎么下載
回復(fù)

使用道具 舉報(bào)

ID:215796 發(fā)表于 2017-7-27 16:43 | 顯示全部樓層
感謝樓主 希望可以自己做出來
回復(fù)

使用道具 舉報(bào)

ID:233873 發(fā)表于 2017-9-18 18:59 | 顯示全部樓層
謝謝樓主分享,正好想做一下
回復(fù)

使用道具 舉報(bào)

ID:243838 發(fā)表于 2017-10-29 09:43 | 顯示全部樓層
厲害
回復(fù)

使用道具 舉報(bào)

ID:243899 發(fā)表于 2017-10-29 14:19 | 顯示全部樓層
終于找到一個(gè)詳細(xì)的制作過程了,謝謝樓主
回復(fù)

使用道具 舉報(bào)

ID:246357 發(fā)表于 2017-11-5 22:03 | 顯示全部樓層
我下載看看
回復(fù)

使用道具 舉報(bào)

ID:240634 發(fā)表于 2017-11-8 16:00 | 顯示全部樓層
早就想做個(gè)光立方了,這次有了詳細(xì)教程,也動(dòng)手做啦。
回復(fù)

使用道具 舉報(bào)

ID:248171 發(fā)表于 2017-11-11 10:28 | 顯示全部樓層
樓主這個(gè)用的是怎樣的電源?
回復(fù)

使用道具 舉報(bào)

ID:251670 發(fā)表于 2017-11-20 21:42 | 顯示全部樓層
謝謝大佬
回復(fù)

使用道具 舉報(bào)

ID:252615 發(fā)表于 2017-11-23 12:14 | 顯示全部樓層
很詳細(xì)
回復(fù)

使用道具 舉報(bào)

ID:253360 發(fā)表于 2017-11-25 11:28 | 顯示全部樓層
厲害了
回復(fù)

使用道具 舉報(bào)

ID:256662 發(fā)表于 2017-12-3 21:13 | 顯示全部樓層
厲害啦
回復(fù)

使用道具 舉報(bào)

ID:262326 發(fā)表于 2017-12-16 13:10 | 顯示全部樓層
厲害,厲害
回復(fù)

使用道具 舉報(bào)

ID:265800 發(fā)表于 2017-12-23 20:43 | 顯示全部樓層
不知道用52能存多少程序
回復(fù)

使用道具 舉報(bào)

ID:239204 發(fā)表于 2017-12-29 13:41 | 顯示全部樓層
做一個(gè)
回復(fù)

使用道具 舉報(bào)

ID:243662 發(fā)表于 2017-12-31 17:36 | 顯示全部樓層
學(xué)習(xí)
回復(fù)

使用道具 舉報(bào)

ID:269710 發(fā)表于 2018-1-1 13:17 | 顯示全部樓層
不錯(cuò)的資料,感謝樓主分享,不過個(gè)人制作,焊接太費(fèi)事了,如果有現(xiàn)成的成品賣,特別是小型化的值得入手玩一玩。
回復(fù)

使用道具 舉報(bào)

ID:269861 發(fā)表于 2018-1-1 21:34 | 顯示全部樓層
樓主,那個(gè)9腳排阻是多少歐的
回復(fù)

使用道具 舉報(bào)

ID:269861 發(fā)表于 2018-1-1 23:13 | 顯示全部樓層
樓主,那個(gè)9腳排阻是多少歐的
回復(fù)

使用道具 舉報(bào)

ID:271679 發(fā)表于 2018-1-7 22:48 | 顯示全部樓層
請教一下,清單當(dāng)中的9腳排阻的參數(shù)是多少?
回復(fù)

使用道具 舉報(bào)

ID:242637 發(fā)表于 2018-1-13 16:12 | 顯示全部樓層
下載看看哦,學(xué)習(xí)了
回復(fù)

使用道具 舉報(bào)

ID:275600 發(fā)表于 2018-1-13 16:14 | 顯示全部樓層
學(xué)習(xí)了666666666666666666666666666666
回復(fù)

使用道具 舉報(bào)

ID:263517 發(fā)表于 2018-1-25 17:48 | 顯示全部樓層
666  樓主厲害
回復(fù)

使用道具 舉報(bào)

ID:243748 發(fā)表于 2018-1-26 12:34 來自觸屏版 | 顯示全部樓層
?學(xué)習(xí)了,謝謝分享
回復(fù)

使用道具 舉報(bào)

ID:197334 發(fā)表于 2018-1-30 17:08 來自觸屏版 | 顯示全部樓層
感謝樓主
回復(fù)

使用道具 舉報(bào)

ID:280952 發(fā)表于 2018-1-30 17:30 | 顯示全部樓層
謝謝樓主分享,我想問下這里循環(huán)變量為什么用的是無符號char型而不是int型
回復(fù)

使用道具 舉報(bào)

ID:280952 發(fā)表于 2018-1-30 18:06 | 顯示全部樓層
很詳細(xì)的資料,感謝
回復(fù)

使用道具 舉報(bào)

ID:282142 發(fā)表于 2018-2-4 16:49 | 顯示全部樓層
謝謝大佬
回復(fù)

使用道具 舉報(bào)

ID:283996 發(fā)表于 2018-2-14 12:31 | 顯示全部樓層
666 大佬

回復(fù)

使用道具 舉報(bào)

ID:284651 發(fā)表于 2018-2-23 18:35 | 顯示全部樓層
感謝分享
回復(fù)

使用道具 舉報(bào)

ID:18004 發(fā)表于 2018-2-25 11:31 | 顯示全部樓層
哇噻,好棒啊。謝謝分享!
回復(fù)

使用道具 舉報(bào)

ID:123874 發(fā)表于 2018-3-9 17:36 來自觸屏版 | 顯示全部樓層
好東西,感謝分享
回復(fù)

使用道具 舉報(bào)

ID:259979 發(fā)表于 2018-3-10 05:49 來自觸屏版 | 顯示全部樓層
感謝分享。。
回復(fù)

使用道具 舉報(bào)

ID:293274 發(fā)表于 2018-3-17 19:04 來自觸屏版 | 顯示全部樓層
感謝分享
回復(fù)

使用道具 舉報(bào)

ID:278679 發(fā)表于 2018-3-18 10:30 | 顯示全部樓層
謝謝了




回復(fù)

使用道具 舉報(bào)

ID:287807 發(fā)表于 2018-3-19 19:46 | 顯示全部樓層

感謝分享
回復(fù)

使用道具 舉報(bào)

ID:284454 發(fā)表于 2018-3-19 22:10 | 顯示全部樓層
有心共享資料了.
支持共享精神
回復(fù)

使用道具 舉報(bào)

ID:295187 發(fā)表于 2018-3-21 19:55 | 顯示全部樓層
帥氣,真的很棒
回復(fù)

使用道具 舉報(bào)

您需要登錄后才可以回帖 登錄 | 立即注冊

本版積分規(guī)則

小黑屋|51黑電子論壇 |51黑電子論壇6群 QQ 管理員QQ:125739409;技術(shù)交流QQ群281945664

Powered by 單片機(jī)教程網(wǎng)

快速回復(fù) 返回頂部 返回列表