Categories:
.NET (357)
C (330)
C++ (183)
CSS (84)
DBA (2)
General (7)
HTML (4)
Java (574)
JavaScript (106)
JSP (66)
Oracle (114)
Perl (46)
Perl (1)
PHP (1)
PL/SQL (1)
RSS (51)
Software QA (13)
SQL Server (1)
Windows (1)
XHTML (173)
Other Resources:
How can I do serial comm port I O?
How can I do serial (``comm'') port I/O?
✍: Guest
It's system-dependent. Under Unix, you typically open, read, and write a device file in /dev, and use the facilities of the terminal driver to adjust its characteristics.Under MS-DOS, you can use the predefined stream stdaux, or a special file like COM1, or some primitive BIOS interrupts, or (if you require decent performance) any number of interrupt-driven serial I/O packages. Several netters recommend the book C Programmer's Guide to Serial Communications, by Joe Campbell.
2015-04-22, 1527👍, 0💬
Popular Posts:
What is application domain? Explain. An application domain is the CLR equivalent of an operation sys...
Can a variable be both const and volatile? Yes. The const modifier means that this code cannot chang...
How was XML handled during COM times? During COM it was done by using MSXML 4.0. So old languages li...
If we have the following in a Java code: String s="abc"; String s2="abc"; Then what will be output o...
What metrics will you look at in order to see the project is moving successfully? Most metric sets d...