BOBOLI THE MIGHTY KNIGHT Networked Medieval Conflict
Submitted By:
Unknown
Rating:





(
Rate It)
/*
COM port library header
*/
#ifndef _com_gogo_
#define _com_gogo_
#include "mgraph.h"
extern byte data_rcvd;
/* flags for initializing rs232 port */
#define BITS_8 0x03
#define BITS_7 0x02
#define STOP_1 0x00
#define STOP_2 0x04
#define EVEN_PARITY 0x18
#define ODD_PARITY 0x08
#define NO_PARITY 0x00
#define baud_rate 9600
void init_rs232(byte which);
void send_packet(byte packet);
byte recv_packet(void);
#endif