diff options
author | Haoran S. Diao <0@hairydiode.xyz> | 2019-04-13 13:03:52 -0400 |
---|---|---|
committer | Haoran S. Diao <0@hairydiode.xyz> | 2019-04-13 13:03:52 -0400 |
commit | 479abdfc5ffbaafa4b00f46cf589309dc0ec071b (patch) | |
tree | 08f6b251ad8a47a4aa7e9b4fc0615a8d36aafd7a /RS-232/howto_compile.txt | |
parent | 511faa6d6d7cf46cba1e7e29ac0f0f102d87a812 (diff) |
added RS-232 Library, also covered by the GPL
Diffstat (limited to 'RS-232/howto_compile.txt')
-rw-r--r-- | RS-232/howto_compile.txt | 28 |
1 files changed, 28 insertions, 0 deletions
diff --git a/RS-232/howto_compile.txt b/RS-232/howto_compile.txt new file mode 100644 index 0000000..de152cb --- /dev/null +++ b/RS-232/howto_compile.txt @@ -0,0 +1,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). + + |