blob: de152cbfc9d6f3f115df884461c9593753bdaf62 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
|
Compiling the demo's can be done as follows:
gcc demo_rx.c rs232.c -Wall -Wextra -o2 -o test_rx
gcc demo_tx.c rs232.c -Wall -Wextra -o2 -o test_tx
or use the makefile by entering "make"
Run the demo by typing:
./test_rx
or
./test_tx
To include this library into your project:
Put the two files rs232.h and rs232.c in your project/sourcedirectory.
Write #include "rs232.h" in your sourcefiles that needs access to the library.
Add the file rs232.c to your project settings (in order to get it compiled and linked with your program).
|