/DEP_ctrl_python

rPi program to control GPIO's w/ pigpio python lib

Primary LanguageC++

senior

rPi code

Ok this is gonna be a pain in the ass lol

  1. Copy all of the files in the repo to the senior design folder

  2. 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

  1. Compilation:
 gcc -Wall -pthread -o mainPy mainPy.cpp -lpigpio -lrt
  1. And to run:
sudo ./mainPy

:] hopefully no errors