We are about to switch to a new forum software. Until then we have removed the registration on this forum.
I'd like to write a sketch on a Raspberry Pi in Processing that will take an analog input, say from a knob, that can be read.I've referenced Adafruit's wiring and coding example in Python, but would like to use Processing (without using serial communications from an Arduino. Can anyone help?
Thanks in advance.
Answers
You need to check out this library. As it is stated here.
Thanks! Should have thought of that!
If you are using a Pi 3 then there is an error in the example for reading the SPI. For full corrections see:- https://forum.processing.org/two/discussion/14033/raspberrypi2-spi-mcp3008#latest