#ifndef _RS232_H_ #define _RS232_H_ /* the maximum number of ports we are willing to open */ #define MAX_PORTS 4 /*this array ho…
Rs232 源代码
RS-232标准接口(又称EIARS-232)是常用的串行通信接口标准之一,它是由美国电子工业协会(ElectronicIndustryAssociation,EIA)联合贝尔系统公司、调制解调器厂家及计算机终端生产厂家于1970年共同制定,其全名是“数据终端设备(DTE)和数据…
/* ** File: rs232.c ** ** Description: ** Provides an RS-232 interface that is very similar to the CVI provided ** inter…
#include #include "rs232.h" #ifdef __cplusplus #define __CPPARGS ... #else #define __CPPARGS #endif #define TH…
#if !defined( _RS232_H ) #define _RS232_H #define COM1 0 #define COM2 1 #define COM3 2 #define COM4 3 #define COM5 4 in…
; Sample Pattern Generator Script. 0x80,0x80,0x80, ; Spaces. 0x00,0x00,0x00,0x00,0x00,0x00,0x80,0x00,0x00,0x80, 0x00,0x…
// RS232.cpp : Defines the class behaviors for the application. // #include "stdafx.h" #include "RS232.h" #include "RS232Dlg…
// // RS232.RC2 - resources Microsoft Visual C++ does not edit directly // #ifdef APSTUDIO_INVOKED #error this file is not …