搜索资源列表
WinSock.pbl
- 说明, 服务器端 1,SocketServer中,有个uo_Socket_Server类型的数组Connects,实现多个连接管理。 2,uo_Socket_Server实例是通过w_1.tab_1.OpenTab()打开的。 3,SocketNotify为自定义事件pbm_custom01。 4,ue_SocketNotify为自定义事件。 客户端 1,很简单,就不说了。-note, a server, SocketServer. a uo_Socket_Serv
电表645
- // dianbiao645.h : main header file for the DIANBIAO645 application // #if !defined(AFX_DIANBIAO645_H__EF43A0BD_87CA_4963_B57A_57851872D28C__INCLUDED_) #define AFX_DIANBIAO645_H__EF43A0BD_87CA_4963_B57A_57851872D28C__INCLUDED_ #if _MSC_VER &g
serial_port
- 万能51串口通信例程 直接设置参数就可以使用,不需要再编写通信函数-serial_port.c#include <REG52.h> #include <intrins.h> #define uchar unsigned char #define uint unsigned int
rfid_vc
- /Initial COM m_ctrlComm.SetCommPort(1) //选择com1 m_ctrlComm.SetSettings("9600,n,8,1") //通信参数设置 波特率9600,无校验,8个数据位,1个停止位 m_ctrlComm.SetInBufferSize(1024) //指定接收缓冲区大小 m_ctrlComm.SetRThreshold(1) //参数1表示每当串口接收缓冲区中有多于或等于1个字符时将引发一个接收数据的OnComm事件
cc33
- 串口最好的定义,可以看到每个角的作用,不会接错线了,也不会定义错-The best definition of the serial port, you can see the role of each corner, do not pick the wrong line, it will not define the error
7MSP430F149-use-USART1-to-define-P4
- 使用MSP430F149芯片,透过串口与电脑通信,波特率9600,8数据,无校验。使用32.768k晶振,使用P3.6和P3.7口作为发送和接收口,使用异步通信USART1,采用查询形式。实现通信,当单片机接收到以S结尾以W开始的字符串时,单片机会把中间的数据赋值给P4口。-MSP430F149 chip through the serial port to communicate with the computer, baud rate 9600 data, no parity. 32.768
cnComm
- 使用方法:自己重新写一个串口操作源文件cmd.c或者cmd.cpp.在cmd.c或者cmd.cpp中定义头文件#include "cnComm.h".定义串口类-To Usage: own re-write a serial operation source file cmd.c or cmd.cpp cmd.c, or cmd.cpp in defining the header file# include "cnComm.h define the serial port class
Define-a-timer
- 定义一个定时器,每隔一段时间就访问一次串口.-Define a timer, once every so often to access the serial port.
