Hi Everybody,
Im a new programmer.........
i had used the following code to output data to com port.....
#include<iostream.h>
#include<conio.h>
#include<dos.h>
#include<bios.h>
#define SETTINGS (_COM110|_COM_CHR7|_COM_STOP1|_COM_NOPARITY)
void main()
{
clrscr();
_bios_serialcom(_COM_INIT,0,SETTINGS);
outportb(0x03f8,0);
getch();
}
when i run the programme,when i connect pin 3(tx pinn) to a LED it blinks one tym..........
so how can i tx a file..............
how can transmit relevent characters in binary....(how to convert it to binary........)
how i can use inportb() methord?
Please help me.............................
if u know more details please tell me........
if u got more teaching meterials please mail to <email address snipped> okk