CodeBus
www.codebus.net
Search
Sign in
Sign up
Hot Search :
Source
embeded
web
remote control
p2p
game
More...
Location :
Home
Search - h.3
Main Category
SourceCode
Documents
Books
WEB Code
Develop Tools
Other resource
Sub Category
Fax program
BREW
J2ME
Com Port
Parallel Port
Modem program
SMS
MMS
WAP develop
Symbian
Windows Mobile
Voice Compress
USB develop
TAPI
GPS develop
RFID
3G develop
android
IOS
MTK
wechat App
Search - h.3 - List
[
Com Port
]
电表645
DL : 0
// 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 > 1000 #pragma once #endif // _MSC_VER > 1000 #ifndef __AFXWIN_H__ #error include 'stdafx.h' before including this file for PCH #endif #include "resource.h" // main symbols struct comm { char status,orde[3],address[7],len; unsigned char crc_r,crc_t,flag; }; extern struct comm comm2; extern char zong[15],gu[15],ping[15]; ///////////////////////////////////////////////////////////////////////////// // CDianbiao645App: // See dianbiao645.cpp for the implementation of this class // class CDianbiao645App : public CWinApp { public: CDianbiao645App(); // Overrides // ClassWizard generated virtual function overrides //{{AFX_VIRTUAL(CDianbiao645App) public: virtual BOOL InitInstance(); //}}AFX_VIRTUAL // Implementation //{{AFX_MSG(CDianbiao645App) // NOTE - the ClassWizard will add and remove member functions here. // DO NOT EDIT what you see in these blocks of generated code ! //}}AFX_MSG DECLARE_MESSAGE_MAP() }; ///////////////////////////////////////////////////////////////////////////// //{{AFX_INSERT_LOCATION}} // Microsoft Visual C++ will insert additional declarations immediately before the previous line. #endif // !defined(AFX_DIANBIAO645_H__EF43A0BD_87CA_4963_B57A_57851872D28C__INCLUDED_)
Date
: 2009-11-25
Size
: 343.78kb
User
:
459777329@qq.com
[
Com Port
]
串口
DL : 0
#include<reg51.h> //包含单片机寄存器的头文件 unsigned char code zifuchuan[ ]="ni hao! wo shi cai hai peng huan ying xue dan pian ji "; //流水灯控制码,该数组被定义为全局变量 /***************************************************** 函数功能:向PC发送一个字节数据 ***************************************************/ void fasong(unsigned char dat) { SBUF=dat; //发送数据 while(TI==0) //检查发送完成中断标志如果未完成就等等否则复位发送标志位以便下个数据可以发送 ; TI=0;
Date
: 2011-12-07
Size
: 25.5kb
User
:
ruyunlong1990@163.com
[
Com Port
]
4.3
DL : 0
串口通信与工程实践tty编程TTY.dsp,TTY.h-Serial Communication tty programming and engineering practice TTY.dsp, TTY.h
Date
: 2025-12-16
Size
: 300kb
User
:
whw
[
Com Port
]
VictorComm1501
DL : 0
串口控件 Victor 串口 VCL 控件 1.完全由 C++ 代码写的, 支持简体中文, 繁体中文, 英文. 2.免费控件, 在主页上可提供示例程序和使用方法 3.免费升级, 如果控件版本升级, 在直接主页上下载新版本控件 4. 使用简单方便,可以选择使用控件提供的按照时间间隔和首尾控制符两种方式自动识别数据包-Serial control Victor serial VCL controls 1. Entirely C++ code written to support Simplified Chinese, Traditional Chinese, English. 2. Free controls, on the home page offers sample programs and the use of Method 3. A free upgrade, if the control upgrades, in directly to the home page to download the new version of the control 4. easy to use, you can choose to use the controls provided in accordance with the time interval and the sum of two ways to control characters packet automatic identification
Date
: 2025-12-16
Size
: 48kb
User
:
蔡孟超
[
Com Port
]
Solarnumen-Comdebug-
DL : 0
基本功能1 串口调试助手发送“X10S30”表示:点亮LED1,熄灭LED2,同时令LED3闪烁30次,执行完毕后返回“done”串口调试助手发送“X01S03”表示:熄灭LED1,点亮LED2,同时令LED3闪烁3次,执行完毕后返回“done” 基本功能2串口调试助手发送“YP1000”表示:获取P1.0口的电平状态。将读取的电平值发送给电脑。高电平发H,低电平发0串口调试助手发送“YP1700”表示:获取P1.7口的电平状态。将读取的电平值发送给电脑。高电平发H,低电平发0 增强功能:串口调试助手发送“Z10S03999”表示:点亮LED1,熄灭LED2,同时令LED3闪烁3次,每次亮灭间隔为999毫秒。执行完毕后返回“done”串口调试助手发送“Z01S30050”表示:熄灭LED1,点亮LED2,同时令LED3闪烁30次,每次亮灭间隔为50毫秒。执行完毕后返回“done”-Solarnumen Comdebug
Date
: 2025-12-16
Size
: 1kb
User
:
张典波
[
Com Port
]
CnComm
DL : 0
cncomm.h封装类的具体细节,使用情况介绍等。-cncomm.h class package details, usage introduction.
Date
: 2025-12-16
Size
: 332kb
User
:
颜小庆
[
Com Port
]
EmotivToolBox
DL : 0
__ EmotivEEG headset toolbox __ -------------------- Used to query the EDK library in order to recieve EEG data from the Emotiv EEG headset(__ Files in Toolbox __ (note dlls may need to be supplied by you): -------------------- 22/03/2011 01:37 18,225 EmoStateDLL.h 22/03/2011 01:38 1,921,024 edk.dll 18/07/2011 16:08 39,031 edk.h 22/03/2011 01:38 2,011,136 edk_utils.dll 22/03/2011 01:37 2,945 edkErrorCode.h 15/03/2012 12:05 14,513 EmotivEEG.m 15/03/2012 12:04 303 ExampleUsage.m 15/03/2012 12:04 1,060 README.txt -------------------- __ Instructions __ -------------------- 1) Add this directory to the toolbox directory of matlab 2) Add the directory to the matlab path 3) Conenct the bluetooth dongle 4) Turn on the headset 5) Put on head 6) Type "help EmotivEEG" into matlab command line)
Date
: 2025-12-16
Size
: 5kb
User
:
韩佳佳
[
Com Port
]
VB与OMRON PLC通讯源码
DL : 0
这是VB和欧姆龙通讯源码经典的例子, Lettura_Dm = False ricez_ok = -1: timeout = False trasm = "@00RD" trasm = trasm + Right$(Str$(10000 + dm!), 4) trasm = trasm + "0001" trasm = trasm + bcc(trasm) + Chr$(42) + Chr$(13) Omron!Comm1.Output = trasm conta = 0 Do conta = conta + 1 If conta > 1200 Then timeout = True: Exit Do Loop Until Omron!Comm1.InBufferCount >= 15 a = Omron!Comm1.Input If Not timeout Then fcs = Mid$(a, (Len(a) - 3), 2) trasm = Left$(a, (Len(a) - 4)) If fcs <> bcc(trasm) Then timeout = -1 Exit Function End If valore = Mid$(a, 8, 4) V = Val("&H" + valore) Lettura_Dm = True End If ricez_ok = 0 Omron!Comm1.InBufferCount = 0 End Function(This is a VB to omron Lettura_Dm = False ricez_ok = -1: timeout = False trasm = "@00RD" trasm = trasm + Right$(Str$(10000 + dm!), 4) trasm = trasm + "0001" trasm = trasm + bcc(trasm) + Chr$(42) + Chr$(13) Omron!Comm1.Output = trasm conta = 0 Do conta = conta + 1 If conta > 1200 Then timeout = True: Exit Do Loop Until Omron!Comm1.InBufferCount >= 15 a = Omron!Comm1.Input If Not timeout Then fcs = Mid$(a, (Len(a) - 3), 2) trasm = Left$(a, (Len(a) - 4)) If fcs <> bcc(trasm) Then timeout = -1 Exit Function End If valore = Mid$(a, 8, 4) V = Val("&H" + valore) Lettura_Dm = True End If ricez_ok = 0 Omron!Comm1.InBufferCount = 0 End Function)
Date
: 2025-12-16
Size
: 3kb
User
:
铭铭之中
CodeBus
is one of the largest source code repositories on the Internet!
Contact us :
1999-2046
CodeBus
All Rights Reserved.