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, 1443👍, 0💬
Popular Posts:
What will be printed as the result of the operation below: main() { char s1[]="Cisco"; char s2[]="sy...
What is the sequence of UML diagrams in project? First let me say some fact about this question, you...
What is difference between Association, Aggregation and Inheritance relationships? In object oriente...
What are database triggers? How are the triggers fired? Read this collection of questions and answer...
What is the quickest sorting method to use? The answer depends on what you mean by quickest. For mos...