Serialib  2.0
Multi plateform serial library
main.cpp File Reference

File containing example of serial port communication. More...

#include "../lib/serialib.h"
#include <unistd.h>

Functions

int main ()
 main Simple example that send ASCII characters to the serial device More...
 

Detailed Description

File containing example of serial port communication.

Author
Philippe Lucidarme
Date
December 2019 This example send the ASCII table through the serial device
See also
https://lucidar.me

Function Documentation

◆ main()

int main ( )

main Simple example that send ASCII characters to the serial device

Returns
0 : success <0 : an error occured