Hot Search : Source embeded web remote control p2p game More...
Location : Home Search - light off
Search - light off - List
使用VB编程通过串口控制单片机的I/O对应的LED亮和灭-Control of VB programming using microcontroller through the serial port I/O and the corresponding LED light off
Date : 2025-12-29 Size : 12kb User : 王伟

下位机通过串口接收数据并降该数据作为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.
Date : 2025-12-29 Size : 2kb User : William
CodeBus is one of the largest source code repositories on the Internet!
Contact us :
1999-2046 CodeBus All Rights Reserved.