#include #include #include #include "serutil.h" void main ( void ) { char key; clrscr(); while ( ( key = getch() ) != 27 ) { if ( ser_WriteByte( 1, 0xFF, 1, 0, 0 ) != 0 ) printf ( "\n Error !!! " ); } }