您当前的位置:五五电子网电子知识单片机-工控设备51单片机Dmx512灯控制器程序 正文
Dmx512灯控制器程序

Dmx512灯控制器程序

点击数:7448 次   录入时间:03-04 12:04:03   整理:http://www.55dianzi.com   51单片机
                          Dmx_Timer = 8;
                          Send_Dmx_Data();
                          break;
                     case 3 :                         //Flow2      反
                          Pixels_Group = 0;
                          Fade = 0xff;
                          Color_Set(Amount - i + Begin_Lamp,Amount-Current_Lamp + Begin_Lamp,Current_Color);
                          Dmx_Timer = 8;
                          Send_Dmx_Data();
                          break;
                     case 4 :                         //Flow3     来回
                          Pixels_Group = 0;
                          Fade = 0xff;
                          if(Direction_Flag)
                                Color_Set(Current_Lamp + Begin_Lamp,i + Begin_Lamp,Current_Color);
                          else
                                Color_Set(Amount - i + Begin_Lamp,Amount-Current_Lamp + Begin_Lamp,Current_Color);
                          Dmx_Timer = 8;
                          Send_Dmx_Data();
                          break;
                     case 5 :                         //Multicolor 顺
                          Pixels_Group = 1;
                          Fade = 0xff;
                          EA =0;
                          for(i=0;i<32;i++)
                          {
                                 j = (i+Current_Lamp1)%32;
                                 Color_Set(i,i,Color_Table2[j]);
                          }
                          EA = 1;
                          Dmx_Timer = 8;
                          Send_Dmx_Data();
                          break;
                     case 6 :                         //Multicolor 反
                          Pixels_Group = 1;
                          Fade = 0xff;
                          EA = 0;
                          for(i=0;i<32;i++)

上一页  [1] [2] [3] [4] [5] [6] [7] [8] [9] [10] [11] [12] [13] [14] [15] [16] [17] [18] [19] [20] [21] [22] [23] [24] [25] [26] [27] [28] [29] [30] [31] [32] [33] [34] [35] [36] [37] [38] [39] [40] [41] [42] [43] [44] [45] [46] [47] [48] [49] [50] [51]  下一页


本文关键字:控制器  程序  51单片机单片机-工控设备 - 51单片机

《Dmx512灯控制器程序》相关文章>>>