Branch: master
Find file History
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Type Name Latest commit message Commit time
..
Failed to load latest commit information.
README.md
c_serial_example.c
c_serial_example_bidirectional.c

README.md

C Serial Libraries for UDOO

This file describes how to compile and run the C examples contained in this folder.

1 - Open a terminal and navigate to this folder:

cd serial_libraries_examples/c/

2 - Compile the C file:

for c_serial_example.c:

gcc -o c_serial_example c_serial_example.c

for c_serial_example_bidirectional.c:

gcc -o c_serial_example_bidirectional c_serial_example_bidirectional.c

3 - Run the C program:

for c_serial_example.c:

./c_serial_example

for c_serial_example_bidirectional.c:

./c_serial_example_bidirectional