Add use of lightsensor

This commit is contained in:
2021-10-17 13:44:59 +02:00
parent 58f49c7403
commit a2b430f5e1
5 changed files with 749 additions and 12 deletions

8
Makefile Normal file
View File

@ -0,0 +1,8 @@
all:
gcc -Wall -O2 -o TSL2561.o -c TSL2561.c
gcc -Wall -O2 -o motion.o -c motion.c
gcc -Wall -O2 -o motion -l wiringPi -l curl TSL2561.o motion.o
make clean
clean:
rm *.o > /dev/null 2>&1 &