Advantech ADAM-5511 Manual page 173

Table of Contents

Advertisement

com_232_set_speed((unsigned long)9600);
com_232_set_format(8,0,1);
printf("\nBR = 9600, 8 bit, even ,stop bit = 1");
}
else
printf("\nRS232 port install failed!");
}
//This is a very important library. As you using RS-232 port, please
remember to add it in the end of your program.
RS232CallBackRoutine(unsigned char rddata)
{
//your interrupt program
}
Remarks
None.

Advertisement

Table of Contents
loading

Table of Contents