Skip to content
Simple Cross-Platform Serial Port (RS232) Interface Library
C Makefile
Find file
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Failed to load latest commit information.



Written by Azman M. Yusof (

This is a cross-platform terminal emulator - targetted for PC serial
port interface with RS232 protocol. It uses basic libraries and can be
seen as a light alternative compared to other multi-purpose terminal
programs. It was initially meant to test the my1comport and my1comlib
library modules.

The my1comlib module started out as a Win32-only implementation and was
extended to enable usage on Linux systems. The module strive to provide
a common interface for both systems - thus, becoming a simple cross-platform
solution for small embedded projects that frequently require access to
the RS232 serial port.

The my1comport module provides simple serial port interface - the
configurations are done internally without any need for user settings.
But, it also limits the baudrate to 9600kbps a.k.a. 9600-8N1 (default mode)
and 115200kbps (fast mode) only. Other settings are still accessible using
functions from my1comlib module. In fact, advanced users may want to skip
my1comport module and directly utilize the my1comlib module.

The my1cons module provides functions for console keys and parameter
extraction for console-based applications. A test program for my1cons
module, my1console, is also available.

This code is written for Linux platform but can be compiled with MinGW
cross-compiler for Win32 target machine.

See LICENSE for licensing details. 

See CHANGELOG for features and updates.
Something went wrong with that request. Please try again.