Welcome!
[Sign In]
!
[Sign Up]
!
Front-page it
|
Collect it
| [
中国-简体中文
]
CodeBus
codebus.net
Hot search:
Source
embeded
web
remote control
p2p
game
More...
FAQ
Fav
Home
SourceCode
Web Code
Develop Tools
Document
E-Books
Other Resource
Get Coins
Member
Location:
Search - java CommPortIdentifier
Category
Source Code
Web/Internet
Develop Tools
Document
Other
Search in results
OS
Windows
Linux
FreeBSD
Unix
Dos
PalmOS
WinCE
SymbianOS
MacOS
Android
Platform
Visual C
Visual.Net
Borland C
CBuilder
Dephi
gcc
VBA
LISP
IDL
VHDL
Matlab
MathCAD
Flash
Xcode
Android STU
LabVIEW
Language
C/C++
Pascal
ASM
Java
PHP
Basic/ASP
Perl
Python
VBScript
JavaScript
SQL
FoxBase
SHELL
E-Language
OC/Swift
File Type
SourceCode
Program
CHM
PDF
PPT
WORD
Excel
Access
HTML
Text
Search list
[
Com Port
]
CommPortIdentifier
Description:
通过该程序可以获取机子上的所有串口和并行口,进行串口通信/。-The program can be accessed through the machine all the serial and parallel port for serial communication /.
Platform:
|
Size:
6144
|
Author:
dai
|
Hits:
[
JSP/Java
]
SerialDemo
Description:
Serial Communication-package aa import javax.comm.* import java.util.Properties import java.util.Enumeration import org.omg.Dynamic.* import java.awt.Choice public class serialcomm { void listPortChoices() { SerialParameters parameters=new SerialParameters() Choice portChoice=new Choice() CommPortIdentifier portId Enumeration en = CommPortIdentifier.getPortIdentifiers() while (en.hasMoreElements()) { portId = (CommPortIdentifier) en.nextElement() if (portId.getPortType() == CommPortIdentifier.PORT_SERIAL) { System.out.println(portId.getName()) } } portChoice.select(parameters.getPortName()) } public static void main(String args[]) { serialcomm scomm=new serialcomm() scomm.listPortChoices() } } class SerialParameters { private String portName private int baudRate private int flowControlIn pri
Platform:
|
Size:
10240
|
Author:
lts
|
Hits:
Sign UP
Help
Support
What's CodeBus
SiteMap
Contact us
CodeBus www.codebus.net
“CodeBus” is the largest source code store in internet!
1999-2018
CodeBus
All Rights Reserved.