Contains the Code for the logic behind the Sisyphos 2.0 Project (Diploma Thesis).
- Activate I2C Protokoll (settings)
- Execute
sudo apt install wiringpi
- Alternative: Clone
[the source code](https://github.com/WiringPi/WiringPi)
and follow these instructions (execute the "build" script)
- Install librarys: navigate to lib folder and execute
sudo make install
- Navigate to
SisyphosC
- Execute
./sisyphos
- Navigate to
Sisyphos
- Execute
make && make clean
The Arduino is used to control the led-strip. It could be controlled by the raspberry, but there was no time left to do this.
The resulting executable is 32 bit so keep in mind to use a 32 bit image of Raspbian
The Y-Axis is the one, controlled by the lower Servos (Channel 0 & 1). The X-Axis ist controlled by the higher Servos (Channel 2 & 3).
The Makefile doesn't recompile the librarys, if a ".o" file exists. New written librarys or files need to be included in the makefile (located under ./Sisyphos/Makefile
).