代码搜索:COM2
找到约 668 项符合「COM2」的源代码
代码结果 668
www.eeworm.com/read/123769/14613398
txt readme.txt
1: 这是DOS下采用中断方式的串口通讯范例程序。
2: 使用TURBO C 实际测试通过。
3: 测试时用对接线连接COM1,<mark>COM2</mark>。
4: 程序设定COM1为中断模式,它接收到数据后会产生中断,在中断处理程序中将接收到的数据发送出去。
5: <mark>COM2</mark>采用非中断方式,在循环语句中,发送递增的数,接收数据,并将数据显示同时程序还显示中断的次数。
6: 可以插拔对接线来验证程序。
7: ...
www.eeworm.com/read/432582/8589878
txt 使用说明.txt
先运行DSP的程序,然后用直连RS232C电缆连接2407EVM板和电脑的串口(注意,我们连接到了COM2,如果连接到COM1要更改串口调试软件中的相应参数。串口软件设置见图片“串口设置.JPG”,然后运行串口调试软件,运行时界面如图“运行.JPG”。
www.eeworm.com/read/302083/13842563
txt 说明.txt
asyn_com2 是异步操作COM2的例子
sync_com1 是同步操作COM1的例子
VCKBASE.COM
2004
www.eeworm.com/read/221659/14730427
txt 说明.txt
asyn_com2 是异步操作COM2的例子
sync_com1 是同步操作COM1的例子
VCKBASE.COM
2004
www.eeworm.com/read/195003/8180001
c uitransrecord.c
#include
#include
#include
#include
#include
#ifdef __WIN32__
#include
#include
www.eeworm.com/read/110052/15542636
txt 说明.txt
asyn_com2 是异步操作COM2的例子
sync_com1 是同步操作COM1的例子
VCKBASE.COM
2004
www.eeworm.com/read/101025/15856492
c uitransrecord.c
#include
#include
#include
#include
#include
#ifdef __WIN32__
#include
#include
www.eeworm.com/read/192685/8366674
txt 如何获得系统已安装的modem的端口号.txt
一 个 办 法 是 用 MSComm控 件 打 开 端 口 , 如 果 打 开 Com1错 误 , Modem就 在 Com2上 。
另 一 个 办 法 是 读 取 注 册 表 的 HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Service\Class\Modem, 这 下 面 的 子 键 列 举 了 系 统 的 Modem情 况 , 其 中
www.eeworm.com/read/278099/10572188
c changprn.c
/* +++Date last modified: 05-Jul-1997 */
/*
** change_prn()
**
** A function to change the standard printer device for the duration
** of a program. Valid new device codes are:
**
**
www.eeworm.com/read/420907/10767878
txt 说明.txt
打开串口调试助手,设置通信参数为:
端口号:根据使用的串口选择COM1或COM2。
波特率:19200
效验位:无
数据位:8
停止位:1
程序运行时,流水灯每变化一次,串口调试助手将接收到"PPPE".具体请看源程序