I am doing a project that requires reading some data from the ADC pins. The code is written in Python, using Adafruit_BBIO.
Unfortunately, ADC.setup() causes and error:
$this->bbcode_second_pass_code('', 'RuntimeError: Unable to setup ADC system. Possible causes are:
- A cape with a conflicting pin mapping is loaded
- A device tree object is loaded that uses the same name for a fragment: helper')
The first time this happened, there were no devices in /sys/bus/iio/devices. I managed to get iio:device0 to appear using this fix:
https://gist.github.com/matthewmcneely/ ... -on-bbb-md
However, ADC.setup() still errors. Can anyone give me any pointers on how to fix this?