12 lines
198 B
C
12 lines
198 B
C
#ifndef INCLUDE_SERIAL_H
|
|
#define INCLUDE_SERIAL_H
|
|
|
|
#define PORT 0x3f8 //COM1
|
|
|
|
int init_serial();
|
|
int is_transmit_empty();
|
|
void write_serial(const char a);
|
|
void serial_puts(const char* str);
|
|
|
|
#endif
|