代码搜索:双串口
找到约 10,000 项符合「双串口」的源代码
代码结果 10,000
www.eeworm.com/read/184176/9118838
vi 配置串口.vi
www.eeworm.com/read/181854/9233968
txt 串口通迅.txt
在篇文章展示了使用C#与RS232通信。
P/Invoke是.NET的技术,以使用托管的代码(c#)调用非托管的DLL(C++)
包括执行Win32 API.在这篇文章中我们将使用C#封装串中RS232的API函数,目的是使用C#开发串口更加方便。
设计原理
这里有四个设计原则是您应该在设计类库考虑的。
1.使用P/Invoke封装API时,常数、结构使用静态域。
2.写一个流控制。
...
www.eeworm.com/read/377895/9258965
c 串口通讯.c
#include
//8字LED的连接方法
//P0.7 P.06 P0.5 P0.4 P0.3 P0.2 P0.1 P0.0
// H G F E D C B A
unsinged char recdata; //RS232收到的值
unsigned char code ledcode[]={0xc0,0xf9,0xa4,0xb0
www.eeworm.com/read/178710/9387481
clw 串口通信.clw
; CLW file contains information for the MFC ClassWizard
[General Info]
Version=1
LastClass=CMyDlg
LastTemplate=CDialog
NewFileInclude1=#include "stdafx.h"
NewFileInclude2=#include "串口通信.h"
www.eeworm.com/read/178710/9387485
plg 串口通信.plg
Build Log
--------------------Configuration: 串口通信 - Win32 Debug--------------------
Command Lines
Creating temporary file "C:\DOCUME~1\ADMINI~1
www.eeworm.com/read/178710/9387489
cpp 串口通信.cpp
// 串口通信.cpp : Defines the class behaviors for the application.
//
#include "stdafx.h"
#include "串口通信.h"
#include "串口通信Dlg.h"
#ifdef _DEBUG
#define new DEBUG_NEW
#undef THIS_FILE
static cha
www.eeworm.com/read/178710/9387491
rc 串口通信.rc
//Microsoft Developer Studio generated resource script.
//
#include "resource.h"
#define APSTUDIO_READONLY_SYMBOLS
/////////////////////////////////////////////////////////////////////////////
www.eeworm.com/read/178710/9387497
opt 串口通信.opt
www.eeworm.com/read/178710/9387498
ncb 串口通信.ncb
www.eeworm.com/read/178710/9387500
h 串口通信.h
// 串口通信.h : main header file for the 串口通信 application
//
#if !defined(AFX__H__9177D0A6_71E1_4F82_AB92_89A3ADAB4AF9__INCLUDED_)
#define AFX__H__9177D0A6_71E1_4F82_AB92_89A3ADAB4AF9__INCLUDED_
#