daviderovell0 / bzzzbz

Digital video synthesizer for live music performance! powered by Raspberry pi + OpenGL
https://twitter.com/bzzzbz_video
GNU General Public License v3.0
48 stars 4 forks source link

Control surface classes #29

Closed daviderovell0 closed 4 years ago

daviderovell0 commented 4 years ago

New class to drive the ADC chip MCP3008 to get analog data through SPI. It relies on a GPIO utility class to communicate with the raspberry pi pins via sys, taken from this example from Bernd Porr's repo: https://github.com/berndporr/rpi_AD7705_daq.

It currently loops over 3 channels (CH0, CH1 and CH2) on the MCP pins to match the current hardware setup.

Succesfully tested on the PI

daviderovell0 commented 4 years ago

More comments & code clean-up might be useful before merging