and read it every time the user hit Enter and print it in console screen and write it also to file ?
please I need help.
I need a c or c++ program to read data from serial port connected to random number generator under win xp?
#include %26lt;stdio.h%26gt;
#include %26lt;dos.h%26gt;
#include %26lt;conio.h%26gt;
/*************************************...
/*This program set the parallel port outputs*/
/*************************************...
void main (void)
{
clrscr(); /* clear screen */
outportb(0x378,0xff); /* output the data to parallel port */
getch(); /* wait for keypress before exiting */
}
just check here you can get all info http://www.epanorama.net/circuits/parall...
Reply:Let's say it in another way:
1. You have some input from serial port.
2. When hitting any key, you get it; otherwise you ignore it.
(3. Display/save data is a trivial task; let's leave it at at time).
If i've not been mistaken, this will help you:
Reply:$100, and I can write that for you.
Subscribe to:
Post Comments (Atom)
No comments:
Post a Comment