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