文件名称:controling-of-lights
介绍说明--下载内容均来自于网络,请自行研究使用
下位机通过串口接收数据并降该数据作为switch语句变量对应到不同的函数产生相应的现象,例如当按下全亮按钮时,通过下位机程序控制LED灯使LED灯全亮。
当鼠标勾选单灯控制区复选按钮时,同理通过串口传输数据,相应的LED点亮,取消勾选后该灯熄灭。
当鼠标点击流水灯控制区某个单选按钮时,上位机将数据通过串口送至下位机,下位机根据数据相应调节流水灯延时函数变量,完成控制流水灯速度的功能。
-Lower computer through the serial port to receive data and drop the data as a switch statement, variables corresponding to the different functions to produce the corresponding phenomena, such as when you press the button, the whole light, machine process control through the lower LED lights LED lights at full brightness. When the mouse to check the single lamp control area on the check button, the same way to transfer data through the serial port, the corresponding LED lights up, un-check after the light turns off. When the light control area water mouse click a radio button, the host computer data sent through the serial port under the crew, the next crew adjust the flow of the data corresponding variable light time delay function to complete the control function of the speed of light water.
当鼠标勾选单灯控制区复选按钮时,同理通过串口传输数据,相应的LED点亮,取消勾选后该灯熄灭。
当鼠标点击流水灯控制区某个单选按钮时,上位机将数据通过串口送至下位机,下位机根据数据相应调节流水灯延时函数变量,完成控制流水灯速度的功能。
-Lower computer through the serial port to receive data and drop the data as a switch statement, variables corresponding to the different functions to produce the corresponding phenomena, such as when you press the button, the whole light, machine process control through the lower LED lights LED lights at full brightness. When the mouse to check the single lamp control area on the check button, the same way to transfer data through the serial port, the corresponding LED lights up, un-check after the light turns off. When the light control area water mouse click a radio button, the host computer data sent through the serial port under the crew, the next crew adjust the flow of the data corresponding variable light time delay function to complete the control function of the speed of light water.
(系统自动生成,下载前可以参看下载内容)
下载文件列表
controling of lights.c