Advantech ADAM-5511 Manual page 194

Table of Contents

Advertisement

RS232CallbackRoutine
Syntax:
void RS232CallBackRountine(unsigned char rddata)
Description:
Call subroutine applied for RS-232 port
Parameter
rddata
Return value:
None.
Example:
void main()
{
unsigned char status,IsCustomDefine=0,rddata;
status = com_232_install(IsCustomDefine);
if( status == 0 )
{
printf("\nRS232 port intall ok !");
com_232_set_speed((unsigned long)9600);
com_232_set_format(8,0,1);
printf("\nBR = 9600, 8 bit, even ,stop bit = 1");
}
Description
default character

Advertisement

Table of Contents
loading

Table of Contents