Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
7aa1970
commit 9c48cc5
Showing
5 changed files
with
48 additions
and
4 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -39,3 +39,6 @@ USB library: | |
• hidapi | ||
• cython-hidapi | ||
• cython | ||
|
||
|
||
Main program : sudo python swpi.py |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,33 @@ | ||
########################################################################### | ||
# Sint Wind PI | ||
# Copyright 2012 by Tonino Tarsi <tony.tarsi@gmail.com> | ||
# | ||
# Please refer to the LICENSE file for conditions | ||
# Visit http://www.vololiberomontecucco.it | ||
# | ||
########################################################################## | ||
|
||
all : readTX23 libTX23.so | ||
|
||
clean : | ||
rm *.o readTX23 libTX23.so | ||
|
||
readTX23 : bcm2835.o RPi_TX23.o readTX23.o | ||
gcc -o readTX23 bcm2835.o RPi_TX23.o readTX23.o -lrt | ||
|
||
libTX23.so : libTX23.o bcm2835.o RPi_TX23.o | ||
gcc --shared -o libTX23.so libTX23.so bcm2835.o RPi_TX23.o libTX23.o -lrt | ||
|
||
# The next lines generate the various object files | ||
|
||
libTX23.o : libTX23.c RPi_TX23.c RPi_TX23.h bcm2835.h bcm2835.c | ||
gcc -c libTX23.c | ||
|
||
bcm2835.o : bcm2835.h bcm2835.c | ||
gcc -c bcm2835.c | ||
|
||
RPi_TX23.o : RPi_TX23.c RPi_TX23.h bcm2835.h bcm2835.c | ||
gcc -c RPi_TX23.c | ||
|
||
readTX23.o : readTX23.c RPi_TX23.h bcm2835.h bcm2835.c | ||
gcc -c readTX23.c |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1 +1 @@ | ||
01.09.98 | ||
01.09.99 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters