VARIOS/SERIE.CPP
2021-09-12 19:56:57 +02:00

20 lines
287 B
C++

#include <stdio.h>
#include <conio.h>
#include <bios.h>
#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 !!! " );
}
}