SingingCat 0
application
compat.c
1#include "main-header.h"
2
3
4
8int write_serial_string(int port, const char *txt) {
9 mculib_serialport_write_string(MAIN_MCULIBHANDLE, port, txt);
10 //mculib_serialport_write_char(port, '\r');
11 return 0;
12}
13
14int write_serial_line(int port, const char *txt) {
15 mculib_serialport_write_string(MAIN_MCULIBHANDLE, port, txt);
16 return 0;
17}
18
19int write_serial_char(int port, char b) {
20 return mculib_serialport_write_char(MAIN_MCULIBHANDLE, port, b);
21}