Skip to content

Latest commit

 

History

History
 
 

GUI

GUI Installation

1.Install required packages

sudo apt-get install libxml2 libglib2.0-dev libatlas-base-dev

2.Make sure to have the latest version of PIP installed

python -m pip install --upgrade pip

3.Install the Python requirements

pip install -r requirements.txt

4.A Either run the whole script

python real_time.py

4.B Or run the simpler script

python real_time_without_thread.py

Optional: Build C code from scratch

1.If you would like to change C code (data array, etc) then need to compile the static library .so For SPI.

git clone https://github.com/vsergeev/c-periphery
mkdir build && cd build
cmake ..
make

2.Compiling the .so files

gcc -shared -home/pi/Desktop/new_spi/c-periphery-master/src real_time_massive.c /home/pi/Desktop/new_spi/c-periphery-master/build/libperiphery.a -o super_real_time_massive.so