Falcon
Loading...
Searching...
No Matches
main.cpp File Reference

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

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

Functions

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

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