# rs232 **Repository Path**: laizibi/rs232 ## Basic Information - **Project Name**: rs232 - **Description**: No description available - **Primary Language**: Unknown - **License**: MIT - **Default Branch**: master - **Homepage**: None - **GVP Project**: No ## Statistics - **Stars**: 0 - **Forks**: 0 - **Created**: 2024-07-01 - **Last Updated**: 2024-07-01 ## Categories & Tags **Categories**: Uncategorized **Tags**: None ## README RS232 ===== A C and C++ library for using rs232 protocole over Linux and Windows. ## Instalation 1) Download the source code: ``` git clone https://github.com/kranfix/rs232.git ``` 2) Compile for your computer: In C: ``` gcc -c rs232.cc -o librs232c.a ``` In C++: ``` g++ -c rs232.cc -o librs232cc.a ``` ## Files Header: rs232.h main source file: rs232.c For linux: * In C: rs232_linux.c * In C++: rs232_linux.cc For windows: * In C: rs232_win.c * In C++: rs2323_win.cc ## Available Functions In C: In C++: # Samples with an Arduino For excecute the samples, first you must compile this code in your Arduino: - [Arduino tester](example/arduino_tester/arduino_tester.ino)