rPi code
Ok this is gonna be a pain in the ass lol
-
Copy all of the files in the repo to the senior design folder
-
Now run the script file "runFirst.sh" from terminal in the folder. Use this:
sh ./runFirst.sh
Its just a bunch of Unix commands so if it fails, just go in and run them manually. This script compliles/installs the library
- Compilation:
gcc -Wall -pthread -o mainPy mainPy.cpp -lpigpio -lrt
- And to run:
sudo ./mainPy
:] hopefully no errors